diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/controller/YMcodeController.java b/src/main/java/jj/tech/paolu/biz/webadmin/controller/YMcodeController.java index cd02e80..2fb5569 100644 --- a/src/main/java/jj/tech/paolu/biz/webadmin/controller/YMcodeController.java +++ b/src/main/java/jj/tech/paolu/biz/webadmin/controller/YMcodeController.java @@ -28,4 +28,7 @@ public class YMcodeController { map.put("code", ""); return R.SUCCESS(map); } + + + } diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/service/MenuService.java b/src/main/java/jj/tech/paolu/biz/webadmin/service/MenuService.java index 671096f..79930e4 100644 --- a/src/main/java/jj/tech/paolu/biz/webadmin/service/MenuService.java +++ b/src/main/java/jj/tech/paolu/biz/webadmin/service/MenuService.java @@ -3,9 +3,7 @@ package jj.tech.paolu.biz.webadmin.service; import jj.tech.paolu.biz.webadmin.dao.TreeMapper; import jj.tech.paolu.biz.webadmin.vo.MenuTree; import jj.tech.paolu.repository.mybatis.dao.SysMenuMapper; -import jj.tech.paolu.repository.mybatis.dao.support.SysAdminRoleDynamicSqlSupport; import jj.tech.paolu.repository.mybatis.dao.support.SysMenuDynamicSqlSupport; -import jj.tech.paolu.repository.mybatis.dao.support.SysRoleMenuDynamicSqlSupport; import jj.tech.paolu.repository.mybatis.entity.SysMenu; import jj.tech.paolu.utils.R; import org.mybatis.dynamic.sql.render.RenderingStrategies; @@ -39,24 +37,8 @@ public class MenuService { menuList.addAll(list); return menuList; } - else{//其他用户,根据角色来查询 - var adminrole = select(SysAdminRoleDynamicSqlSupport.roleid) - .from(SysAdminRoleDynamicSqlSupport.sysAdminRole) - .where(SysAdminRoleDynamicSqlSupport.adminid, isEqualTo(userId)); - - var rolemenu = select(SysRoleMenuDynamicSqlSupport.menuid) - .from(SysRoleMenuDynamicSqlSupport.sysRoleMenu) - .where(SysRoleMenuDynamicSqlSupport.roleid, isIn(adminrole)); - - var sysmenu = select(SysMenuMapper.selectList) - .from(SysMenuDynamicSqlSupport.sysMenu) - .where(SysMenuDynamicSqlSupport.id, isIn(rolemenu)) - .orderBy(SysMenuDynamicSqlSupport.sort) - .build() - .render(RenderingStrategies.MYBATIS3); - List list = treeMapper.selectManyMenu(sysmenu); - menuList.addAll(list); - return menuList; + else{ + return null; } } diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/service/OrgService.java b/src/main/java/jj/tech/paolu/biz/webadmin/service/OrgService.java index d740ee5..99a4533 100644 --- a/src/main/java/jj/tech/paolu/biz/webadmin/service/OrgService.java +++ b/src/main/java/jj/tech/paolu/biz/webadmin/service/OrgService.java @@ -1,32 +1,23 @@ package jj.tech.paolu.biz.webadmin.service; +import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; + import java.util.List; -import jj.tech.paolu.config.enums.CertificateApplyCheckStatus; -import jj.tech.paolu.config.enums.UserType; -import jj.tech.paolu.repository.mybatis.dao.SysAdminMapper; -import jj.tech.paolu.repository.mybatis.dao.support.CertificateApplyRecordDynamicSqlSupport; -import jj.tech.paolu.repository.mybatis.dao.support.SysAdminDynamicSqlSupport; -import jj.tech.paolu.repository.mybatis.dao.support.SysAdminRoleDynamicSqlSupport; -import jj.tech.paolu.repository.mybatis.entity.CertificateApplyRecord; -import jj.tech.paolu.repository.mybatis.entity.SysAdmin; -import org.apache.commons.collections.CollectionUtils; -import org.apache.commons.lang3.StringUtils; -import org.mybatis.dynamic.sql.SqlBuilder; -import org.mybatis.dynamic.sql.render.RenderingStrategies; import org.mybatis.dynamic.sql.select.render.DefaultSelectStatementProvider; import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.where.WhereApplier; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import jj.tech.paolu.biz.webadmin.dao.TreeMapper; import jj.tech.paolu.biz.webadmin.vo.OrgTree; +import jj.tech.paolu.config.enums.UserType; +import jj.tech.paolu.repository.mybatis.dao.SysAdminMapper; import jj.tech.paolu.repository.mybatis.dao.SysOrgMapper; +import jj.tech.paolu.repository.mybatis.dao.support.SysAdminDynamicSqlSupport; +import jj.tech.paolu.repository.mybatis.entity.SysAdmin; import jj.tech.paolu.repository.mybatis.entity.SysOrg; -import static org.mybatis.dynamic.sql.SqlBuilder.*; - @Service public class OrgService { @Autowired SysOrgMapper sysOrgMapper; diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/service/SysAdminWeidService.java b/src/main/java/jj/tech/paolu/biz/webadmin/service/SysAdminWeidService.java deleted file mode 100644 index ad91dc6..0000000 --- a/src/main/java/jj/tech/paolu/biz/webadmin/service/SysAdminWeidService.java +++ /dev/null @@ -1,32 +0,0 @@ -package jj.tech.paolu.biz.webadmin.service; - -import jj.tech.paolu.repository.mybatis.dao.SysAdminMapper; -import jj.tech.paolu.repository.mybatis.dao.SysAdminWeidMapper; -import jj.tech.paolu.repository.mybatis.dao.support.SysAdminWeidDynamicSqlSupport; -import jj.tech.paolu.repository.mybatis.entity.SysAdminWeid; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -@Service -public class SysAdminWeidService { - @Autowired - SysAdminMapper sysAdminMapper; - - @Autowired - SysAdminWeidMapper sysAdminWeidMapper; - - public SysAdminWeid selectByUserId(String userId){ - SysAdminWeid bean = - sysAdminWeidMapper.selectOne(s->s - .where(SysAdminWeidDynamicSqlSupport.admin_id, isEqualTo(userId)) - .limit(1) - ).orElse(null); - return bean; - } - - public int deleteByUserId(String userId){ - return sysAdminWeidMapper.delete(s->s.where(SysAdminWeidDynamicSqlSupport.admin_id, isEqualTo(userId))); - } -} diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/vo/ReadLogVo.java b/src/main/java/jj/tech/paolu/biz/webadmin/vo/ReadLogVo.java deleted file mode 100644 index 160198d..0000000 --- a/src/main/java/jj/tech/paolu/biz/webadmin/vo/ReadLogVo.java +++ /dev/null @@ -1,15 +0,0 @@ -package jj.tech.paolu.biz.webadmin.vo; - -import jj.tech.paolu.repository.mybatis.entity.ReadLog; - -public class ReadLogVo extends ReadLog { - private long timestamp; - - public long getTimestamp() { - return timestamp; - } - - public void setTimestamp(long timestamp) { - this.timestamp = timestamp; - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/DefaultCatalog.java b/src/main/java/jj/tech/paolu/repository/jooq/DefaultCatalog.java index 7dcb60d..be1eb04 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/DefaultCatalog.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/DefaultCatalog.java @@ -26,9 +26,9 @@ public class DefaultCatalog extends CatalogImpl { public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog(); /** - * The schema public. + * The schema yx. */ - public final Public PUBLIC = Public.PUBLIC; + public final Yx YX = Yx.YX; /** * No further instances allowed @@ -40,15 +40,15 @@ public class DefaultCatalog extends CatalogImpl { @Override public final List getSchemas() { return Arrays.asList( - Public.PUBLIC + Yx.YX ); } /** - * A reference to the 3.18 minor release of the code generator. If this + * A reference to the 3.19 minor release of the code generator. If this * doesn't compile, it's because the runtime library uses an older minor - * release, namely: 3.18. You can turn off the generation of this reference + * release, namely: 3.19. You can turn off the generation of this reference * by specifying /configuration/generator/generate/jooqVersionReference */ - private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_18; + private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_19; } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/Indexes.java b/src/main/java/jj/tech/paolu/repository/jooq/Indexes.java deleted file mode 100644 index e5e043f..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/Indexes.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq; - - -import jj.tech.paolu.repository.jooq.tables.FilesApplyDocs; -import jj.tech.paolu.repository.jooq.tables.SynDirectory; -import jj.tech.paolu.repository.jooq.tables.SynDirectoryFile; -import jj.tech.paolu.repository.jooq.tables.SynFile; -import jj.tech.paolu.repository.jooq.tables.SysArea; - -import org.jooq.Index; -import org.jooq.OrderField; -import org.jooq.impl.DSL; -import org.jooq.impl.Internal; - - -/** - * A class modelling indexes of tables in public. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Indexes { - - // ------------------------------------------------------------------------- - // INDEX definitions - // ------------------------------------------------------------------------- - - public static final Index FILES_APPLY_DOCS_FILES_APPLY_ID_IDX = Internal.createIndex(DSL.name("files_apply_docs_files_apply_id_idx"), FilesApplyDocs.FILES_APPLY_DOCS, new OrderField[] { FilesApplyDocs.FILES_APPLY_DOCS.FILES_APPLY_ID }, false); - public static final Index IDX_PARENT_CODE = Internal.createIndex(DSL.name("idx_parent_code"), SysArea.SYS_AREA, new OrderField[] { SysArea.SYS_AREA.PARENT_CODE }, false); - public static final Index IDX_SYN_DIREC_PID = Internal.createIndex(DSL.name("idx_syn_direc_pid"), SynDirectory.SYN_DIRECTORY, new OrderField[] { SynDirectory.SYN_DIRECTORY.P_ID }, false); - public static final Index IDX_SYN_DIRECTOR_FILE_PID = Internal.createIndex(DSL.name("idx_syn_director_file_pid"), SynDirectoryFile.SYN_DIRECTORY_FILE, new OrderField[] { SynDirectoryFile.SYN_DIRECTORY_FILE.P_ID }, false); - public static final Index IDX_SYN_FILE_PID = Internal.createIndex(DSL.name("idx_syn_file_pid"), SynFile.SYN_FILE, new OrderField[] { SynFile.SYN_FILE.P_ID }, false); - public static final Index UK_CODE = Internal.createIndex(DSL.name("uk_code"), SysArea.SYS_AREA, new OrderField[] { SysArea.SYS_AREA.AREA_CODE }, false); -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/Keys.java b/src/main/java/jj/tech/paolu/repository/jooq/Keys.java index e2f8e23..c1bf3a8 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/Keys.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/Keys.java @@ -4,63 +4,26 @@ package jj.tech.paolu.repository.jooq; -import jj.tech.paolu.repository.jooq.tables.ArchiveSynLog; -import jj.tech.paolu.repository.jooq.tables.CertificateApply; -import jj.tech.paolu.repository.jooq.tables.CertificateDetail; -import jj.tech.paolu.repository.jooq.tables.DecryptLog; -import jj.tech.paolu.repository.jooq.tables.DownloadLog; -import jj.tech.paolu.repository.jooq.tables.FilesApply; -import jj.tech.paolu.repository.jooq.tables.FilesApplyCheckRecord; -import jj.tech.paolu.repository.jooq.tables.FilesApplyDirectoryDocs; -import jj.tech.paolu.repository.jooq.tables.FilesApplyDocs; -import jj.tech.paolu.repository.jooq.tables.FilesApplyDownloadRecord; -import jj.tech.paolu.repository.jooq.tables.Project; -import jj.tech.paolu.repository.jooq.tables.ReadLog; -import jj.tech.paolu.repository.jooq.tables.SharedRuleConfig; -import jj.tech.paolu.repository.jooq.tables.SharedSynAll; -import jj.tech.paolu.repository.jooq.tables.SynDirectory; -import jj.tech.paolu.repository.jooq.tables.SynDirectoryFile; -import jj.tech.paolu.repository.jooq.tables.SynFile; import jj.tech.paolu.repository.jooq.tables.SysAdmin; +import jj.tech.paolu.repository.jooq.tables.SysAdminMenu; import jj.tech.paolu.repository.jooq.tables.SysAdminRole; -import jj.tech.paolu.repository.jooq.tables.SysAdminWeid; -import jj.tech.paolu.repository.jooq.tables.SysArea; import jj.tech.paolu.repository.jooq.tables.SysConfig; import jj.tech.paolu.repository.jooq.tables.SysMenu; import jj.tech.paolu.repository.jooq.tables.SysOrg; +import jj.tech.paolu.repository.jooq.tables.SysResource; import jj.tech.paolu.repository.jooq.tables.SysRole; -import jj.tech.paolu.repository.jooq.tables.SysRoleMenu; -import jj.tech.paolu.repository.jooq.tables.SysRoleSign; +import jj.tech.paolu.repository.jooq.tables.SysRoleResource; import jj.tech.paolu.repository.jooq.tables.SysRoleUrl; import jj.tech.paolu.repository.jooq.tables.SysUrls; -import jj.tech.paolu.repository.jooq.tables.records.ArchiveSynLogRecord; -import jj.tech.paolu.repository.jooq.tables.records.CertificateApplyRecord; -import jj.tech.paolu.repository.jooq.tables.records.CertificateApplyRecordRecord; -import jj.tech.paolu.repository.jooq.tables.records.CertificateDetailRecord; -import jj.tech.paolu.repository.jooq.tables.records.DecryptLogRecord; -import jj.tech.paolu.repository.jooq.tables.records.DownloadLogRecord; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyCheckRecordRecord; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyDirectoryDocsRecord; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyDocsRecord; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyDownloadRecordRecord; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyRecord; -import jj.tech.paolu.repository.jooq.tables.records.ProjectRecord; -import jj.tech.paolu.repository.jooq.tables.records.ReadLogRecord; -import jj.tech.paolu.repository.jooq.tables.records.SharedRuleConfigRecord; -import jj.tech.paolu.repository.jooq.tables.records.SharedSynAllRecord; -import jj.tech.paolu.repository.jooq.tables.records.SynDirectoryFileRecord; -import jj.tech.paolu.repository.jooq.tables.records.SynDirectoryRecord; -import jj.tech.paolu.repository.jooq.tables.records.SynFileRecord; +import jj.tech.paolu.repository.jooq.tables.records.SysAdminMenuRecord; import jj.tech.paolu.repository.jooq.tables.records.SysAdminRecord; import jj.tech.paolu.repository.jooq.tables.records.SysAdminRoleRecord; -import jj.tech.paolu.repository.jooq.tables.records.SysAdminWeidRecord; -import jj.tech.paolu.repository.jooq.tables.records.SysAreaRecord; import jj.tech.paolu.repository.jooq.tables.records.SysConfigRecord; import jj.tech.paolu.repository.jooq.tables.records.SysMenuRecord; import jj.tech.paolu.repository.jooq.tables.records.SysOrgRecord; -import jj.tech.paolu.repository.jooq.tables.records.SysRoleMenuRecord; +import jj.tech.paolu.repository.jooq.tables.records.SysResourceRecord; import jj.tech.paolu.repository.jooq.tables.records.SysRoleRecord; -import jj.tech.paolu.repository.jooq.tables.records.SysRoleSignRecord; +import jj.tech.paolu.repository.jooq.tables.records.SysRoleResourceRecord; import jj.tech.paolu.repository.jooq.tables.records.SysRoleUrlRecord; import jj.tech.paolu.repository.jooq.tables.records.SysUrlsRecord; @@ -71,8 +34,7 @@ import org.jooq.impl.Internal; /** - * A class modelling foreign key relationships and constraints of tables in - * public. + * A class modelling foreign key relationships and constraints of tables in yx. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Keys { @@ -81,42 +43,19 @@ public class Keys { // UNIQUE and PRIMARY KEY definitions // ------------------------------------------------------------------------- - public static final UniqueKey ARCHIVE_SYN_LOG_PKEY = Internal.createUniqueKey(ArchiveSynLog.ARCHIVE_SYN_LOG, DSL.name("archive_syn_log_pkey"), new TableField[] { ArchiveSynLog.ARCHIVE_SYN_LOG.ID }, true); - public static final UniqueKey CERTIFICATE_APPLY_CER_ID_KEY = Internal.createUniqueKey(CertificateApply.CERTIFICATE_APPLY, DSL.name("certificate_apply_cer_id_key"), new TableField[] { CertificateApply.CERTIFICATE_APPLY.CER_ID }, true); - public static final UniqueKey CERTIFICATE_APPLY_PKEY = Internal.createUniqueKey(CertificateApply.CERTIFICATE_APPLY, DSL.name("certificate_apply_pkey"), new TableField[] { CertificateApply.CERTIFICATE_APPLY.ID }, true); - public static final UniqueKey CERTIFICATE_APPLY_RECORD_PKEY = Internal.createUniqueKey(jj.tech.paolu.repository.jooq.tables.CertificateApplyRecord.CERTIFICATE_APPLY_RECORD, DSL.name("certificate_apply_record_pkey"), new TableField[] { jj.tech.paolu.repository.jooq.tables.CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.ID }, true); - public static final UniqueKey CERTIFICATE_DETAIL_PKEY = Internal.createUniqueKey(CertificateDetail.CERTIFICATE_DETAIL, DSL.name("certificate_detail_pkey"), new TableField[] { CertificateDetail.CERTIFICATE_DETAIL.ID }, true); - public static final UniqueKey DECRYPT_PKEY = Internal.createUniqueKey(DecryptLog.DECRYPT_LOG, DSL.name("decrypt_pkey"), new TableField[] { DecryptLog.DECRYPT_LOG.ID }, true); - public static final UniqueKey DOWNLOAD_LOG_PKEY = Internal.createUniqueKey(DownloadLog.DOWNLOAD_LOG, DSL.name("download_log_pkey"), new TableField[] { DownloadLog.DOWNLOAD_LOG.ID }, true); - public static final UniqueKey FILES_APPLY_PKEY = Internal.createUniqueKey(FilesApply.FILES_APPLY, DSL.name("files_apply_pkey"), new TableField[] { FilesApply.FILES_APPLY.ID }, true); - public static final UniqueKey FILES_APPLY_CHECK_RECORD_PKEY = Internal.createUniqueKey(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD, DSL.name("files_apply_check_record_pkey"), new TableField[] { FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.ID }, true); - public static final UniqueKey FILES_APPLY_DIRECTORY_DOCS_PKEY = Internal.createUniqueKey(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS, DSL.name("files_apply_directory_docs_pkey"), new TableField[] { FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.ID }, true); - public static final UniqueKey FILES_APPLY_DOCS_PKEY = Internal.createUniqueKey(FilesApplyDocs.FILES_APPLY_DOCS, DSL.name("files_apply_docs_pkey"), new TableField[] { FilesApplyDocs.FILES_APPLY_DOCS.ID }, true); - public static final UniqueKey FILES_APPLY_DOWNLOAD_RECORD_PKEY = Internal.createUniqueKey(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD, DSL.name("files_apply_download_record_pkey"), new TableField[] { FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ID }, true); - public static final UniqueKey PROJECT_PKEY = Internal.createUniqueKey(Project.PROJECT, DSL.name("project_pkey"), new TableField[] { Project.PROJECT.ID }, true); - public static final UniqueKey READ_LOG_PKEY = Internal.createUniqueKey(ReadLog.READ_LOG, DSL.name("read_log_pkey"), new TableField[] { ReadLog.READ_LOG.ID }, true); - public static final UniqueKey SHARED_RULE_CONFIG_PKEY = Internal.createUniqueKey(SharedRuleConfig.SHARED_RULE_CONFIG, DSL.name("shared_rule_config_pkey"), new TableField[] { SharedRuleConfig.SHARED_RULE_CONFIG.ID }, true); - public static final UniqueKey SHARED_SYN_ALL_PKEY = Internal.createUniqueKey(SharedSynAll.SHARED_SYN_ALL, DSL.name("shared_syn_all_pkey"), new TableField[] { SharedSynAll.SHARED_SYN_ALL.ID }, true); - public static final UniqueKey SHARED_SYN_ALL_SYN_ID_KEY = Internal.createUniqueKey(SharedSynAll.SHARED_SYN_ALL, DSL.name("shared_syn_all_syn_id_key"), new TableField[] { SharedSynAll.SHARED_SYN_ALL.SYN_ID }, true); - public static final UniqueKey SHARED_SYN_ALL_SYN_ID_SYN_TYPE_KEY = Internal.createUniqueKey(SharedSynAll.SHARED_SYN_ALL, DSL.name("shared_syn_all_syn_id_syn_type_key"), new TableField[] { SharedSynAll.SHARED_SYN_ALL.SYN_ID, SharedSynAll.SHARED_SYN_ALL.SYN_TYPE }, true); - public static final UniqueKey SYN_DIRECTORY_PKEY = Internal.createUniqueKey(SynDirectory.SYN_DIRECTORY, DSL.name("syn_directory_pkey"), new TableField[] { SynDirectory.SYN_DIRECTORY.ID }, true); - public static final UniqueKey SYN_DIRECTORY_FILE_PKEY = Internal.createUniqueKey(SynDirectoryFile.SYN_DIRECTORY_FILE, DSL.name("syn_directory_file_pkey"), new TableField[] { SynDirectoryFile.SYN_DIRECTORY_FILE.ID }, true); - public static final UniqueKey SYN_FILE_PKEY = Internal.createUniqueKey(SynFile.SYN_FILE, DSL.name("syn_file_pkey"), new TableField[] { SynFile.SYN_FILE.ID }, true); - public static final UniqueKey SYS_ADMIN_PKEY = Internal.createUniqueKey(SysAdmin.SYS_ADMIN, DSL.name("sys_admin_pkey"), new TableField[] { SysAdmin.SYS_ADMIN.ID }, true); - public static final UniqueKey SYS_ADMIN_USERNAME_KEY = Internal.createUniqueKey(SysAdmin.SYS_ADMIN, DSL.name("sys_admin_username_key"), new TableField[] { SysAdmin.SYS_ADMIN.USERNAME }, true); - public static final UniqueKey SYS_ADMIN_ROLE_PKEY = Internal.createUniqueKey(SysAdminRole.SYS_ADMIN_ROLE, DSL.name("sys_admin_role_pkey"), new TableField[] { SysAdminRole.SYS_ADMIN_ROLE.ID }, true); - public static final UniqueKey SYS_ADMIN_WEID_ADMIN_ID_KEY = Internal.createUniqueKey(SysAdminWeid.SYS_ADMIN_WEID, DSL.name("sys_admin_weid_admin_id_key"), new TableField[] { SysAdminWeid.SYS_ADMIN_WEID.ADMIN_ID }, true); - public static final UniqueKey SYS_ADMIN_WEID_PKEY = Internal.createUniqueKey(SysAdminWeid.SYS_ADMIN_WEID, DSL.name("sys_admin_weid_pkey"), new TableField[] { SysAdminWeid.SYS_ADMIN_WEID.ID }, true); - public static final UniqueKey SYS_AREA_PKEY = Internal.createUniqueKey(SysArea.SYS_AREA, DSL.name("sys_area_pkey"), new TableField[] { SysArea.SYS_AREA.ID }, true); - public static final UniqueKey SYS_CONFIG_KEYS_KEY = Internal.createUniqueKey(SysConfig.SYS_CONFIG, DSL.name("sys_config_keys_key"), new TableField[] { SysConfig.SYS_CONFIG.KEYS }, true); - public static final UniqueKey SYS_CONFIG_PKEY = Internal.createUniqueKey(SysConfig.SYS_CONFIG, DSL.name("sys_config_pkey"), new TableField[] { SysConfig.SYS_CONFIG.ID }, true); - public static final UniqueKey SYS_MENU_PKEY = Internal.createUniqueKey(SysMenu.SYS_MENU, DSL.name("sys_menu_pkey"), new TableField[] { SysMenu.SYS_MENU.ID }, true); - public static final UniqueKey SYS_ORG_PKEY1 = Internal.createUniqueKey(SysOrg.SYS_ORG, DSL.name("sys_org_pkey1"), new TableField[] { SysOrg.SYS_ORG.ID }, true); - public static final UniqueKey SYS_ROLE_PKEY = Internal.createUniqueKey(SysRole.SYS_ROLE, DSL.name("sys_role_pkey"), new TableField[] { SysRole.SYS_ROLE.ID }, true); - public static final UniqueKey SYS_ROLE_MENU_PKEY = Internal.createUniqueKey(SysRoleMenu.SYS_ROLE_MENU, DSL.name("sys_role_menu_pkey"), new TableField[] { SysRoleMenu.SYS_ROLE_MENU.ID }, true); - public static final UniqueKey SYS_ROLE_MENU_ROLEID_RESID_KEY = Internal.createUniqueKey(SysRoleMenu.SYS_ROLE_MENU, DSL.name("sys_role_menu_roleid_resid_key"), new TableField[] { SysRoleMenu.SYS_ROLE_MENU.ROLEID, SysRoleMenu.SYS_ROLE_MENU.MENUID }, true); - public static final UniqueKey SYS_ROLE_SIGN_PKEY = Internal.createUniqueKey(SysRoleSign.SYS_ROLE_SIGN, DSL.name("sys_role_sign_pkey"), new TableField[] { SysRoleSign.SYS_ROLE_SIGN.ID }, true); - public static final UniqueKey SYS_ROLE_URL_PKEY = Internal.createUniqueKey(SysRoleUrl.SYS_ROLE_URL, DSL.name("sys_role_url_pkey"), new TableField[] { SysRoleUrl.SYS_ROLE_URL.ID }, true); - public static final UniqueKey SYS_URLS_PKEY = Internal.createUniqueKey(SysUrls.SYS_URLS, DSL.name("sys_urls_pkey"), new TableField[] { SysUrls.SYS_URLS.ID }, true); - public static final UniqueKey SYS_URLS_URL_KEY = Internal.createUniqueKey(SysUrls.SYS_URLS, DSL.name("sys_urls_url_key"), new TableField[] { SysUrls.SYS_URLS.URL }, true); + public static final UniqueKey KEY_SYS_ADMIN_PRIMARY = Internal.createUniqueKey(SysAdmin.SYS_ADMIN, DSL.name("KEY_sys_admin_PRIMARY"), new TableField[] { SysAdmin.SYS_ADMIN.ID }, true); + public static final UniqueKey KEY_SYS_ADMIN_USERNAME = Internal.createUniqueKey(SysAdmin.SYS_ADMIN, DSL.name("KEY_sys_admin_username"), new TableField[] { SysAdmin.SYS_ADMIN.USERNAME }, true); + public static final UniqueKey KEY_SYS_ADMIN_MENU_ADMINID = Internal.createUniqueKey(SysAdminMenu.SYS_ADMIN_MENU, DSL.name("KEY_sys_admin_menu_adminid"), new TableField[] { SysAdminMenu.SYS_ADMIN_MENU.ADMINID, SysAdminMenu.SYS_ADMIN_MENU.MEMUID }, true); + public static final UniqueKey KEY_SYS_ADMIN_MENU_PRIMARY = Internal.createUniqueKey(SysAdminMenu.SYS_ADMIN_MENU, DSL.name("KEY_sys_admin_menu_PRIMARY"), new TableField[] { SysAdminMenu.SYS_ADMIN_MENU.ID }, true); + public static final UniqueKey KEY_SYS_ADMIN_ROLE_PRIMARY = Internal.createUniqueKey(SysAdminRole.SYS_ADMIN_ROLE, DSL.name("KEY_sys_admin_role_PRIMARY"), new TableField[] { SysAdminRole.SYS_ADMIN_ROLE.ID }, true); + public static final UniqueKey KEY_SYS_CONFIG_K = Internal.createUniqueKey(SysConfig.SYS_CONFIG, DSL.name("KEY_sys_config_k"), new TableField[] { SysConfig.SYS_CONFIG.K }, true); + public static final UniqueKey KEY_SYS_CONFIG_PRIMARY = Internal.createUniqueKey(SysConfig.SYS_CONFIG, DSL.name("KEY_sys_config_PRIMARY"), new TableField[] { SysConfig.SYS_CONFIG.ID }, true); + public static final UniqueKey KEY_SYS_MENU_PRIMARY = Internal.createUniqueKey(SysMenu.SYS_MENU, DSL.name("KEY_sys_menu_PRIMARY"), new TableField[] { SysMenu.SYS_MENU.ID }, true); + public static final UniqueKey KEY_SYS_ORG_PRIMARY = Internal.createUniqueKey(SysOrg.SYS_ORG, DSL.name("KEY_sys_org_PRIMARY"), new TableField[] { SysOrg.SYS_ORG.ID }, true); + public static final UniqueKey KEY_SYS_RESOURCE_PRIMARY = Internal.createUniqueKey(SysResource.SYS_RESOURCE, DSL.name("KEY_sys_resource_PRIMARY"), new TableField[] { SysResource.SYS_RESOURCE.ID }, true); + public static final UniqueKey KEY_SYS_ROLE_PRIMARY = Internal.createUniqueKey(SysRole.SYS_ROLE, DSL.name("KEY_sys_role_PRIMARY"), new TableField[] { SysRole.SYS_ROLE.ID }, true); + public static final UniqueKey KEY_SYS_ROLE_RESOURCE_PRIMARY = Internal.createUniqueKey(SysRoleResource.SYS_ROLE_RESOURCE, DSL.name("KEY_sys_role_resource_PRIMARY"), new TableField[] { SysRoleResource.SYS_ROLE_RESOURCE.ROLEID, SysRoleResource.SYS_ROLE_RESOURCE.RESID }, true); + public static final UniqueKey KEY_SYS_ROLE_URL_PRIMARY = Internal.createUniqueKey(SysRoleUrl.SYS_ROLE_URL, DSL.name("KEY_sys_role_url_PRIMARY"), new TableField[] { SysRoleUrl.SYS_ROLE_URL.ID }, true); + public static final UniqueKey KEY_SYS_URLS_PRIMARY = Internal.createUniqueKey(SysUrls.SYS_URLS, DSL.name("KEY_sys_urls_PRIMARY"), new TableField[] { SysUrls.SYS_URLS.ID }, true); + public static final UniqueKey KEY_SYS_URLS_URL = Internal.createUniqueKey(SysUrls.SYS_URLS, DSL.name("KEY_sys_urls_url"), new TableField[] { SysUrls.SYS_URLS.URL }, true); } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/Public.java b/src/main/java/jj/tech/paolu/repository/jooq/Public.java deleted file mode 100644 index 217c874..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/Public.java +++ /dev/null @@ -1,257 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq; - - -import java.util.Arrays; -import java.util.List; - -import jj.tech.paolu.repository.jooq.tables.ArchiveSynLog; -import jj.tech.paolu.repository.jooq.tables.CertificateApply; -import jj.tech.paolu.repository.jooq.tables.CertificateApplyRecord; -import jj.tech.paolu.repository.jooq.tables.CertificateDetail; -import jj.tech.paolu.repository.jooq.tables.DecryptLog; -import jj.tech.paolu.repository.jooq.tables.DownloadLog; -import jj.tech.paolu.repository.jooq.tables.FilesApply; -import jj.tech.paolu.repository.jooq.tables.FilesApplyCheckRecord; -import jj.tech.paolu.repository.jooq.tables.FilesApplyDirectoryDocs; -import jj.tech.paolu.repository.jooq.tables.FilesApplyDocs; -import jj.tech.paolu.repository.jooq.tables.FilesApplyDownloadRecord; -import jj.tech.paolu.repository.jooq.tables.Project; -import jj.tech.paolu.repository.jooq.tables.ReadLog; -import jj.tech.paolu.repository.jooq.tables.SharedRuleConfig; -import jj.tech.paolu.repository.jooq.tables.SharedSynAll; -import jj.tech.paolu.repository.jooq.tables.SynDirectory; -import jj.tech.paolu.repository.jooq.tables.SynDirectoryFile; -import jj.tech.paolu.repository.jooq.tables.SynFile; -import jj.tech.paolu.repository.jooq.tables.SysAdmin; -import jj.tech.paolu.repository.jooq.tables.SysAdminRole; -import jj.tech.paolu.repository.jooq.tables.SysAdminWeid; -import jj.tech.paolu.repository.jooq.tables.SysArea; -import jj.tech.paolu.repository.jooq.tables.SysConfig; -import jj.tech.paolu.repository.jooq.tables.SysMenu; -import jj.tech.paolu.repository.jooq.tables.SysOrg; -import jj.tech.paolu.repository.jooq.tables.SysRole; -import jj.tech.paolu.repository.jooq.tables.SysRoleMenu; -import jj.tech.paolu.repository.jooq.tables.SysRoleSign; -import jj.tech.paolu.repository.jooq.tables.SysRoleUrl; -import jj.tech.paolu.repository.jooq.tables.SysUrls; - -import org.jooq.Catalog; -import org.jooq.Table; -import org.jooq.impl.SchemaImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Public extends SchemaImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public - */ - public static final Public PUBLIC = new Public(); - - /** - * 从电子档案系统同步档案目录数据的过程日志 - */ - public final ArchiveSynLog ARCHIVE_SYN_LOG = ArchiveSynLog.ARCHIVE_SYN_LOG; - - /** - * The table public.certificate_apply. - */ - public final CertificateApply CERTIFICATE_APPLY = CertificateApply.CERTIFICATE_APPLY; - - /** - * The table public.certificate_apply_record. - */ - public final CertificateApplyRecord CERTIFICATE_APPLY_RECORD = CertificateApplyRecord.CERTIFICATE_APPLY_RECORD; - - /** - * The table public.certificate_detail. - */ - public final CertificateDetail CERTIFICATE_DETAIL = CertificateDetail.CERTIFICATE_DETAIL; - - /** - * 解密情况 - */ - public final DecryptLog DECRYPT_LOG = DecryptLog.DECRYPT_LOG; - - /** - * 下载行为记录 - */ - public final DownloadLog DOWNLOAD_LOG = DownloadLog.DOWNLOAD_LOG; - - /** - * The table public.files_apply. - */ - public final FilesApply FILES_APPLY = FilesApply.FILES_APPLY; - - /** - * The table public.files_apply_check_record. - */ - public final FilesApplyCheckRecord FILES_APPLY_CHECK_RECORD = FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD; - - /** - * The table public.files_apply_directory_docs. - */ - public final FilesApplyDirectoryDocs FILES_APPLY_DIRECTORY_DOCS = FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS; - - /** - * The table public.files_apply_docs. - */ - public final FilesApplyDocs FILES_APPLY_DOCS = FilesApplyDocs.FILES_APPLY_DOCS; - - /** - * The table public.files_apply_download_record. - */ - public final FilesApplyDownloadRecord FILES_APPLY_DOWNLOAD_RECORD = FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD; - - /** - * The table public.project. - */ - public final Project PROJECT = Project.PROJECT; - - /** - * 阅读情况 - */ - public final ReadLog READ_LOG = ReadLog.READ_LOG; - - /** - * The table public.shared_rule_config. - */ - public final SharedRuleConfig SHARED_RULE_CONFIG = SharedRuleConfig.SHARED_RULE_CONFIG; - - /** - * The table public.shared_syn_all. - */ - public final SharedSynAll SHARED_SYN_ALL = SharedSynAll.SHARED_SYN_ALL; - - /** - * The table public.syn_directory. - */ - public final SynDirectory SYN_DIRECTORY = SynDirectory.SYN_DIRECTORY; - - /** - * The table public.syn_directory_file. - */ - public final SynDirectoryFile SYN_DIRECTORY_FILE = SynDirectoryFile.SYN_DIRECTORY_FILE; - - /** - * The table public.syn_file. - */ - public final SynFile SYN_FILE = SynFile.SYN_FILE; - - /** - * The table public.sys_admin. - */ - public final SysAdmin SYS_ADMIN = SysAdmin.SYS_ADMIN; - - /** - * The table public.sys_admin_role. - */ - public final SysAdminRole SYS_ADMIN_ROLE = SysAdminRole.SYS_ADMIN_ROLE; - - /** - * The table public.sys_admin_weid. - */ - public final SysAdminWeid SYS_ADMIN_WEID = SysAdminWeid.SYS_ADMIN_WEID; - - /** - * The table public.sys_area. - */ - public final SysArea SYS_AREA = SysArea.SYS_AREA; - - /** - * The table public.sys_config. - */ - public final SysConfig SYS_CONFIG = SysConfig.SYS_CONFIG; - - /** - * The table public.sys_menu. - */ - public final SysMenu SYS_MENU = SysMenu.SYS_MENU; - - /** - * The table public.sys_org. - */ - public final SysOrg SYS_ORG = SysOrg.SYS_ORG; - - /** - * The table public.sys_role. - */ - public final SysRole SYS_ROLE = SysRole.SYS_ROLE; - - /** - * The table public.sys_role_menu. - */ - public final SysRoleMenu SYS_ROLE_MENU = SysRoleMenu.SYS_ROLE_MENU; - - /** - * The table public.sys_role_sign. - */ - public final SysRoleSign SYS_ROLE_SIGN = SysRoleSign.SYS_ROLE_SIGN; - - /** - * The table public.sys_role_url. - */ - public final SysRoleUrl SYS_ROLE_URL = SysRoleUrl.SYS_ROLE_URL; - - /** - * The table public.sys_urls. - */ - public final SysUrls SYS_URLS = SysUrls.SYS_URLS; - - /** - * No further instances allowed - */ - private Public() { - super("public", null); - } - - - @Override - public Catalog getCatalog() { - return DefaultCatalog.DEFAULT_CATALOG; - } - - @Override - public final List> getTables() { - return Arrays.asList( - ArchiveSynLog.ARCHIVE_SYN_LOG, - CertificateApply.CERTIFICATE_APPLY, - CertificateApplyRecord.CERTIFICATE_APPLY_RECORD, - CertificateDetail.CERTIFICATE_DETAIL, - DecryptLog.DECRYPT_LOG, - DownloadLog.DOWNLOAD_LOG, - FilesApply.FILES_APPLY, - FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD, - FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS, - FilesApplyDocs.FILES_APPLY_DOCS, - FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD, - Project.PROJECT, - ReadLog.READ_LOG, - SharedRuleConfig.SHARED_RULE_CONFIG, - SharedSynAll.SHARED_SYN_ALL, - SynDirectory.SYN_DIRECTORY, - SynDirectoryFile.SYN_DIRECTORY_FILE, - SynFile.SYN_FILE, - SysAdmin.SYS_ADMIN, - SysAdminRole.SYS_ADMIN_ROLE, - SysAdminWeid.SYS_ADMIN_WEID, - SysArea.SYS_AREA, - SysConfig.SYS_CONFIG, - SysMenu.SYS_MENU, - SysOrg.SYS_ORG, - SysRole.SYS_ROLE, - SysRoleMenu.SYS_ROLE_MENU, - SysRoleSign.SYS_ROLE_SIGN, - SysRoleUrl.SYS_ROLE_URL, - SysUrls.SYS_URLS - ); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/Tables.java b/src/main/java/jj/tech/paolu/repository/jooq/Tables.java index bd78e2a..e2dd6ce 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/Tables.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/Tables.java @@ -4,191 +4,77 @@ package jj.tech.paolu.repository.jooq; -import jj.tech.paolu.repository.jooq.tables.ArchiveSynLog; -import jj.tech.paolu.repository.jooq.tables.CertificateApply; -import jj.tech.paolu.repository.jooq.tables.CertificateApplyRecord; -import jj.tech.paolu.repository.jooq.tables.CertificateDetail; -import jj.tech.paolu.repository.jooq.tables.DecryptLog; -import jj.tech.paolu.repository.jooq.tables.DownloadLog; -import jj.tech.paolu.repository.jooq.tables.FilesApply; -import jj.tech.paolu.repository.jooq.tables.FilesApplyCheckRecord; -import jj.tech.paolu.repository.jooq.tables.FilesApplyDirectoryDocs; -import jj.tech.paolu.repository.jooq.tables.FilesApplyDocs; -import jj.tech.paolu.repository.jooq.tables.FilesApplyDownloadRecord; -import jj.tech.paolu.repository.jooq.tables.Project; -import jj.tech.paolu.repository.jooq.tables.ReadLog; -import jj.tech.paolu.repository.jooq.tables.SharedRuleConfig; -import jj.tech.paolu.repository.jooq.tables.SharedSynAll; -import jj.tech.paolu.repository.jooq.tables.SynDirectory; -import jj.tech.paolu.repository.jooq.tables.SynDirectoryFile; -import jj.tech.paolu.repository.jooq.tables.SynFile; import jj.tech.paolu.repository.jooq.tables.SysAdmin; +import jj.tech.paolu.repository.jooq.tables.SysAdminMenu; import jj.tech.paolu.repository.jooq.tables.SysAdminRole; -import jj.tech.paolu.repository.jooq.tables.SysAdminWeid; -import jj.tech.paolu.repository.jooq.tables.SysArea; import jj.tech.paolu.repository.jooq.tables.SysConfig; import jj.tech.paolu.repository.jooq.tables.SysMenu; import jj.tech.paolu.repository.jooq.tables.SysOrg; +import jj.tech.paolu.repository.jooq.tables.SysResource; import jj.tech.paolu.repository.jooq.tables.SysRole; -import jj.tech.paolu.repository.jooq.tables.SysRoleMenu; -import jj.tech.paolu.repository.jooq.tables.SysRoleSign; +import jj.tech.paolu.repository.jooq.tables.SysRoleResource; import jj.tech.paolu.repository.jooq.tables.SysRoleUrl; import jj.tech.paolu.repository.jooq.tables.SysUrls; /** - * Convenience access to all tables in public. + * Convenience access to all tables in yx. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Tables { /** - * 从电子档案系统同步档案目录数据的过程日志 - */ - public static final ArchiveSynLog ARCHIVE_SYN_LOG = ArchiveSynLog.ARCHIVE_SYN_LOG; - - /** - * The table public.certificate_apply. - */ - public static final CertificateApply CERTIFICATE_APPLY = CertificateApply.CERTIFICATE_APPLY; - - /** - * The table public.certificate_apply_record. - */ - public static final CertificateApplyRecord CERTIFICATE_APPLY_RECORD = CertificateApplyRecord.CERTIFICATE_APPLY_RECORD; - - /** - * The table public.certificate_detail. - */ - public static final CertificateDetail CERTIFICATE_DETAIL = CertificateDetail.CERTIFICATE_DETAIL; - - /** - * 解密情况 - */ - public static final DecryptLog DECRYPT_LOG = DecryptLog.DECRYPT_LOG; - - /** - * 下载行为记录 - */ - public static final DownloadLog DOWNLOAD_LOG = DownloadLog.DOWNLOAD_LOG; - - /** - * The table public.files_apply. - */ - public static final FilesApply FILES_APPLY = FilesApply.FILES_APPLY; - - /** - * The table public.files_apply_check_record. - */ - public static final FilesApplyCheckRecord FILES_APPLY_CHECK_RECORD = FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD; - - /** - * The table public.files_apply_directory_docs. - */ - public static final FilesApplyDirectoryDocs FILES_APPLY_DIRECTORY_DOCS = FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS; - - /** - * The table public.files_apply_docs. - */ - public static final FilesApplyDocs FILES_APPLY_DOCS = FilesApplyDocs.FILES_APPLY_DOCS; - - /** - * The table public.files_apply_download_record. - */ - public static final FilesApplyDownloadRecord FILES_APPLY_DOWNLOAD_RECORD = FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD; - - /** - * The table public.project. - */ - public static final Project PROJECT = Project.PROJECT; - - /** - * 阅读情况 - */ - public static final ReadLog READ_LOG = ReadLog.READ_LOG; - - /** - * The table public.shared_rule_config. - */ - public static final SharedRuleConfig SHARED_RULE_CONFIG = SharedRuleConfig.SHARED_RULE_CONFIG; - - /** - * The table public.shared_syn_all. - */ - public static final SharedSynAll SHARED_SYN_ALL = SharedSynAll.SHARED_SYN_ALL; - - /** - * The table public.syn_directory. - */ - public static final SynDirectory SYN_DIRECTORY = SynDirectory.SYN_DIRECTORY; - - /** - * The table public.syn_directory_file. - */ - public static final SynDirectoryFile SYN_DIRECTORY_FILE = SynDirectoryFile.SYN_DIRECTORY_FILE; - - /** - * The table public.syn_file. - */ - public static final SynFile SYN_FILE = SynFile.SYN_FILE; - - /** - * The table public.sys_admin. + * The table yx.sys_admin. */ public static final SysAdmin SYS_ADMIN = SysAdmin.SYS_ADMIN; /** - * The table public.sys_admin_role. + * The table yx.sys_admin_menu. + */ + public static final SysAdminMenu SYS_ADMIN_MENU = SysAdminMenu.SYS_ADMIN_MENU; + + /** + * The table yx.sys_admin_role. */ public static final SysAdminRole SYS_ADMIN_ROLE = SysAdminRole.SYS_ADMIN_ROLE; /** - * The table public.sys_admin_weid. - */ - public static final SysAdminWeid SYS_ADMIN_WEID = SysAdminWeid.SYS_ADMIN_WEID; - - /** - * The table public.sys_area. - */ - public static final SysArea SYS_AREA = SysArea.SYS_AREA; - - /** - * The table public.sys_config. + * The table yx.sys_config. */ public static final SysConfig SYS_CONFIG = SysConfig.SYS_CONFIG; /** - * The table public.sys_menu. + * The table yx.sys_menu. */ public static final SysMenu SYS_MENU = SysMenu.SYS_MENU; /** - * The table public.sys_org. + * The table yx.sys_org. */ public static final SysOrg SYS_ORG = SysOrg.SYS_ORG; /** - * The table public.sys_role. + * The table yx.sys_resource. + */ + public static final SysResource SYS_RESOURCE = SysResource.SYS_RESOURCE; + + /** + * The table yx.sys_role. */ public static final SysRole SYS_ROLE = SysRole.SYS_ROLE; /** - * The table public.sys_role_menu. + * The table yx.sys_role_resource. */ - public static final SysRoleMenu SYS_ROLE_MENU = SysRoleMenu.SYS_ROLE_MENU; + public static final SysRoleResource SYS_ROLE_RESOURCE = SysRoleResource.SYS_ROLE_RESOURCE; /** - * The table public.sys_role_sign. - */ - public static final SysRoleSign SYS_ROLE_SIGN = SysRoleSign.SYS_ROLE_SIGN; - - /** - * The table public.sys_role_url. + * The table yx.sys_role_url. */ public static final SysRoleUrl SYS_ROLE_URL = SysRoleUrl.SYS_ROLE_URL; /** - * The table public.sys_urls. + * The table yx.sys_urls. */ public static final SysUrls SYS_URLS = SysUrls.SYS_URLS; } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/Yx.java b/src/main/java/jj/tech/paolu/repository/jooq/Yx.java new file mode 100644 index 0000000..a6cf910 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/Yx.java @@ -0,0 +1,124 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq; + + +import java.util.Arrays; +import java.util.List; + +import jj.tech.paolu.repository.jooq.tables.SysAdmin; +import jj.tech.paolu.repository.jooq.tables.SysAdminMenu; +import jj.tech.paolu.repository.jooq.tables.SysAdminRole; +import jj.tech.paolu.repository.jooq.tables.SysConfig; +import jj.tech.paolu.repository.jooq.tables.SysMenu; +import jj.tech.paolu.repository.jooq.tables.SysOrg; +import jj.tech.paolu.repository.jooq.tables.SysResource; +import jj.tech.paolu.repository.jooq.tables.SysRole; +import jj.tech.paolu.repository.jooq.tables.SysRoleResource; +import jj.tech.paolu.repository.jooq.tables.SysRoleUrl; +import jj.tech.paolu.repository.jooq.tables.SysUrls; + +import org.jooq.Catalog; +import org.jooq.Table; +import org.jooq.impl.SchemaImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Yx extends SchemaImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of yx + */ + public static final Yx YX = new Yx(); + + /** + * The table yx.sys_admin. + */ + public final SysAdmin SYS_ADMIN = SysAdmin.SYS_ADMIN; + + /** + * The table yx.sys_admin_menu. + */ + public final SysAdminMenu SYS_ADMIN_MENU = SysAdminMenu.SYS_ADMIN_MENU; + + /** + * The table yx.sys_admin_role. + */ + public final SysAdminRole SYS_ADMIN_ROLE = SysAdminRole.SYS_ADMIN_ROLE; + + /** + * The table yx.sys_config. + */ + public final SysConfig SYS_CONFIG = SysConfig.SYS_CONFIG; + + /** + * The table yx.sys_menu. + */ + public final SysMenu SYS_MENU = SysMenu.SYS_MENU; + + /** + * The table yx.sys_org. + */ + public final SysOrg SYS_ORG = SysOrg.SYS_ORG; + + /** + * The table yx.sys_resource. + */ + public final SysResource SYS_RESOURCE = SysResource.SYS_RESOURCE; + + /** + * The table yx.sys_role. + */ + public final SysRole SYS_ROLE = SysRole.SYS_ROLE; + + /** + * The table yx.sys_role_resource. + */ + public final SysRoleResource SYS_ROLE_RESOURCE = SysRoleResource.SYS_ROLE_RESOURCE; + + /** + * The table yx.sys_role_url. + */ + public final SysRoleUrl SYS_ROLE_URL = SysRoleUrl.SYS_ROLE_URL; + + /** + * The table yx.sys_urls. + */ + public final SysUrls SYS_URLS = SysUrls.SYS_URLS; + + /** + * No further instances allowed + */ + private Yx() { + super("yx", null); + } + + + @Override + public Catalog getCatalog() { + return DefaultCatalog.DEFAULT_CATALOG; + } + + @Override + public final List> getTables() { + return Arrays.asList( + SysAdmin.SYS_ADMIN, + SysAdminMenu.SYS_ADMIN_MENU, + SysAdminRole.SYS_ADMIN_ROLE, + SysConfig.SYS_CONFIG, + SysMenu.SYS_MENU, + SysOrg.SYS_ORG, + SysResource.SYS_RESOURCE, + SysRole.SYS_ROLE, + SysRoleResource.SYS_ROLE_RESOURCE, + SysRoleUrl.SYS_ROLE_URL, + SysUrls.SYS_URLS + ); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/ArchiveSynLog.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/ArchiveSynLog.java deleted file mode 100644 index 44cc96e..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/ArchiveSynLog.java +++ /dev/null @@ -1,223 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.time.LocalDateTime; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.ArchiveSynLogRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function13; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row13; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * 从电子档案系统同步档案目录数据的过程日志 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ArchiveSynLog extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.archive_syn_log - */ - public static final ArchiveSynLog ARCHIVE_SYN_LOG = new ArchiveSynLog(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return ArchiveSynLogRecord.class; - } - - /** - * The column public.archive_syn_log.start_time. - */ - public final TableField START_TIME = createField(DSL.name("start_time"), SQLDataType.LOCALDATETIME(6).nullable(false), this, ""); - - /** - * The column public.archive_syn_log.insert_dir_count. - */ - public final TableField INSERT_DIR_COUNT = createField(DSL.name("insert_dir_count"), SQLDataType.BIGINT.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); - - /** - * The column public.archive_syn_log.update_dir_count. - */ - public final TableField UPDATE_DIR_COUNT = createField(DSL.name("update_dir_count"), SQLDataType.BIGINT.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); - - /** - * The column public.archive_syn_log.insert_dirfile_count. - */ - public final TableField INSERT_DIRFILE_COUNT = createField(DSL.name("insert_dirfile_count"), SQLDataType.BIGINT.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); - - /** - * The column public.archive_syn_log.update_dirfile_count. - */ - public final TableField UPDATE_DIRFILE_COUNT = createField(DSL.name("update_dirfile_count"), SQLDataType.BIGINT.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); - - /** - * The column public.archive_syn_log.insert_file_count. - */ - public final TableField INSERT_FILE_COUNT = createField(DSL.name("insert_file_count"), SQLDataType.BIGINT.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); - - /** - * The column public.archive_syn_log.update_file_count. - */ - public final TableField UPDATE_FILE_COUNT = createField(DSL.name("update_file_count"), SQLDataType.BIGINT.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); - - /** - * The column public.archive_syn_log.description. - */ - public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR, this, ""); - - /** - * The column public.archive_syn_log.run_result. - */ - public final TableField RUN_RESULT = createField(DSL.name("run_result"), SQLDataType.VARCHAR, this, ""); - - /** - * The column public.archive_syn_log.update_timestamp. - */ - public final TableField UPDATE_TIMESTAMP = createField(DSL.name("update_timestamp"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); - - /** - * The column public.archive_syn_log.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR.nullable(false), this, ""); - - /** - * The column public.archive_syn_log.next_update_timestamp. - */ - public final TableField NEXT_UPDATE_TIMESTAMP = createField(DSL.name("next_update_timestamp"), SQLDataType.BIGINT, this, ""); - - /** - * The column public.archive_syn_log.end_time. - */ - public final TableField END_TIME = createField(DSL.name("end_time"), SQLDataType.LOCALDATETIME(6).nullable(false), this, ""); - - private ArchiveSynLog(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private ArchiveSynLog(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("从电子档案系统同步档案目录数据的过程日志"), TableOptions.table()); - } - - /** - * Create an aliased public.archive_syn_log table reference - */ - public ArchiveSynLog(String alias) { - this(DSL.name(alias), ARCHIVE_SYN_LOG); - } - - /** - * Create an aliased public.archive_syn_log table reference - */ - public ArchiveSynLog(Name alias) { - this(alias, ARCHIVE_SYN_LOG); - } - - /** - * Create a public.archive_syn_log table reference - */ - public ArchiveSynLog() { - this(DSL.name("archive_syn_log"), null); - } - - public ArchiveSynLog(Table child, ForeignKey key) { - super(child, key, ARCHIVE_SYN_LOG); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.ARCHIVE_SYN_LOG_PKEY; - } - - @Override - public ArchiveSynLog as(String alias) { - return new ArchiveSynLog(DSL.name(alias), this); - } - - @Override - public ArchiveSynLog as(Name alias) { - return new ArchiveSynLog(alias, this); - } - - @Override - public ArchiveSynLog as(Table alias) { - return new ArchiveSynLog(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public ArchiveSynLog rename(String name) { - return new ArchiveSynLog(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public ArchiveSynLog rename(Name name) { - return new ArchiveSynLog(name, null); - } - - /** - * Rename this table - */ - @Override - public ArchiveSynLog rename(Table name) { - return new ArchiveSynLog(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row13 type methods - // ------------------------------------------------------------------------- - - @Override - public Row13 fieldsRow() { - return (Row13) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function13 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function13 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/CertificateApply.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/CertificateApply.java deleted file mode 100644 index bc8252a..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/CertificateApply.java +++ /dev/null @@ -1,250 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.time.LocalDateTime; -import java.util.Arrays; -import java.util.List; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.CertificateApplyRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function17; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row17; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class CertificateApply extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.certificate_apply - */ - public static final CertificateApply CERTIFICATE_APPLY = new CertificateApply(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return CertificateApplyRecord.class; - } - - /** - * The column public.certificate_apply.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.certificate_apply.is_org. - */ - public final TableField IS_ORG = createField(DSL.name("is_org"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.certificate_apply.user_id. - */ - public final TableField USER_ID = createField(DSL.name("user_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.certificate_apply.user_name. - */ - public final TableField USER_NAME = createField(DSL.name("user_name"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.certificate_apply.user_real_name. - */ - public final TableField USER_REAL_NAME = createField(DSL.name("user_real_name"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.certificate_apply.user_phone. - */ - public final TableField USER_PHONE = createField(DSL.name("user_phone"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.certificate_apply.user_org_id. - */ - public final TableField USER_ORG_ID = createField(DSL.name("user_org_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.certificate_apply.user_org_name. - */ - public final TableField USER_ORG_NAME = createField(DSL.name("user_org_name"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.certificate_apply.apply_type. - */ - public final TableField APPLY_TYPE = createField(DSL.name("apply_type"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.certificate_apply.status. - */ - public final TableField STATUS = createField(DSL.name("status"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.certificate_apply.apply_time. - */ - public final TableField APPLY_TIME = createField(DSL.name("apply_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column public.certificate_apply.apply_finish_time. - */ - public final TableField APPLY_FINISH_TIME = createField(DSL.name("apply_finish_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column public.certificate_apply.apply_reason. - */ - public final TableField APPLY_REASON = createField(DSL.name("apply_reason"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.certificate_apply.next_check_org_id. - */ - public final TableField NEXT_CHECK_ORG_ID = createField(DSL.name("next_check_org_id"), SQLDataType.VARCHAR, this, ""); - - /** - * The column public.certificate_apply.end_check_org_id. - */ - public final TableField END_CHECK_ORG_ID = createField(DSL.name("end_check_org_id"), SQLDataType.VARCHAR, this, ""); - - /** - * The column public.certificate_apply.cer_id. - */ - public final TableField CER_ID = createField(DSL.name("cer_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.certificate_apply.company_id. - */ - public final TableField COMPANY_ID = createField(DSL.name("company_id"), SQLDataType.VARCHAR(32).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - private CertificateApply(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private CertificateApply(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.certificate_apply table reference - */ - public CertificateApply(String alias) { - this(DSL.name(alias), CERTIFICATE_APPLY); - } - - /** - * Create an aliased public.certificate_apply table reference - */ - public CertificateApply(Name alias) { - this(alias, CERTIFICATE_APPLY); - } - - /** - * Create a public.certificate_apply table reference - */ - public CertificateApply() { - this(DSL.name("certificate_apply"), null); - } - - public CertificateApply(Table child, ForeignKey key) { - super(child, key, CERTIFICATE_APPLY); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.CERTIFICATE_APPLY_PKEY; - } - - @Override - public List> getUniqueKeys() { - return Arrays.asList(Keys.CERTIFICATE_APPLY_CER_ID_KEY); - } - - @Override - public CertificateApply as(String alias) { - return new CertificateApply(DSL.name(alias), this); - } - - @Override - public CertificateApply as(Name alias) { - return new CertificateApply(alias, this); - } - - @Override - public CertificateApply as(Table alias) { - return new CertificateApply(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public CertificateApply rename(String name) { - return new CertificateApply(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public CertificateApply rename(Name name) { - return new CertificateApply(name, null); - } - - /** - * Rename this table - */ - @Override - public CertificateApply rename(Table name) { - return new CertificateApply(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row17 type methods - // ------------------------------------------------------------------------- - - @Override - public Row17 fieldsRow() { - return (Row17) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function17 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function17 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/CertificateApplyRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/CertificateApplyRecord.java deleted file mode 100644 index 0d439a8..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/CertificateApplyRecord.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.time.LocalDateTime; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.CertificateApplyRecordRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function15; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row15; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class CertificateApplyRecord extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.certificate_apply_record - */ - public static final CertificateApplyRecord CERTIFICATE_APPLY_RECORD = new CertificateApplyRecord(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return CertificateApplyRecordRecord.class; - } - - /** - * The column public.certificate_apply_record.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column - * public.certificate_apply_record.certificate_apply_id. - */ - public final TableField CERTIFICATE_APPLY_ID = createField(DSL.name("certificate_apply_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column - * public.certificate_apply_record.certificate_apply_user_id. - */ - public final TableField CERTIFICATE_APPLY_USER_ID = createField(DSL.name("certificate_apply_user_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column - * public.certificate_apply_record.certificate_apply_user_org_id. - */ - public final TableField CERTIFICATE_APPLY_USER_ORG_ID = createField(DSL.name("certificate_apply_user_org_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.certificate_apply_record.is_org. - */ - public final TableField IS_ORG = createField(DSL.name("is_org"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.certificate_apply_record.apply_type. - */ - public final TableField APPLY_TYPE = createField(DSL.name("apply_type"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.certificate_apply_record.check_user_id. - */ - public final TableField CHECK_USER_ID = createField(DSL.name("check_user_id"), SQLDataType.VARCHAR, this, ""); - - /** - * The column public.certificate_apply_record.check_user_name. - */ - public final TableField CHECK_USER_NAME = createField(DSL.name("check_user_name"), SQLDataType.VARCHAR, this, ""); - - /** - * The column public.certificate_apply_record.check_org_id. - */ - public final TableField CHECK_ORG_ID = createField(DSL.name("check_org_id"), SQLDataType.VARCHAR, this, ""); - - /** - * The column public.certificate_apply_record.check_org_name. - */ - public final TableField CHECK_ORG_NAME = createField(DSL.name("check_org_name"), SQLDataType.VARCHAR, this, ""); - - /** - * The column public.certificate_apply_record.check_describe. - */ - public final TableField CHECK_DESCRIBE = createField(DSL.name("check_describe"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.certificate_apply_record.check_status. - */ - public final TableField CHECK_STATUS = createField(DSL.name("check_status"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("1"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.certificate_apply_record.check_time. - */ - public final TableField CHECK_TIME = createField(DSL.name("check_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column - * public.certificate_apply_record.next_check_org_id. - */ - public final TableField NEXT_CHECK_ORG_ID = createField(DSL.name("next_check_org_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column - * public.certificate_apply_record.next_check_org_name. - */ - public final TableField NEXT_CHECK_ORG_NAME = createField(DSL.name("next_check_org_name"), SQLDataType.VARCHAR(32), this, ""); - - private CertificateApplyRecord(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private CertificateApplyRecord(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.certificate_apply_record table - * reference - */ - public CertificateApplyRecord(String alias) { - this(DSL.name(alias), CERTIFICATE_APPLY_RECORD); - } - - /** - * Create an aliased public.certificate_apply_record table - * reference - */ - public CertificateApplyRecord(Name alias) { - this(alias, CERTIFICATE_APPLY_RECORD); - } - - /** - * Create a public.certificate_apply_record table reference - */ - public CertificateApplyRecord() { - this(DSL.name("certificate_apply_record"), null); - } - - public CertificateApplyRecord(Table child, ForeignKey key) { - super(child, key, CERTIFICATE_APPLY_RECORD); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.CERTIFICATE_APPLY_RECORD_PKEY; - } - - @Override - public CertificateApplyRecord as(String alias) { - return new CertificateApplyRecord(DSL.name(alias), this); - } - - @Override - public CertificateApplyRecord as(Name alias) { - return new CertificateApplyRecord(alias, this); - } - - @Override - public CertificateApplyRecord as(Table alias) { - return new CertificateApplyRecord(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public CertificateApplyRecord rename(String name) { - return new CertificateApplyRecord(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public CertificateApplyRecord rename(Name name) { - return new CertificateApplyRecord(name, null); - } - - /** - * Rename this table - */ - @Override - public CertificateApplyRecord rename(Table name) { - return new CertificateApplyRecord(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row15 type methods - // ------------------------------------------------------------------------- - - @Override - public Row15 fieldsRow() { - return (Row15) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function15 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function15 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/CertificateDetail.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/CertificateDetail.java deleted file mode 100644 index b815158..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/CertificateDetail.java +++ /dev/null @@ -1,228 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.time.LocalDateTime; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.CertificateDetailRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function14; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row14; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class CertificateDetail extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.certificate_detail - */ - public static final CertificateDetail CERTIFICATE_DETAIL = new CertificateDetail(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return CertificateDetailRecord.class; - } - - /** - * The column public.certificate_detail.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.certificate_detail.certificate_apply_id. - */ - public final TableField CERTIFICATE_APPLY_ID = createField(DSL.name("certificate_apply_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.certificate_detail.work_start_time. - */ - public final TableField WORK_START_TIME = createField(DSL.name("work_start_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column public.certificate_detail.work_end_time. - */ - public final TableField WORK_END_TIME = createField(DSL.name("work_end_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column public.certificate_detail.status. - */ - public final TableField STATUS = createField(DSL.name("status"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.certificate_detail.cert_file_content. - */ - public final TableField CERT_FILE_CONTENT = createField(DSL.name("cert_file_content"), SQLDataType.VARCHAR(2048), this, ""); - - /** - * The column public.certificate_detail.is_up_chain. - */ - public final TableField IS_UP_CHAIN = createField(DSL.name("is_up_chain"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.certificate_detail.weid. - */ - public final TableField WEID = createField(DSL.name("weid"), SQLDataType.VARCHAR(64), this, ""); - - /** - * The column public.certificate_detail.private_key_hex_str. - */ - public final TableField PRIVATE_KEY_HEX_STR = createField(DSL.name("private_key_hex_str"), SQLDataType.VARCHAR(128), this, ""); - - /** - * The column public.certificate_detail.x509_serial_number. - */ - public final TableField X509_SERIAL_NUMBER = createField(DSL.name("x509_serial_number"), SQLDataType.VARCHAR(256), this, ""); - - /** - * The column public.certificate_detail.x509_subject. - */ - public final TableField X509_SUBJECT = createField(DSL.name("x509_subject"), SQLDataType.VARCHAR(256), this, ""); - - /** - * The column public.certificate_detail.x509_issuer. - */ - public final TableField X509_ISSUER = createField(DSL.name("x509_issuer"), SQLDataType.VARCHAR(256), this, ""); - - /** - * The column public.certificate_detail.x509_public_key. - */ - public final TableField X509_PUBLIC_KEY = createField(DSL.name("x509_public_key"), SQLDataType.VARCHAR(256), this, ""); - - /** - * The column public.certificate_detail.x509_sig_alg_name. - */ - public final TableField X509_SIG_ALG_NAME = createField(DSL.name("x509_sig_alg_name"), SQLDataType.VARCHAR(256), this, ""); - - private CertificateDetail(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private CertificateDetail(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.certificate_detail table reference - */ - public CertificateDetail(String alias) { - this(DSL.name(alias), CERTIFICATE_DETAIL); - } - - /** - * Create an aliased public.certificate_detail table reference - */ - public CertificateDetail(Name alias) { - this(alias, CERTIFICATE_DETAIL); - } - - /** - * Create a public.certificate_detail table reference - */ - public CertificateDetail() { - this(DSL.name("certificate_detail"), null); - } - - public CertificateDetail(Table child, ForeignKey key) { - super(child, key, CERTIFICATE_DETAIL); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.CERTIFICATE_DETAIL_PKEY; - } - - @Override - public CertificateDetail as(String alias) { - return new CertificateDetail(DSL.name(alias), this); - } - - @Override - public CertificateDetail as(Name alias) { - return new CertificateDetail(alias, this); - } - - @Override - public CertificateDetail as(Table alias) { - return new CertificateDetail(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public CertificateDetail rename(String name) { - return new CertificateDetail(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public CertificateDetail rename(Name name) { - return new CertificateDetail(name, null); - } - - /** - * Rename this table - */ - @Override - public CertificateDetail rename(Table name) { - return new CertificateDetail(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row14 type methods - // ------------------------------------------------------------------------- - - @Override - public Row14 fieldsRow() { - return (Row14) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function14 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function14 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/DecryptLog.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/DecryptLog.java deleted file mode 100644 index b8dda3f..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/DecryptLog.java +++ /dev/null @@ -1,203 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.time.LocalDateTime; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.DecryptLogRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function9; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row9; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * 解密情况 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DecryptLog extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.decrypt_log - */ - public static final DecryptLog DECRYPT_LOG = new DecryptLog(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return DecryptLogRecord.class; - } - - /** - * The column public.decrypt_log.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.decrypt_log.weid. 申请人id - */ - public final TableField WEID = createField(DSL.name("weid"), SQLDataType.VARCHAR(255), this, "申请人id"); - - /** - * The column public.decrypt_log.content_type. 档案类型(0件/1件内文件) - */ - public final TableField CONTENT_TYPE = createField(DSL.name("content_type"), SQLDataType.INTEGER, this, "档案类型(0件/1件内文件)"); - - /** - * The column public.decrypt_log.content_id. 档案id - */ - public final TableField CONTENT_ID = createField(DSL.name("content_id"), SQLDataType.VARCHAR(255), this, "档案id"); - - /** - * The column public.decrypt_log.dec_time. 解密时间 - */ - public final TableField DEC_TIME = createField(DSL.name("dec_time"), SQLDataType.LOCALDATETIME(6), this, "解密时间"); - - /** - * The column public.decrypt_log.location. 区域 - */ - public final TableField LOCATION = createField(DSL.name("location"), SQLDataType.VARCHAR(255), this, "区域"); - - /** - * The column public.decrypt_log.sm9hibeid. 秘钥id - */ - public final TableField SM9HIBEID = createField(DSL.name("sm9hibeid"), SQLDataType.VARCHAR(255), this, "秘钥id"); - - /** - * The column public.decrypt_log.status. 解密结果(0失败1成功) - */ - public final TableField STATUS = createField(DSL.name("status"), SQLDataType.INTEGER, this, "解密结果(0失败1成功)"); - - /** - * The column public.decrypt_log.sign. 数字签名 - */ - public final TableField SIGN = createField(DSL.name("sign"), SQLDataType.VARCHAR(255), this, "数字签名"); - - private DecryptLog(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private DecryptLog(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("解密情况"), TableOptions.table()); - } - - /** - * Create an aliased public.decrypt_log table reference - */ - public DecryptLog(String alias) { - this(DSL.name(alias), DECRYPT_LOG); - } - - /** - * Create an aliased public.decrypt_log table reference - */ - public DecryptLog(Name alias) { - this(alias, DECRYPT_LOG); - } - - /** - * Create a public.decrypt_log table reference - */ - public DecryptLog() { - this(DSL.name("decrypt_log"), null); - } - - public DecryptLog(Table child, ForeignKey key) { - super(child, key, DECRYPT_LOG); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.DECRYPT_PKEY; - } - - @Override - public DecryptLog as(String alias) { - return new DecryptLog(DSL.name(alias), this); - } - - @Override - public DecryptLog as(Name alias) { - return new DecryptLog(alias, this); - } - - @Override - public DecryptLog as(Table alias) { - return new DecryptLog(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public DecryptLog rename(String name) { - return new DecryptLog(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public DecryptLog rename(Name name) { - return new DecryptLog(name, null); - } - - /** - * Rename this table - */ - @Override - public DecryptLog rename(Table name) { - return new DecryptLog(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row9 type methods - // ------------------------------------------------------------------------- - - @Override - public Row9 fieldsRow() { - return (Row9) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function9 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function9 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/DownloadLog.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/DownloadLog.java deleted file mode 100644 index 8602b63..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/DownloadLog.java +++ /dev/null @@ -1,195 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.time.LocalDateTime; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.DownloadLogRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function7; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row7; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * 下载行为记录 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DownloadLog extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.download_log - */ - public static final DownloadLog DOWNLOAD_LOG = new DownloadLog(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return DownloadLogRecord.class; - } - - /** - * The column public.download_log.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.download_log.weid. weid - */ - public final TableField WEID = createField(DSL.name("weid"), SQLDataType.VARCHAR(32), this, "weid"); - - /** - * The column public.download_log.downloadtime. 下载时间 - */ - public final TableField DOWNLOADTIME = createField(DSL.name("downloadtime"), SQLDataType.LOCALDATETIME(0), this, "下载时间"); - - /** - * The column public.download_log.filenum. 下载文件数 - */ - public final TableField FILENUM = createField(DSL.name("filenum"), SQLDataType.INTEGER, this, "下载文件数"); - - /** - * The column public.download_log.content_type. - * 下载类型(1文件包/2单个附件(SyncFile)/3单个件(DirecotryFile)) - */ - public final TableField CONTENT_TYPE = createField(DSL.name("content_type"), SQLDataType.INTEGER, this, "下载类型(1文件包/2单个附件(SyncFile)/3单个件(DirecotryFile))"); - - /** - * The column public.download_log.contentid. - * 下载记录ID(如果是单个文件,就取ID,如果是包,就是包内包含的文件的ID列表) - */ - public final TableField CONTENTID = createField(DSL.name("contentid"), SQLDataType.VARCHAR(255), this, "下载记录ID(如果是单个文件,就取ID,如果是包,就是包内包含的文件的ID列表)"); - - /** - * The column public.download_log.sign. 数字签名 - */ - public final TableField SIGN = createField(DSL.name("sign"), SQLDataType.VARCHAR(255), this, "数字签名"); - - private DownloadLog(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private DownloadLog(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("下载行为记录"), TableOptions.table()); - } - - /** - * Create an aliased public.download_log table reference - */ - public DownloadLog(String alias) { - this(DSL.name(alias), DOWNLOAD_LOG); - } - - /** - * Create an aliased public.download_log table reference - */ - public DownloadLog(Name alias) { - this(alias, DOWNLOAD_LOG); - } - - /** - * Create a public.download_log table reference - */ - public DownloadLog() { - this(DSL.name("download_log"), null); - } - - public DownloadLog(Table child, ForeignKey key) { - super(child, key, DOWNLOAD_LOG); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.DOWNLOAD_LOG_PKEY; - } - - @Override - public DownloadLog as(String alias) { - return new DownloadLog(DSL.name(alias), this); - } - - @Override - public DownloadLog as(Name alias) { - return new DownloadLog(alias, this); - } - - @Override - public DownloadLog as(Table alias) { - return new DownloadLog(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public DownloadLog rename(String name) { - return new DownloadLog(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public DownloadLog rename(Name name) { - return new DownloadLog(name, null); - } - - /** - * Rename this table - */ - @Override - public DownloadLog rename(Table name) { - return new DownloadLog(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row7 type methods - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function7 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function7 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApply.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApply.java deleted file mode 100644 index ff4122b..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApply.java +++ /dev/null @@ -1,366 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApply extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.files_apply - */ - public static final FilesApply FILES_APPLY = new FilesApply(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return FilesApplyRecord.class; - } - - /** - * The column public.files_apply.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.files_apply.apply_user_id. - */ - public final TableField APPLY_USER_ID = createField(DSL.name("apply_user_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.files_apply.apply_user_name. - */ - public final TableField APPLY_USER_NAME = createField(DSL.name("apply_user_name"), SQLDataType.VARCHAR(200).nullable(false), this, ""); - - /** - * The column public.files_apply.apply_user_phone. - */ - public final TableField APPLY_USER_PHONE = createField(DSL.name("apply_user_phone"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.files_apply.apply_user_email. - */ - public final TableField APPLY_USER_EMAIL = createField(DSL.name("apply_user_email"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.apply_org_id. - */ - public final TableField APPLY_ORG_ID = createField(DSL.name("apply_org_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.files_apply.apply_org_name. - */ - public final TableField APPLY_ORG_NAME = createField(DSL.name("apply_org_name"), SQLDataType.VARCHAR(200).nullable(false), this, ""); - - /** - * The column public.files_apply.apply_in_check_user_id. - */ - public final TableField APPLY_IN_CHECK_USER_ID = createField(DSL.name("apply_in_check_user_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.apply_in_check_user_name. - */ - public final TableField APPLY_IN_CHECK_USER_NAME = createField(DSL.name("apply_in_check_user_name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply.apply_in_check_org_id. - */ - public final TableField APPLY_IN_CHECK_ORG_ID = createField(DSL.name("apply_in_check_org_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.apply_in_check_org_name. - */ - public final TableField APPLY_IN_CHECK_ORG_NAME = createField(DSL.name("apply_in_check_org_name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply.apply_next_check_org_id. - */ - public final TableField APPLY_NEXT_CHECK_ORG_ID = createField(DSL.name("apply_next_check_org_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.apply_next_check_org_name. - */ - public final TableField APPLY_NEXT_CHECK_ORG_NAME = createField(DSL.name("apply_next_check_org_name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply.apply_end_check_user_id. - */ - public final TableField APPLY_END_CHECK_USER_ID = createField(DSL.name("apply_end_check_user_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.apply_end_check_user_name. - */ - public final TableField APPLY_END_CHECK_USER_NAME = createField(DSL.name("apply_end_check_user_name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply.apply_end_check_org_id. - */ - public final TableField APPLY_END_CHECK_ORG_ID = createField(DSL.name("apply_end_check_org_id"), SQLDataType.VARCHAR(32).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply.apply_end_check_org_name. - */ - public final TableField APPLY_END_CHECK_ORG_NAME = createField(DSL.name("apply_end_check_org_name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply.apply_days. - */ - public final TableField APPLY_DAYS = createField(DSL.name("apply_days"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.files_apply.apply_feedback. - */ - public final TableField APPLY_FEEDBACK = createField(DSL.name("apply_feedback"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.apply_reason. - */ - public final TableField APPLY_REASON = createField(DSL.name("apply_reason"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply.apply_cancel_reason. - */ - public final TableField APPLY_CANCEL_REASON = createField(DSL.name("apply_cancel_reason"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply.apply_view_type_print. - */ - public final TableField APPLY_VIEW_TYPE_PRINT = createField(DSL.name("apply_view_type_print"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.files_apply.apply_view_type_online. - */ - public final TableField APPLY_VIEW_TYPE_ONLINE = createField(DSL.name("apply_view_type_online"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.files_apply.apply_file_num. - */ - public final TableField APPLY_FILE_NUM = createField(DSL.name("apply_file_num"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.files_apply.apply_time. - */ - public final TableField APPLY_TIME = createField(DSL.name("apply_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column public.files_apply.apply_check_is_finish. - */ - public final TableField APPLY_CHECK_IS_FINISH = createField(DSL.name("apply_check_is_finish"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.files_apply.provider_org_id. - */ - public final TableField PROVIDER_ORG_ID = createField(DSL.name("provider_org_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.files_apply.provider_org_name. - */ - public final TableField PROVIDER_ORG_NAME = createField(DSL.name("provider_org_name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply.provider_file_properties. - */ - public final TableField PROVIDER_FILE_PROPERTIES = createField(DSL.name("provider_file_properties"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.files_apply.provider_use_start_time. - */ - public final TableField PROVIDER_USE_START_TIME = createField(DSL.name("provider_use_start_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column public.files_apply.provider_use_end_time. - */ - public final TableField PROVIDER_USE_END_TIME = createField(DSL.name("provider_use_end_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column public.files_apply.provider_in_check_user_id. - */ - public final TableField PROVIDER_IN_CHECK_USER_ID = createField(DSL.name("provider_in_check_user_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.provider_in_check_user_name. - */ - public final TableField PROVIDER_IN_CHECK_USER_NAME = createField(DSL.name("provider_in_check_user_name"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.provider_in_check_org_id. - */ - public final TableField PROVIDER_IN_CHECK_ORG_ID = createField(DSL.name("provider_in_check_org_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.provider_in_check_org_name. - */ - public final TableField PROVIDER_IN_CHECK_ORG_NAME = createField(DSL.name("provider_in_check_org_name"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column - * public.files_apply.provider_next_check_role_sign_id. - */ - public final TableField PROVIDER_NEXT_CHECK_ROLE_SIGN_ID = createField(DSL.name("provider_next_check_role_sign_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column - * public.files_apply.provider_next_check_role_sign_name. - */ - public final TableField PROVIDER_NEXT_CHECK_ROLE_SIGN_NAME = createField(DSL.name("provider_next_check_role_sign_name"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.provider_end_check_user_id. - */ - public final TableField PROVIDER_END_CHECK_USER_ID = createField(DSL.name("provider_end_check_user_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.provider_end_check_user_name. - */ - public final TableField PROVIDER_END_CHECK_USER_NAME = createField(DSL.name("provider_end_check_user_name"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.provider_end_check_org_id. - */ - public final TableField PROVIDER_END_CHECK_ORG_ID = createField(DSL.name("provider_end_check_org_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.provider_end_check_org_name. - */ - public final TableField PROVIDER_END_CHECK_ORG_NAME = createField(DSL.name("provider_end_check_org_name"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.provider_check_is_finish. - */ - public final TableField PROVIDER_CHECK_IS_FINISH = createField(DSL.name("provider_check_is_finish"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.files_apply.secret_key. - */ - public final TableField SECRET_KEY = createField(DSL.name("secret_key"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.status. - */ - public final TableField STATUS = createField(DSL.name("status"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("1"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.files_apply.project_id. - */ - public final TableField PROJECT_ID = createField(DSL.name("project_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.project_name. - */ - public final TableField PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply.sign. 签名 - */ - public final TableField SIGN = createField(DSL.name("sign"), SQLDataType.VARCHAR(500), this, "签名"); - - private FilesApply(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private FilesApply(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.files_apply table reference - */ - public FilesApply(String alias) { - this(DSL.name(alias), FILES_APPLY); - } - - /** - * Create an aliased public.files_apply table reference - */ - public FilesApply(Name alias) { - this(alias, FILES_APPLY); - } - - /** - * Create a public.files_apply table reference - */ - public FilesApply() { - this(DSL.name("files_apply"), null); - } - - public FilesApply(Table child, ForeignKey key) { - super(child, key, FILES_APPLY); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.FILES_APPLY_PKEY; - } - - @Override - public FilesApply as(String alias) { - return new FilesApply(DSL.name(alias), this); - } - - @Override - public FilesApply as(Name alias) { - return new FilesApply(alias, this); - } - - @Override - public FilesApply as(Table alias) { - return new FilesApply(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public FilesApply rename(String name) { - return new FilesApply(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public FilesApply rename(Name name) { - return new FilesApply(name, null); - } - - /** - * Rename this table - */ - @Override - public FilesApply rename(Table name) { - return new FilesApply(name.getQualifiedName(), null); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyCheckRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyCheckRecord.java deleted file mode 100644 index 7e79f7a..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyCheckRecord.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.time.LocalDateTime; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyCheckRecordRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function15; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row15; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyCheckRecord extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.files_apply_check_record - */ - public static final FilesApplyCheckRecord FILES_APPLY_CHECK_RECORD = new FilesApplyCheckRecord(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return FilesApplyCheckRecordRecord.class; - } - - /** - * The column public.files_apply_check_record.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.files_apply_check_record.files_apply_id. - */ - public final TableField FILES_APPLY_ID = createField(DSL.name("files_apply_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column - * public.files_apply_check_record.is_apply_provider. - */ - public final TableField IS_APPLY_PROVIDER = createField(DSL.name("is_apply_provider"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.files_apply_check_record.check_user_id. - */ - public final TableField CHECK_USER_ID = createField(DSL.name("check_user_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply_check_record.check_user_name. - */ - public final TableField CHECK_USER_NAME = createField(DSL.name("check_user_name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_check_record.check_org_id. - */ - public final TableField CHECK_ORG_ID = createField(DSL.name("check_org_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.files_apply_check_record.check_org_name. - */ - public final TableField CHECK_ORG_NAME = createField(DSL.name("check_org_name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column - * public.files_apply_check_record.next_check_org_id. - */ - public final TableField NEXT_CHECK_ORG_ID = createField(DSL.name("next_check_org_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column - * public.files_apply_check_record.next_check_org_name. - */ - public final TableField NEXT_CHECK_ORG_NAME = createField(DSL.name("next_check_org_name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_check_record.check_describe. - */ - public final TableField CHECK_DESCRIBE = createField(DSL.name("check_describe"), SQLDataType.VARCHAR(500).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_check_record.check_status. - */ - public final TableField CHECK_STATUS = createField(DSL.name("check_status"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("1"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.files_apply_check_record.check_time. - */ - public final TableField CHECK_TIME = createField(DSL.name("check_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column - * public.files_apply_check_record.provider_next_check_role_sign_id. - */ - public final TableField PROVIDER_NEXT_CHECK_ROLE_SIGN_ID = createField(DSL.name("provider_next_check_role_sign_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column - * public.files_apply_check_record.provider_next_check_role_sign_name. - */ - public final TableField PROVIDER_NEXT_CHECK_ROLE_SIGN_NAME = createField(DSL.name("provider_next_check_role_sign_name"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_check_record.sign. - */ - public final TableField SIGN = createField(DSL.name("sign"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - private FilesApplyCheckRecord(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private FilesApplyCheckRecord(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.files_apply_check_record table - * reference - */ - public FilesApplyCheckRecord(String alias) { - this(DSL.name(alias), FILES_APPLY_CHECK_RECORD); - } - - /** - * Create an aliased public.files_apply_check_record table - * reference - */ - public FilesApplyCheckRecord(Name alias) { - this(alias, FILES_APPLY_CHECK_RECORD); - } - - /** - * Create a public.files_apply_check_record table reference - */ - public FilesApplyCheckRecord() { - this(DSL.name("files_apply_check_record"), null); - } - - public FilesApplyCheckRecord(Table child, ForeignKey key) { - super(child, key, FILES_APPLY_CHECK_RECORD); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.FILES_APPLY_CHECK_RECORD_PKEY; - } - - @Override - public FilesApplyCheckRecord as(String alias) { - return new FilesApplyCheckRecord(DSL.name(alias), this); - } - - @Override - public FilesApplyCheckRecord as(Name alias) { - return new FilesApplyCheckRecord(alias, this); - } - - @Override - public FilesApplyCheckRecord as(Table alias) { - return new FilesApplyCheckRecord(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public FilesApplyCheckRecord rename(String name) { - return new FilesApplyCheckRecord(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public FilesApplyCheckRecord rename(Name name) { - return new FilesApplyCheckRecord(name, null); - } - - /** - * Rename this table - */ - @Override - public FilesApplyCheckRecord rename(Table name) { - return new FilesApplyCheckRecord(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row15 type methods - // ------------------------------------------------------------------------- - - @Override - public Row15 fieldsRow() { - return (Row15) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function15 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function15 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyDirectoryDocs.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyDirectoryDocs.java deleted file mode 100644 index 4a2da12..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyDirectoryDocs.java +++ /dev/null @@ -1,246 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyDirectoryDocsRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyDirectoryDocs extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.files_apply_directory_docs - */ - public static final FilesApplyDirectoryDocs FILES_APPLY_DIRECTORY_DOCS = new FilesApplyDirectoryDocs(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return FilesApplyDirectoryDocsRecord.class; - } - - /** - * The column public.files_apply_directory_docs.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.files_apply_directory_docs.files_apply_id. - */ - public final TableField FILES_APPLY_ID = createField(DSL.name("files_apply_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column - * public.files_apply_directory_docs.directory_file_id. - */ - public final TableField DIRECTORY_FILE_ID = createField(DSL.name("directory_file_id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column - * public.files_apply_directory_docs.directory_file_p_id. - */ - public final TableField DIRECTORY_FILE_P_ID = createField(DSL.name("directory_file_p_id"), SQLDataType.VARCHAR(50), this, ""); - - /** - * The column public.files_apply_directory_docs.filesuper. - */ - public final TableField FILESUPER = createField(DSL.name("filesuper"), SQLDataType.VARCHAR(500).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.filecount. - */ - public final TableField FILECOUNT = createField(DSL.name("filecount"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.files_apply_directory_docs.dutyperson. - */ - public final TableField DUTYPERSON = createField(DSL.name("dutyperson"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.eweavedate. - */ - public final TableField EWEAVEDATE = createField(DSL.name("eweavedate"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.filepage. - */ - public final TableField FILEPAGE = createField(DSL.name("filepage"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.files_apply_directory_docs.sortorder. - */ - public final TableField SORTORDER = createField(DSL.name("sortorder"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.bpeg. - */ - public final TableField BPEG = createField(DSL.name("bpeg"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.epeg. - */ - public final TableField EPEG = createField(DSL.name("epeg"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.filenum. - */ - public final TableField FILENUM = createField(DSL.name("filenum"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.remark. - */ - public final TableField REMARK = createField(DSL.name("remark"), SQLDataType.VARCHAR(300).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.recordnum. - */ - public final TableField RECORDNUM = createField(DSL.name("recordnum"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.piecenumber. - */ - public final TableField PIECENUMBER = createField(DSL.name("piecenumber"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.adddate. - */ - public final TableField ADDDATE = createField(DSL.name("adddate"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.editdate. - */ - public final TableField EDITDATE = createField(DSL.name("editdate"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.time_stamp. - */ - public final TableField TIME_STAMP = createField(DSL.name("time_stamp"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.isdel. - */ - public final TableField ISDEL = createField(DSL.name("isdel"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.files_apply_directory_docs.catalogpdfurl. - */ - public final TableField CATALOGPDFURL = createField(DSL.name("catalogpdfurl"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.signtag. - */ - public final TableField SIGNTAG = createField(DSL.name("signtag"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_directory_docs.collecttag. - */ - public final TableField COLLECTTAG = createField(DSL.name("collecttag"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - private FilesApplyDirectoryDocs(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private FilesApplyDirectoryDocs(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.files_apply_directory_docs table - * reference - */ - public FilesApplyDirectoryDocs(String alias) { - this(DSL.name(alias), FILES_APPLY_DIRECTORY_DOCS); - } - - /** - * Create an aliased public.files_apply_directory_docs table - * reference - */ - public FilesApplyDirectoryDocs(Name alias) { - this(alias, FILES_APPLY_DIRECTORY_DOCS); - } - - /** - * Create a public.files_apply_directory_docs table reference - */ - public FilesApplyDirectoryDocs() { - this(DSL.name("files_apply_directory_docs"), null); - } - - public FilesApplyDirectoryDocs(Table child, ForeignKey key) { - super(child, key, FILES_APPLY_DIRECTORY_DOCS); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.FILES_APPLY_DIRECTORY_DOCS_PKEY; - } - - @Override - public FilesApplyDirectoryDocs as(String alias) { - return new FilesApplyDirectoryDocs(DSL.name(alias), this); - } - - @Override - public FilesApplyDirectoryDocs as(Name alias) { - return new FilesApplyDirectoryDocs(alias, this); - } - - @Override - public FilesApplyDirectoryDocs as(Table alias) { - return new FilesApplyDirectoryDocs(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public FilesApplyDirectoryDocs rename(String name) { - return new FilesApplyDirectoryDocs(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public FilesApplyDirectoryDocs rename(Name name) { - return new FilesApplyDirectoryDocs(name, null); - } - - /** - * Rename this table - */ - @Override - public FilesApplyDirectoryDocs rename(Table name) { - return new FilesApplyDirectoryDocs(name.getQualifiedName(), null); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyDocs.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyDocs.java deleted file mode 100644 index 8509ddc..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyDocs.java +++ /dev/null @@ -1,271 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.util.Arrays; -import java.util.List; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Indexes; -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyDocsRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function21; -import org.jooq.Index; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row21; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyDocs extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.files_apply_docs - */ - public static final FilesApplyDocs FILES_APPLY_DOCS = new FilesApplyDocs(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return FilesApplyDocsRecord.class; - } - - /** - * The column public.files_apply_docs.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.files_apply_docs.files_apply_id. - */ - public final TableField FILES_APPLY_ID = createField(DSL.name("files_apply_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.files_apply_docs.syn_file_id. - */ - public final TableField SYN_FILE_ID = createField(DSL.name("syn_file_id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column public.files_apply_docs.syn_file_p_id. - */ - public final TableField SYN_FILE_P_ID = createField(DSL.name("syn_file_p_id"), SQLDataType.VARCHAR(50), this, ""); - - /** - * The column public.files_apply_docs.tablenumber. - */ - public final TableField TABLENUMBER = createField(DSL.name("tablenumber"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.annexname. - */ - public final TableField ANNEXNAME = createField(DSL.name("annexname"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.projectname. - */ - public final TableField PROJECTNAME = createField(DSL.name("projectname"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.eweavedate. - */ - public final TableField EWEAVEDATE = createField(DSL.name("eweavedate"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.checkdate. - */ - public final TableField CHECKDATE = createField(DSL.name("checkdate"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.annexpage. - */ - public final TableField ANNEXPAGE = createField(DSL.name("annexpage"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.files_apply_docs.sortorder. - */ - public final TableField SORTORDER = createField(DSL.name("sortorder"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.filefrom. - */ - public final TableField FILEFROM = createField(DSL.name("filefrom"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.archivestag. - */ - public final TableField ARCHIVESTAG = createField(DSL.name("archivestag"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.adddate. - */ - public final TableField ADDDATE = createField(DSL.name("adddate"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.editdate. - */ - public final TableField EDITDATE = createField(DSL.name("editdate"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.time_stamp. - */ - public final TableField TIME_STAMP = createField(DSL.name("time_stamp"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.isdel. - */ - public final TableField ISDEL = createField(DSL.name("isdel"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.files_apply_docs.downurl. - */ - public final TableField DOWNURL = createField(DSL.name("downurl"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_docs.filesize. - */ - public final TableField FILESIZE = createField(DSL.name("filesize"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.files_apply_docs.apply_view_type_print. - */ - public final TableField APPLY_VIEW_TYPE_PRINT = createField(DSL.name("apply_view_type_print"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.files_apply_docs.apply_view_type_online. - */ - public final TableField APPLY_VIEW_TYPE_ONLINE = createField(DSL.name("apply_view_type_online"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - private FilesApplyDocs(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private FilesApplyDocs(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.files_apply_docs table reference - */ - public FilesApplyDocs(String alias) { - this(DSL.name(alias), FILES_APPLY_DOCS); - } - - /** - * Create an aliased public.files_apply_docs table reference - */ - public FilesApplyDocs(Name alias) { - this(alias, FILES_APPLY_DOCS); - } - - /** - * Create a public.files_apply_docs table reference - */ - public FilesApplyDocs() { - this(DSL.name("files_apply_docs"), null); - } - - public FilesApplyDocs(Table child, ForeignKey key) { - super(child, key, FILES_APPLY_DOCS); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.FILES_APPLY_DOCS_FILES_APPLY_ID_IDX); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.FILES_APPLY_DOCS_PKEY; - } - - @Override - public FilesApplyDocs as(String alias) { - return new FilesApplyDocs(DSL.name(alias), this); - } - - @Override - public FilesApplyDocs as(Name alias) { - return new FilesApplyDocs(alias, this); - } - - @Override - public FilesApplyDocs as(Table alias) { - return new FilesApplyDocs(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public FilesApplyDocs rename(String name) { - return new FilesApplyDocs(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public FilesApplyDocs rename(Name name) { - return new FilesApplyDocs(name, null); - } - - /** - * Rename this table - */ - @Override - public FilesApplyDocs rename(Table name) { - return new FilesApplyDocs(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row21 type methods - // ------------------------------------------------------------------------- - - @Override - public Row21 fieldsRow() { - return (Row21) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function21 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function21 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyDownloadRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyDownloadRecord.java deleted file mode 100644 index 046a4b2..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/FilesApplyDownloadRecord.java +++ /dev/null @@ -1,216 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.time.LocalDateTime; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyDownloadRecordRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function11; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row11; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyDownloadRecord extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.files_apply_download_record - */ - public static final FilesApplyDownloadRecord FILES_APPLY_DOWNLOAD_RECORD = new FilesApplyDownloadRecord(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return FilesApplyDownloadRecordRecord.class; - } - - /** - * The column public.files_apply_download_record.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column - * public.files_apply_download_record.files_apply_id. - */ - public final TableField FILES_APPLY_ID = createField(DSL.name("files_apply_id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column public.files_apply_download_record.is_dir_file. - */ - public final TableField IS_DIR_FILE = createField(DSL.name("is_dir_file"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.files_apply_download_record.syn_file_id. - */ - public final TableField SYN_FILE_ID = createField(DSL.name("syn_file_id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column public.files_apply_download_record.syn_file_p_id. - */ - public final TableField SYN_FILE_P_ID = createField(DSL.name("syn_file_p_id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column public.files_apply_download_record.syn_file_name. - */ - public final TableField SYN_FILE_NAME = createField(DSL.name("syn_file_name"), SQLDataType.VARCHAR(200).nullable(false), this, ""); - - /** - * The column public.files_apply_download_record.user_id. - */ - public final TableField USER_ID = createField(DSL.name("user_id"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_download_record.user_name. - */ - public final TableField USER_NAME = createField(DSL.name("user_name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_download_record.org_id. - */ - public final TableField ORG_ID = createField(DSL.name("org_id"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_download_record.org_name. - */ - public final TableField ORG_NAME = createField(DSL.name("org_name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.files_apply_download_record.download_time. - */ - public final TableField DOWNLOAD_TIME = createField(DSL.name("download_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - private FilesApplyDownloadRecord(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private FilesApplyDownloadRecord(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.files_apply_download_record table - * reference - */ - public FilesApplyDownloadRecord(String alias) { - this(DSL.name(alias), FILES_APPLY_DOWNLOAD_RECORD); - } - - /** - * Create an aliased public.files_apply_download_record table - * reference - */ - public FilesApplyDownloadRecord(Name alias) { - this(alias, FILES_APPLY_DOWNLOAD_RECORD); - } - - /** - * Create a public.files_apply_download_record table reference - */ - public FilesApplyDownloadRecord() { - this(DSL.name("files_apply_download_record"), null); - } - - public FilesApplyDownloadRecord(Table child, ForeignKey key) { - super(child, key, FILES_APPLY_DOWNLOAD_RECORD); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.FILES_APPLY_DOWNLOAD_RECORD_PKEY; - } - - @Override - public FilesApplyDownloadRecord as(String alias) { - return new FilesApplyDownloadRecord(DSL.name(alias), this); - } - - @Override - public FilesApplyDownloadRecord as(Name alias) { - return new FilesApplyDownloadRecord(alias, this); - } - - @Override - public FilesApplyDownloadRecord as(Table alias) { - return new FilesApplyDownloadRecord(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public FilesApplyDownloadRecord rename(String name) { - return new FilesApplyDownloadRecord(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public FilesApplyDownloadRecord rename(Name name) { - return new FilesApplyDownloadRecord(name, null); - } - - /** - * Rename this table - */ - @Override - public FilesApplyDownloadRecord rename(Table name) { - return new FilesApplyDownloadRecord(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row11 type methods - // ------------------------------------------------------------------------- - - @Override - public Row11 fieldsRow() { - return (Row11) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function11 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function11 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/Project.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/Project.java deleted file mode 100644 index 7466ef0..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/Project.java +++ /dev/null @@ -1,177 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.ProjectRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function4; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row4; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Project extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.project - */ - public static final Project PROJECT = new Project(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return ProjectRecord.class; - } - - /** - * The column public.project.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR.nullable(false), this, ""); - - /** - * The column public.project.project_name. - */ - public final TableField PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.VARCHAR.nullable(false), this, ""); - - /** - * The column public.project.org_id. - */ - public final TableField ORG_ID = createField(DSL.name("org_id"), SQLDataType.VARCHAR, this, ""); - - /** - * The column public.project.org_name. - */ - public final TableField ORG_NAME = createField(DSL.name("org_name"), SQLDataType.VARCHAR, this, ""); - - private Project(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private Project(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.project table reference - */ - public Project(String alias) { - this(DSL.name(alias), PROJECT); - } - - /** - * Create an aliased public.project table reference - */ - public Project(Name alias) { - this(alias, PROJECT); - } - - /** - * Create a public.project table reference - */ - public Project() { - this(DSL.name("project"), null); - } - - public Project(Table child, ForeignKey key) { - super(child, key, PROJECT); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.PROJECT_PKEY; - } - - @Override - public Project as(String alias) { - return new Project(DSL.name(alias), this); - } - - @Override - public Project as(Name alias) { - return new Project(alias, this); - } - - @Override - public Project as(Table alias) { - return new Project(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public Project rename(String name) { - return new Project(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public Project rename(Name name) { - return new Project(name, null); - } - - /** - * Rename this table - */ - @Override - public Project rename(Table name) { - return new Project(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row4 type methods - // ------------------------------------------------------------------------- - - @Override - public Row4 fieldsRow() { - return (Row4) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function4 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function4 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/ReadLog.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/ReadLog.java deleted file mode 100644 index 39d7a57..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/ReadLog.java +++ /dev/null @@ -1,223 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.time.LocalDateTime; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.ReadLogRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function13; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row13; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * 阅读情况 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ReadLog extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.read_log - */ - public static final ReadLog READ_LOG = new ReadLog(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return ReadLogRecord.class; - } - - /** - * The column public.read_log.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.read_log.weid. 申请人id - */ - public final TableField WEID = createField(DSL.name("weid"), SQLDataType.VARCHAR(255), this, "申请人id"); - - /** - * The column public.read_log.content_id. 档案id - */ - public final TableField CONTENT_ID = createField(DSL.name("content_id"), SQLDataType.VARCHAR(255), this, "档案id"); - - /** - * The column public.read_log.starttime. 开始时间 - */ - public final TableField STARTTIME = createField(DSL.name("starttime"), SQLDataType.LOCALDATETIME(6), this, "开始时间"); - - /** - * The column public.read_log.endtime. 结束时间 - */ - public final TableField ENDTIME = createField(DSL.name("endtime"), SQLDataType.LOCALDATETIME(6), this, "结束时间"); - - /** - * The column public.read_log.ip. ip地址 - */ - public final TableField IP = createField(DSL.name("ip"), SQLDataType.VARCHAR(32), this, "ip地址"); - - /** - * The column public.read_log.location. 区域 - */ - public final TableField LOCATION = createField(DSL.name("location"), SQLDataType.VARCHAR(255), this, "区域"); - - /** - * The column public.read_log.downloadtype. 下载类型(1文件包/0单文件) - */ - public final TableField DOWNLOADTYPE = createField(DSL.name("downloadtype"), SQLDataType.INTEGER, this, "下载类型(1文件包/0单文件)"); - - /** - * The column public.read_log.sign. 数字签名 - */ - public final TableField SIGN = createField(DSL.name("sign"), SQLDataType.VARCHAR(255), this, "数字签名"); - - /** - * The column public.read_log.readid. 一次阅读凭证id - */ - public final TableField READID = createField(DSL.name("readid"), SQLDataType.VARCHAR(32), this, "一次阅读凭证id"); - - /** - * The column public.read_log.sm9hibeid. 秘钥id - */ - public final TableField SM9HIBEID = createField(DSL.name("sm9hibeid"), SQLDataType.VARCHAR(255), this, "秘钥id"); - - /** - * The column public.read_log.content_type. 档案类型 - */ - public final TableField CONTENT_TYPE = createField(DSL.name("content_type"), SQLDataType.INTEGER, this, "档案类型"); - - /** - * The column public.read_log.ischeck. 是否上链(1是,0否) - */ - public final TableField ISCHECK = createField(DSL.name("ischeck"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "是否上链(1是,0否)"); - - private ReadLog(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private ReadLog(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("阅读情况"), TableOptions.table()); - } - - /** - * Create an aliased public.read_log table reference - */ - public ReadLog(String alias) { - this(DSL.name(alias), READ_LOG); - } - - /** - * Create an aliased public.read_log table reference - */ - public ReadLog(Name alias) { - this(alias, READ_LOG); - } - - /** - * Create a public.read_log table reference - */ - public ReadLog() { - this(DSL.name("read_log"), null); - } - - public ReadLog(Table child, ForeignKey key) { - super(child, key, READ_LOG); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.READ_LOG_PKEY; - } - - @Override - public ReadLog as(String alias) { - return new ReadLog(DSL.name(alias), this); - } - - @Override - public ReadLog as(Name alias) { - return new ReadLog(alias, this); - } - - @Override - public ReadLog as(Table alias) { - return new ReadLog(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public ReadLog rename(String name) { - return new ReadLog(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public ReadLog rename(Name name) { - return new ReadLog(name, null); - } - - /** - * Rename this table - */ - @Override - public ReadLog rename(Table name) { - return new ReadLog(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row13 type methods - // ------------------------------------------------------------------------- - - @Override - public Row13 fieldsRow() { - return (Row13) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function13 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function13 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SharedRuleConfig.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SharedRuleConfig.java deleted file mode 100644 index 0b6fda0..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SharedRuleConfig.java +++ /dev/null @@ -1,187 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.SharedRuleConfigRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function6; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row6; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SharedRuleConfig extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.shared_rule_config - */ - public static final SharedRuleConfig SHARED_RULE_CONFIG = new SharedRuleConfig(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SharedRuleConfigRecord.class; - } - - /** - * The column public.shared_rule_config.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR.nullable(false), this, ""); - - /** - * The column public.shared_rule_config.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, ""); - - /** - * The column public.shared_rule_config.describe. - */ - public final TableField DESCRIBE = createField(DSL.name("describe"), SQLDataType.VARCHAR.nullable(false), this, ""); - - /** - * The column public.shared_rule_config.status. - */ - public final TableField STATUS = createField(DSL.name("status"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("1"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.shared_rule_config.sort. - */ - public final TableField SORT = createField(DSL.name("sort"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.shared_rule_config.project_name. - */ - public final TableField PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.VARCHAR.nullable(false), this, ""); - - private SharedRuleConfig(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SharedRuleConfig(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.shared_rule_config table reference - */ - public SharedRuleConfig(String alias) { - this(DSL.name(alias), SHARED_RULE_CONFIG); - } - - /** - * Create an aliased public.shared_rule_config table reference - */ - public SharedRuleConfig(Name alias) { - this(alias, SHARED_RULE_CONFIG); - } - - /** - * Create a public.shared_rule_config table reference - */ - public SharedRuleConfig() { - this(DSL.name("shared_rule_config"), null); - } - - public SharedRuleConfig(Table child, ForeignKey key) { - super(child, key, SHARED_RULE_CONFIG); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SHARED_RULE_CONFIG_PKEY; - } - - @Override - public SharedRuleConfig as(String alias) { - return new SharedRuleConfig(DSL.name(alias), this); - } - - @Override - public SharedRuleConfig as(Name alias) { - return new SharedRuleConfig(alias, this); - } - - @Override - public SharedRuleConfig as(Table alias) { - return new SharedRuleConfig(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SharedRuleConfig rename(String name) { - return new SharedRuleConfig(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SharedRuleConfig rename(Name name) { - return new SharedRuleConfig(name, null); - } - - /** - * Rename this table - */ - @Override - public SharedRuleConfig rename(Table name) { - return new SharedRuleConfig(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row6 type methods - // ------------------------------------------------------------------------- - - @Override - public Row6 fieldsRow() { - return (Row6) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function6 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function6 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SharedSynAll.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SharedSynAll.java deleted file mode 100644 index 5667ef2..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SharedSynAll.java +++ /dev/null @@ -1,209 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.util.Arrays; -import java.util.List; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.SharedSynAllRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function9; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row9; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SharedSynAll extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.shared_syn_all - */ - public static final SharedSynAll SHARED_SYN_ALL = new SharedSynAll(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SharedSynAllRecord.class; - } - - /** - * The column public.shared_syn_all.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.shared_syn_all.syn_id. - */ - public final TableField SYN_ID = createField(DSL.name("syn_id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column public.shared_syn_all.syn_type. - */ - public final TableField SYN_TYPE = createField(DSL.name("syn_type"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.shared_syn_all.is_config_rule. - */ - public final TableField IS_CONFIG_RULE = createField(DSL.name("is_config_rule"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.shared_syn_all.shared_status. - */ - public final TableField SHARED_STATUS = createField(DSL.name("shared_status"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.shared_syn_all.syn_status. - */ - public final TableField SYN_STATUS = createField(DSL.name("syn_status"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.shared_syn_all.block_number. - */ - public final TableField BLOCK_NUMBER = createField(DSL.name("block_number"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.shared_syn_all.block_hash. - */ - public final TableField BLOCK_HASH = createField(DSL.name("block_hash"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.shared_syn_all.block_time. - */ - public final TableField BLOCK_TIME = createField(DSL.name("block_time"), SQLDataType.VARCHAR(255), this, ""); - - private SharedSynAll(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SharedSynAll(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.shared_syn_all table reference - */ - public SharedSynAll(String alias) { - this(DSL.name(alias), SHARED_SYN_ALL); - } - - /** - * Create an aliased public.shared_syn_all table reference - */ - public SharedSynAll(Name alias) { - this(alias, SHARED_SYN_ALL); - } - - /** - * Create a public.shared_syn_all table reference - */ - public SharedSynAll() { - this(DSL.name("shared_syn_all"), null); - } - - public SharedSynAll(Table child, ForeignKey key) { - super(child, key, SHARED_SYN_ALL); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SHARED_SYN_ALL_PKEY; - } - - @Override - public List> getUniqueKeys() { - return Arrays.asList(Keys.SHARED_SYN_ALL_SYN_ID_KEY, Keys.SHARED_SYN_ALL_SYN_ID_SYN_TYPE_KEY); - } - - @Override - public SharedSynAll as(String alias) { - return new SharedSynAll(DSL.name(alias), this); - } - - @Override - public SharedSynAll as(Name alias) { - return new SharedSynAll(alias, this); - } - - @Override - public SharedSynAll as(Table alias) { - return new SharedSynAll(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SharedSynAll rename(String name) { - return new SharedSynAll(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SharedSynAll rename(Name name) { - return new SharedSynAll(name, null); - } - - /** - * Rename this table - */ - @Override - public SharedSynAll rename(Table name) { - return new SharedSynAll(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row9 type methods - // ------------------------------------------------------------------------- - - @Override - public Row9 fieldsRow() { - return (Row9) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function9 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function9 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SynDirectory.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SynDirectory.java deleted file mode 100644 index 7791297..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SynDirectory.java +++ /dev/null @@ -1,206 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.util.Arrays; -import java.util.List; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Indexes; -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.SynDirectoryRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function8; -import org.jooq.Index; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row8; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SynDirectory extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.syn_directory - */ - public static final SynDirectory SYN_DIRECTORY = new SynDirectory(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SynDirectoryRecord.class; - } - - /** - * The column public.syn_directory.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column public.syn_directory.p_id. - */ - public final TableField P_ID = createField(DSL.name("p_id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column public.syn_directory.wbs_id. - */ - public final TableField WBS_ID = createField(DSL.name("wbs_id"), SQLDataType.VARCHAR(50), this, ""); - - /** - * The column public.syn_directory.time_stamp. - */ - public final TableField TIME_STAMP = createField(DSL.name("time_stamp"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory.sortorder. - */ - public final TableField SORTORDER = createField(DSL.name("sortorder"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.syn_directory.tname. - */ - public final TableField TNAME = createField(DSL.name("tname"), SQLDataType.VARCHAR(300).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory.subjoin. - */ - public final TableField SUBJOIN = createField(DSL.name("subjoin"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.syn_directory.isdel. - */ - public final TableField ISDEL = createField(DSL.name("isdel"), SQLDataType.INTEGER, this, ""); - - private SynDirectory(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SynDirectory(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.syn_directory table reference - */ - public SynDirectory(String alias) { - this(DSL.name(alias), SYN_DIRECTORY); - } - - /** - * Create an aliased public.syn_directory table reference - */ - public SynDirectory(Name alias) { - this(alias, SYN_DIRECTORY); - } - - /** - * Create a public.syn_directory table reference - */ - public SynDirectory() { - this(DSL.name("syn_directory"), null); - } - - public SynDirectory(Table child, ForeignKey key) { - super(child, key, SYN_DIRECTORY); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.IDX_SYN_DIREC_PID); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SYN_DIRECTORY_PKEY; - } - - @Override - public SynDirectory as(String alias) { - return new SynDirectory(DSL.name(alias), this); - } - - @Override - public SynDirectory as(Name alias) { - return new SynDirectory(alias, this); - } - - @Override - public SynDirectory as(Table alias) { - return new SynDirectory(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SynDirectory rename(String name) { - return new SynDirectory(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SynDirectory rename(Name name) { - return new SynDirectory(name, null); - } - - /** - * Rename this table - */ - @Override - public SynDirectory rename(Table name) { - return new SynDirectory(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row8 type methods - // ------------------------------------------------------------------------- - - @Override - public Row8 fieldsRow() { - return (Row8) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function8 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function8 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SynDirectoryFile.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SynDirectoryFile.java deleted file mode 100644 index a64a1b3..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SynDirectoryFile.java +++ /dev/null @@ -1,271 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.util.Arrays; -import java.util.List; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Indexes; -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.SynDirectoryFileRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function21; -import org.jooq.Index; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row21; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SynDirectoryFile extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.syn_directory_file - */ - public static final SynDirectoryFile SYN_DIRECTORY_FILE = new SynDirectoryFile(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SynDirectoryFileRecord.class; - } - - /** - * The column public.syn_directory_file.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column public.syn_directory_file.p_id. - */ - public final TableField P_ID = createField(DSL.name("p_id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column public.syn_directory_file.filesuper. - */ - public final TableField FILESUPER = createField(DSL.name("filesuper"), SQLDataType.VARCHAR(500).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.filecount. - */ - public final TableField FILECOUNT = createField(DSL.name("filecount"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.syn_directory_file.dutyperson. - */ - public final TableField DUTYPERSON = createField(DSL.name("dutyperson"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.eweavedate. - */ - public final TableField EWEAVEDATE = createField(DSL.name("eweavedate"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.filepage. - */ - public final TableField FILEPAGE = createField(DSL.name("filepage"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.syn_directory_file.sortorder. - */ - public final TableField SORTORDER = createField(DSL.name("sortorder"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.bpeg. - */ - public final TableField BPEG = createField(DSL.name("bpeg"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.epeg. - */ - public final TableField EPEG = createField(DSL.name("epeg"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.filenum. - */ - public final TableField FILENUM = createField(DSL.name("filenum"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.remark. - */ - public final TableField REMARK = createField(DSL.name("remark"), SQLDataType.VARCHAR(300).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.recordnum. - */ - public final TableField RECORDNUM = createField(DSL.name("recordnum"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.piecenumber. - */ - public final TableField PIECENUMBER = createField(DSL.name("piecenumber"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.adddate. - */ - public final TableField ADDDATE = createField(DSL.name("adddate"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.editdate. - */ - public final TableField EDITDATE = createField(DSL.name("editdate"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.time_stamp. - */ - public final TableField TIME_STAMP = createField(DSL.name("time_stamp"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.isdel. - */ - public final TableField ISDEL = createField(DSL.name("isdel"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.syn_directory_file.catalogpdfurl. - */ - public final TableField CATALOGPDFURL = createField(DSL.name("catalogpdfurl"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.signtag. - */ - public final TableField SIGNTAG = createField(DSL.name("signtag"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_directory_file.collecttag. - */ - public final TableField COLLECTTAG = createField(DSL.name("collecttag"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - private SynDirectoryFile(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SynDirectoryFile(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.syn_directory_file table reference - */ - public SynDirectoryFile(String alias) { - this(DSL.name(alias), SYN_DIRECTORY_FILE); - } - - /** - * Create an aliased public.syn_directory_file table reference - */ - public SynDirectoryFile(Name alias) { - this(alias, SYN_DIRECTORY_FILE); - } - - /** - * Create a public.syn_directory_file table reference - */ - public SynDirectoryFile() { - this(DSL.name("syn_directory_file"), null); - } - - public SynDirectoryFile(Table child, ForeignKey key) { - super(child, key, SYN_DIRECTORY_FILE); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.IDX_SYN_DIRECTOR_FILE_PID); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SYN_DIRECTORY_FILE_PKEY; - } - - @Override - public SynDirectoryFile as(String alias) { - return new SynDirectoryFile(DSL.name(alias), this); - } - - @Override - public SynDirectoryFile as(Name alias) { - return new SynDirectoryFile(alias, this); - } - - @Override - public SynDirectoryFile as(Table alias) { - return new SynDirectoryFile(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SynDirectoryFile rename(String name) { - return new SynDirectoryFile(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SynDirectoryFile rename(Name name) { - return new SynDirectoryFile(name, null); - } - - /** - * Rename this table - */ - @Override - public SynDirectoryFile rename(Table name) { - return new SynDirectoryFile(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row21 type methods - // ------------------------------------------------------------------------- - - @Override - public Row21 fieldsRow() { - return (Row21) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function21 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function21 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SynFile.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SynFile.java deleted file mode 100644 index bcec80b..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SynFile.java +++ /dev/null @@ -1,251 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.util.Arrays; -import java.util.List; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Indexes; -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.SynFileRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function17; -import org.jooq.Index; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row17; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SynFile extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.syn_file - */ - public static final SynFile SYN_FILE = new SynFile(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SynFileRecord.class; - } - - /** - * The column public.syn_file.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column public.syn_file.p_id. - */ - public final TableField P_ID = createField(DSL.name("p_id"), SQLDataType.VARCHAR(50).nullable(false), this, ""); - - /** - * The column public.syn_file.tablenumber. - */ - public final TableField TABLENUMBER = createField(DSL.name("tablenumber"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.annexname. - */ - public final TableField ANNEXNAME = createField(DSL.name("annexname"), SQLDataType.VARCHAR(500).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.projectname. - */ - public final TableField PROJECTNAME = createField(DSL.name("projectname"), SQLDataType.VARCHAR(500).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.eweavedate. - */ - public final TableField EWEAVEDATE = createField(DSL.name("eweavedate"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.checkdate. - */ - public final TableField CHECKDATE = createField(DSL.name("checkdate"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.annexpage. - */ - public final TableField ANNEXPAGE = createField(DSL.name("annexpage"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.syn_file.sortorder. - */ - public final TableField SORTORDER = createField(DSL.name("sortorder"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.filefrom. - */ - public final TableField FILEFROM = createField(DSL.name("filefrom"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.archivestag. - */ - public final TableField ARCHIVESTAG = createField(DSL.name("archivestag"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.adddate. - */ - public final TableField ADDDATE = createField(DSL.name("adddate"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.editdate. - */ - public final TableField EDITDATE = createField(DSL.name("editdate"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.time_stamp. - */ - public final TableField TIME_STAMP = createField(DSL.name("time_stamp"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.isdel. - */ - public final TableField ISDEL = createField(DSL.name("isdel"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.syn_file.downurl. - */ - public final TableField DOWNURL = createField(DSL.name("downurl"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.syn_file.filesize. - */ - public final TableField FILESIZE = createField(DSL.name("filesize"), SQLDataType.INTEGER, this, ""); - - private SynFile(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SynFile(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.syn_file table reference - */ - public SynFile(String alias) { - this(DSL.name(alias), SYN_FILE); - } - - /** - * Create an aliased public.syn_file table reference - */ - public SynFile(Name alias) { - this(alias, SYN_FILE); - } - - /** - * Create a public.syn_file table reference - */ - public SynFile() { - this(DSL.name("syn_file"), null); - } - - public SynFile(Table child, ForeignKey key) { - super(child, key, SYN_FILE); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.IDX_SYN_FILE_PID); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SYN_FILE_PKEY; - } - - @Override - public SynFile as(String alias) { - return new SynFile(DSL.name(alias), this); - } - - @Override - public SynFile as(Name alias) { - return new SynFile(alias, this); - } - - @Override - public SynFile as(Table alias) { - return new SynFile(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SynFile rename(String name) { - return new SynFile(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SynFile rename(Name name) { - return new SynFile(name, null); - } - - /** - * Rename this table - */ - @Override - public SynFile rename(Table name) { - return new SynFile(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row17 type methods - // ------------------------------------------------------------------------- - - @Override - public Row17 fieldsRow() { - return (Row17) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function17 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function17 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdmin.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdmin.java index 80f35ad..051644f 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdmin.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdmin.java @@ -5,22 +5,22 @@ package jj.tech.paolu.repository.jooq.tables; import java.util.Arrays; +import java.util.Collection; import java.util.List; -import java.util.function.Function; import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; +import jj.tech.paolu.repository.jooq.Yx; import jj.tech.paolu.repository.jooq.tables.records.SysAdminRecord; +import org.jooq.Condition; import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function14; import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row14; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.SQL; import org.jooq.Schema; -import org.jooq.SelectField; +import org.jooq.Select; +import org.jooq.Stringly; import org.jooq.Table; import org.jooq.TableField; import org.jooq.TableOptions; @@ -39,7 +39,7 @@ public class SysAdmin extends TableImpl { private static final long serialVersionUID = 1L; /** - * The reference instance of public.sys_admin + * The reference instance of yx.sys_admin */ public static final SysAdmin SYS_ADMIN = new SysAdmin(); @@ -52,121 +52,82 @@ public class SysAdmin extends TableImpl { } /** - * The column public.sys_admin.id. + * The column yx.sys_admin.id. */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_admin.org_id. + * The column yx.sys_admin.org_id. */ - public final TableField ORG_ID = createField(DSL.name("org_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ORG_ID = createField(DSL.name("org_id"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); /** - * The column public.sys_admin.realname. + * The column yx.sys_admin.type. 0管理员,1普通用户 */ - public final TableField REALNAME = createField(DSL.name("realname"), SQLDataType.VARCHAR(255), this, ""); + public final TableField TYPE = createField(DSL.name("type"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "0管理员,1普通用户"); /** - * The column public.sys_admin.username. + * The column yx.sys_admin.realname. */ - public final TableField USERNAME = createField(DSL.name("username"), SQLDataType.VARCHAR(255).nullable(false), this, ""); + public final TableField REALNAME = createField(DSL.name("realname"), SQLDataType.VARCHAR(100).nullable(false), this, ""); /** - * The column public.sys_admin.password. + * The column yx.sys_admin.username. */ - public final TableField PASSWORD = createField(DSL.name("password"), SQLDataType.VARCHAR(255).nullable(false), this, ""); + public final TableField USERNAME = createField(DSL.name("username"), SQLDataType.VARCHAR(100).nullable(false), this, ""); /** - * The column public.sys_admin.phone. + * The column yx.sys_admin.password. sha3_256hex */ - public final TableField PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(255).nullable(false), this, ""); + public final TableField PASSWORD = createField(DSL.name("password"), SQLDataType.VARCHAR(100).nullable(false), this, "sha3_256hex"); /** - * The column public.sys_admin.email. + * The column yx.sys_admin.islock. 0正常,1锁定 */ - public final TableField EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_admin.job. - */ - public final TableField JOB = createField(DSL.name("job"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_admin.gender. - */ - public final TableField GENDER = createField(DSL.name("gender"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.sys_admin.islock. - */ - public final TableField ISLOCK = createField(DSL.name("islock"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.sys_admin.type. - */ - public final TableField TYPE = createField(DSL.name("type"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.sys_admin.sort. - */ - public final TableField SORT = createField(DSL.name("sort"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.sys_admin.cer_id. - */ - public final TableField CER_ID = createField(DSL.name("cer_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.sys_admin.company_id. 公司ID,组织ID的最高级 - */ - public final TableField COMPANY_ID = createField(DSL.name("company_id"), SQLDataType.VARCHAR(32), this, "公司ID,组织ID的最高级"); + public final TableField ISLOCK = createField(DSL.name("islock"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "0正常,1锁定"); private SysAdmin(Name alias, Table aliased) { - this(alias, aliased, null); + this(alias, aliased, (Field[]) null, null); } - private SysAdmin(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + private SysAdmin(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); } /** - * Create an aliased public.sys_admin table reference + * Create an aliased yx.sys_admin table reference */ public SysAdmin(String alias) { this(DSL.name(alias), SYS_ADMIN); } /** - * Create an aliased public.sys_admin table reference + * Create an aliased yx.sys_admin table reference */ public SysAdmin(Name alias) { this(alias, SYS_ADMIN); } /** - * Create a public.sys_admin table reference + * Create a yx.sys_admin table reference */ public SysAdmin() { this(DSL.name("sys_admin"), null); } - public SysAdmin(Table child, ForeignKey key) { - super(child, key, SYS_ADMIN); - } - @Override public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; + return aliased() ? null : Yx.YX; } @Override public UniqueKey getPrimaryKey() { - return Keys.SYS_ADMIN_PKEY; + return Keys.KEY_SYS_ADMIN_PRIMARY; } @Override public List> getUniqueKeys() { - return Arrays.asList(Keys.SYS_ADMIN_USERNAME_KEY); + return Arrays.asList(Keys.KEY_SYS_ADMIN_USERNAME); } @Override @@ -208,27 +169,87 @@ public class SysAdmin extends TableImpl { return new SysAdmin(name.getQualifiedName(), null); } - // ------------------------------------------------------------------------- - // Row14 type methods - // ------------------------------------------------------------------------- - + /** + * Create an inline derived table from this table + */ @Override - public Row14 fieldsRow() { - return (Row14) super.fieldsRow(); + public SysAdmin where(Condition condition) { + return new SysAdmin(getQualifiedName(), aliased() ? this : null, null, condition); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Function14 from) { - return convertFrom(Records.mapping(from)); + @Override + public SysAdmin where(Collection conditions) { + return where(DSL.and(conditions)); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Class toType, Function14 from) { - return convertFrom(toType, Records.mapping(from)); + @Override + public SysAdmin where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdmin where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdmin where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdmin where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdmin where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdmin where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdmin whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdmin whereNotExists(Select select) { + return where(DSL.notExists(select)); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminMenu.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminMenu.java new file mode 100644 index 0000000..a034699 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminMenu.java @@ -0,0 +1,235 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables; + + +import java.util.Arrays; +import java.util.Collection; +import java.util.List; + +import jj.tech.paolu.repository.jooq.Keys; +import jj.tech.paolu.repository.jooq.Yx; +import jj.tech.paolu.repository.jooq.tables.records.SysAdminMenuRecord; + +import org.jooq.Condition; +import org.jooq.Field; +import org.jooq.Name; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.SQL; +import org.jooq.Schema; +import org.jooq.Select; +import org.jooq.Stringly; +import org.jooq.Table; +import org.jooq.TableField; +import org.jooq.TableOptions; +import org.jooq.UniqueKey; +import org.jooq.impl.DSL; +import org.jooq.impl.SQLDataType; +import org.jooq.impl.TableImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SysAdminMenu extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of yx.sys_admin_menu + */ + public static final SysAdminMenu SYS_ADMIN_MENU = new SysAdminMenu(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return SysAdminMenuRecord.class; + } + + /** + * The column yx.sys_admin_menu.id. + */ + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); + + /** + * The column yx.sys_admin_menu.adminid. + */ + public final TableField ADMINID = createField(DSL.name("adminid"), SQLDataType.VARCHAR(20).nullable(false), this, ""); + + /** + * The column yx.sys_admin_menu.memuid. + */ + public final TableField MEMUID = createField(DSL.name("memuid"), SQLDataType.VARCHAR(20).nullable(false), this, ""); + + private SysAdminMenu(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private SysAdminMenu(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased yx.sys_admin_menu table reference + */ + public SysAdminMenu(String alias) { + this(DSL.name(alias), SYS_ADMIN_MENU); + } + + /** + * Create an aliased yx.sys_admin_menu table reference + */ + public SysAdminMenu(Name alias) { + this(alias, SYS_ADMIN_MENU); + } + + /** + * Create a yx.sys_admin_menu table reference + */ + public SysAdminMenu() { + this(DSL.name("sys_admin_menu"), null); + } + + @Override + public Schema getSchema() { + return aliased() ? null : Yx.YX; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.KEY_SYS_ADMIN_MENU_PRIMARY; + } + + @Override + public List> getUniqueKeys() { + return Arrays.asList(Keys.KEY_SYS_ADMIN_MENU_ADMINID); + } + + @Override + public SysAdminMenu as(String alias) { + return new SysAdminMenu(DSL.name(alias), this); + } + + @Override + public SysAdminMenu as(Name alias) { + return new SysAdminMenu(alias, this); + } + + @Override + public SysAdminMenu as(Table alias) { + return new SysAdminMenu(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public SysAdminMenu rename(String name) { + return new SysAdminMenu(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public SysAdminMenu rename(Name name) { + return new SysAdminMenu(name, null); + } + + /** + * Rename this table + */ + @Override + public SysAdminMenu rename(Table name) { + return new SysAdminMenu(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdminMenu where(Condition condition) { + return new SysAdminMenu(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdminMenu where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdminMenu where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdminMenu where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdminMenu where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdminMenu where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdminMenu where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdminMenu where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdminMenu whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdminMenu whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminRole.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminRole.java index 5030010..379eaf8 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminRole.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminRole.java @@ -4,21 +4,21 @@ package jj.tech.paolu.repository.jooq.tables; -import java.util.function.Function; +import java.util.Collection; import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; +import jj.tech.paolu.repository.jooq.Yx; import jj.tech.paolu.repository.jooq.tables.records.SysAdminRoleRecord; +import org.jooq.Condition; import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function3; import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row3; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.SQL; import org.jooq.Schema; -import org.jooq.SelectField; +import org.jooq.Select; +import org.jooq.Stringly; import org.jooq.Table; import org.jooq.TableField; import org.jooq.TableOptions; @@ -37,7 +37,7 @@ public class SysAdminRole extends TableImpl { private static final long serialVersionUID = 1L; /** - * The reference instance of public.sys_admin_role + * The reference instance of yx.sys_admin_role */ public static final SysAdminRole SYS_ADMIN_ROLE = new SysAdminRole(); @@ -50,61 +50,57 @@ public class SysAdminRole extends TableImpl { } /** - * The column public.sys_admin_role.id. + * The column yx.sys_admin_role.id. */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_admin_role.adminid. + * The column yx.sys_admin_role.admin_id. */ - public final TableField ADMINID = createField(DSL.name("adminid"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ADMIN_ID = createField(DSL.name("admin_id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_admin_role.roleid. + * The column yx.sys_admin_role.role_id. */ - public final TableField ROLEID = createField(DSL.name("roleid"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ROLE_ID = createField(DSL.name("role_id"), SQLDataType.INTEGER.nullable(false), this, ""); private SysAdminRole(Name alias, Table aliased) { - this(alias, aliased, null); + this(alias, aliased, (Field[]) null, null); } - private SysAdminRole(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + private SysAdminRole(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); } /** - * Create an aliased public.sys_admin_role table reference + * Create an aliased yx.sys_admin_role table reference */ public SysAdminRole(String alias) { this(DSL.name(alias), SYS_ADMIN_ROLE); } /** - * Create an aliased public.sys_admin_role table reference + * Create an aliased yx.sys_admin_role table reference */ public SysAdminRole(Name alias) { this(alias, SYS_ADMIN_ROLE); } /** - * Create a public.sys_admin_role table reference + * Create a yx.sys_admin_role table reference */ public SysAdminRole() { this(DSL.name("sys_admin_role"), null); } - public SysAdminRole(Table child, ForeignKey key) { - super(child, key, SYS_ADMIN_ROLE); - } - @Override public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; + return aliased() ? null : Yx.YX; } @Override public UniqueKey getPrimaryKey() { - return Keys.SYS_ADMIN_ROLE_PKEY; + return Keys.KEY_SYS_ADMIN_ROLE_PRIMARY; } @Override @@ -146,27 +142,87 @@ public class SysAdminRole extends TableImpl { return new SysAdminRole(name.getQualifiedName(), null); } - // ------------------------------------------------------------------------- - // Row3 type methods - // ------------------------------------------------------------------------- - + /** + * Create an inline derived table from this table + */ @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); + public SysAdminRole where(Condition condition) { + return new SysAdminRole(getQualifiedName(), aliased() ? this : null, null, condition); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Function3 from) { - return convertFrom(Records.mapping(from)); + @Override + public SysAdminRole where(Collection conditions) { + return where(DSL.and(conditions)); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Class toType, Function3 from) { - return convertFrom(toType, Records.mapping(from)); + @Override + public SysAdminRole where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdminRole where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdminRole where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdminRole where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdminRole where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysAdminRole where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdminRole whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysAdminRole whereNotExists(Select select) { + return where(DSL.notExists(select)); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminWeid.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminWeid.java deleted file mode 100644 index f4ef671..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminWeid.java +++ /dev/null @@ -1,200 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.time.LocalDateTime; -import java.util.Arrays; -import java.util.List; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.SysAdminWeidRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function7; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row7; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysAdminWeid extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.sys_admin_weid - */ - public static final SysAdminWeid SYS_ADMIN_WEID = new SysAdminWeid(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SysAdminWeidRecord.class; - } - - /** - * The column public.sys_admin_weid.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.sys_admin_weid.admin_id. - */ - public final TableField ADMIN_ID = createField(DSL.name("admin_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.sys_admin_weid.wid. - */ - public final TableField WID = createField(DSL.name("wid"), SQLDataType.VARCHAR(255).defaultValue(DSL.field(DSL.raw("NULL::character varying"), SQLDataType.VARCHAR)), this, ""); - - /** - * The column public.sys_admin_weid.wprivate_key. - */ - public final TableField WPRIVATE_KEY = createField(DSL.name("wprivate_key"), SQLDataType.VARCHAR(500).nullable(false), this, ""); - - /** - * The column public.sys_admin_weid.add_time. - */ - public final TableField ADD_TIME = createField(DSL.name("add_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column public.sys_admin_weid.certificate_hash. 存证哈希 - */ - public final TableField CERTIFICATE_HASH = createField(DSL.name("certificate_hash"), SQLDataType.VARCHAR(200), this, "存证哈希"); - - /** - * The column public.sys_admin_weid.chain_block. - */ - public final TableField CHAIN_BLOCK = createField(DSL.name("chain_block"), SQLDataType.VARCHAR, this, ""); - - private SysAdminWeid(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SysAdminWeid(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.sys_admin_weid table reference - */ - public SysAdminWeid(String alias) { - this(DSL.name(alias), SYS_ADMIN_WEID); - } - - /** - * Create an aliased public.sys_admin_weid table reference - */ - public SysAdminWeid(Name alias) { - this(alias, SYS_ADMIN_WEID); - } - - /** - * Create a public.sys_admin_weid table reference - */ - public SysAdminWeid() { - this(DSL.name("sys_admin_weid"), null); - } - - public SysAdminWeid(Table child, ForeignKey key) { - super(child, key, SYS_ADMIN_WEID); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SYS_ADMIN_WEID_PKEY; - } - - @Override - public List> getUniqueKeys() { - return Arrays.asList(Keys.SYS_ADMIN_WEID_ADMIN_ID_KEY); - } - - @Override - public SysAdminWeid as(String alias) { - return new SysAdminWeid(DSL.name(alias), this); - } - - @Override - public SysAdminWeid as(Name alias) { - return new SysAdminWeid(alias, this); - } - - @Override - public SysAdminWeid as(Table alias) { - return new SysAdminWeid(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SysAdminWeid rename(String name) { - return new SysAdminWeid(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SysAdminWeid rename(Name name) { - return new SysAdminWeid(name, null); - } - - /** - * Rename this table - */ - @Override - public SysAdminWeid rename(Table name) { - return new SysAdminWeid(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row7 type methods - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function7 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function7 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysArea.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysArea.java deleted file mode 100644 index f1366a7..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysArea.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.util.Arrays; -import java.util.List; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Indexes; -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.SysAreaRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function7; -import org.jooq.Index; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row7; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysArea extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.sys_area - */ - public static final SysArea SYS_AREA = new SysArea(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SysAreaRecord.class; - } - - /** - * The column public.sys_area.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.sys_area.level_code. - */ - public final TableField LEVEL_CODE = createField(DSL.name("level_code"), SQLDataType.SMALLINT, this, ""); - - /** - * The column public.sys_area.parent_code. - */ - public final TableField PARENT_CODE = createField(DSL.name("parent_code"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.sys_area.area_code. - */ - public final TableField AREA_CODE = createField(DSL.name("area_code"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.sys_area.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_area.pid. - */ - public final TableField PID = createField(DSL.name("pid"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.sys_area.pids. - */ - public final TableField PIDS = createField(DSL.name("pids"), SQLDataType.VARCHAR(1000), this, ""); - - private SysArea(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SysArea(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.sys_area table reference - */ - public SysArea(String alias) { - this(DSL.name(alias), SYS_AREA); - } - - /** - * Create an aliased public.sys_area table reference - */ - public SysArea(Name alias) { - this(alias, SYS_AREA); - } - - /** - * Create a public.sys_area table reference - */ - public SysArea() { - this(DSL.name("sys_area"), null); - } - - public SysArea(Table child, ForeignKey key) { - super(child, key, SYS_AREA); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.IDX_PARENT_CODE, Indexes.UK_CODE); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SYS_AREA_PKEY; - } - - @Override - public SysArea as(String alias) { - return new SysArea(DSL.name(alias), this); - } - - @Override - public SysArea as(Name alias) { - return new SysArea(alias, this); - } - - @Override - public SysArea as(Table alias) { - return new SysArea(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SysArea rename(String name) { - return new SysArea(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SysArea rename(Name name) { - return new SysArea(name, null); - } - - /** - * Rename this table - */ - @Override - public SysArea rename(Table name) { - return new SysArea(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row7 type methods - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function7 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function7 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysConfig.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysConfig.java index b147a86..df726d1 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysConfig.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysConfig.java @@ -6,22 +6,22 @@ package jj.tech.paolu.repository.jooq.tables; import java.time.LocalDateTime; import java.util.Arrays; +import java.util.Collection; import java.util.List; -import java.util.function.Function; import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; +import jj.tech.paolu.repository.jooq.Yx; import jj.tech.paolu.repository.jooq.tables.records.SysConfigRecord; +import org.jooq.Condition; import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function7; import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row7; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.SQL; import org.jooq.Schema; -import org.jooq.SelectField; +import org.jooq.Select; +import org.jooq.Stringly; import org.jooq.Table; import org.jooq.TableField; import org.jooq.TableOptions; @@ -40,7 +40,7 @@ public class SysConfig extends TableImpl { private static final long serialVersionUID = 1L; /** - * The reference instance of public.sys_config + * The reference instance of yx.sys_config */ public static final SysConfig SYS_CONFIG = new SysConfig(); @@ -53,86 +53,82 @@ public class SysConfig extends TableImpl { } /** - * The column public.sys_config.id. + * The column yx.sys_config.id. */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_config.subgroup. + * The column yx.sys_config.subgroup. 分组 */ - public final TableField SUBGROUP = createField(DSL.name("subgroup"), SQLDataType.VARCHAR(255).nullable(false), this, ""); + public final TableField SUBGROUP = createField(DSL.name("subgroup"), SQLDataType.VARCHAR(500).nullable(false), this, "分组"); /** - * The column public.sys_config.keys. + * The column yx.sys_config.k. 键 */ - public final TableField KEYS = createField(DSL.name("keys"), SQLDataType.VARCHAR(255).nullable(false), this, ""); + public final TableField K = createField(DSL.name("k"), SQLDataType.VARCHAR(1000).nullable(false), this, "键"); /** - * The column public.sys_config.val. + * The column yx.sys_config.val. 值 */ - public final TableField VAL = createField(DSL.name("val"), SQLDataType.VARCHAR(1024), this, ""); + public final TableField VAL = createField(DSL.name("val"), SQLDataType.VARCHAR(14000).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "值"); /** - * The column public.sys_config.admin_id. + * The column yx.sys_config.admin_id. 管理员id */ - public final TableField ADMIN_ID = createField(DSL.name("admin_id"), SQLDataType.VARCHAR(32), this, ""); + public final TableField ADMIN_ID = createField(DSL.name("admin_id"), SQLDataType.VARCHAR(20).nullable(false), this, "管理员id"); /** - * The column public.sys_config.adminname. + * The column yx.sys_config.adminname. 管理员名称 */ - public final TableField ADMINNAME = createField(DSL.name("adminname"), SQLDataType.VARCHAR(32), this, ""); + public final TableField ADMINNAME = createField(DSL.name("adminname"), SQLDataType.VARCHAR(100).nullable(false), this, "管理员名称"); /** - * The column public.sys_config.edittime. + * The column yx.sys_config.edittime. 最后编辑时间 */ - public final TableField EDITTIME = createField(DSL.name("edittime"), SQLDataType.LOCALDATETIME(6), this, ""); + public final TableField EDITTIME = createField(DSL.name("edittime"), SQLDataType.LOCALDATETIME(0).defaultValue(DSL.field(DSL.raw("current_timestamp()"), SQLDataType.LOCALDATETIME)), this, "最后编辑时间"); private SysConfig(Name alias, Table aliased) { - this(alias, aliased, null); + this(alias, aliased, (Field[]) null, null); } - private SysConfig(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + private SysConfig(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); } /** - * Create an aliased public.sys_config table reference + * Create an aliased yx.sys_config table reference */ public SysConfig(String alias) { this(DSL.name(alias), SYS_CONFIG); } /** - * Create an aliased public.sys_config table reference + * Create an aliased yx.sys_config table reference */ public SysConfig(Name alias) { this(alias, SYS_CONFIG); } /** - * Create a public.sys_config table reference + * Create a yx.sys_config table reference */ public SysConfig() { this(DSL.name("sys_config"), null); } - public SysConfig(Table child, ForeignKey key) { - super(child, key, SYS_CONFIG); - } - @Override public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; + return aliased() ? null : Yx.YX; } @Override public UniqueKey getPrimaryKey() { - return Keys.SYS_CONFIG_PKEY; + return Keys.KEY_SYS_CONFIG_PRIMARY; } @Override public List> getUniqueKeys() { - return Arrays.asList(Keys.SYS_CONFIG_KEYS_KEY); + return Arrays.asList(Keys.KEY_SYS_CONFIG_K); } @Override @@ -174,27 +170,87 @@ public class SysConfig extends TableImpl { return new SysConfig(name.getQualifiedName(), null); } - // ------------------------------------------------------------------------- - // Row7 type methods - // ------------------------------------------------------------------------- - + /** + * Create an inline derived table from this table + */ @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); + public SysConfig where(Condition condition) { + return new SysConfig(getQualifiedName(), aliased() ? this : null, null, condition); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Function7 from) { - return convertFrom(Records.mapping(from)); + @Override + public SysConfig where(Collection conditions) { + return where(DSL.and(conditions)); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Class toType, Function7 from) { - return convertFrom(toType, Records.mapping(from)); + @Override + public SysConfig where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysConfig where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysConfig where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysConfig where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysConfig where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysConfig where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysConfig whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysConfig whereNotExists(Select select) { + return where(DSL.notExists(select)); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysMenu.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysMenu.java index 2f143e2..70f3a74 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysMenu.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysMenu.java @@ -4,21 +4,21 @@ package jj.tech.paolu.repository.jooq.tables; -import java.util.function.Function; +import java.util.Collection; import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; +import jj.tech.paolu.repository.jooq.Yx; import jj.tech.paolu.repository.jooq.tables.records.SysMenuRecord; +import org.jooq.Condition; import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function11; import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row11; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.SQL; import org.jooq.Schema; -import org.jooq.SelectField; +import org.jooq.Select; +import org.jooq.Stringly; import org.jooq.Table; import org.jooq.TableField; import org.jooq.TableOptions; @@ -37,7 +37,7 @@ public class SysMenu extends TableImpl { private static final long serialVersionUID = 1L; /** - * The reference instance of public.sys_menu + * The reference instance of yx.sys_menu */ public static final SysMenu SYS_MENU = new SysMenu(); @@ -50,101 +50,92 @@ public class SysMenu extends TableImpl { } /** - * The column public.sys_menu.id. + * The column yx.sys_menu.id. */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_menu.parent_id. + * The column yx.sys_menu.parent_id. */ - public final TableField PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.VARCHAR(32), this, ""); + public final TableField PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_menu.level. + * The column yx.sys_menu.level. */ - public final TableField LEVEL = createField(DSL.name("level"), SQLDataType.INTEGER, this, ""); + public final TableField LEVEL = createField(DSL.name("level"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.INTEGER)), this, ""); /** - * The column public.sys_menu.name. + * The column yx.sys_menu.name. */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, ""); + public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); /** - * The column public.sys_menu.types. + * The column yx.sys_menu.types. menu,url */ - public final TableField TYPES = createField(DSL.name("types"), SQLDataType.VARCHAR(255), this, ""); + public final TableField TYPES = createField(DSL.name("types"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "menu,url"); /** - * The column public.sys_menu.url. + * The column yx.sys_menu.url. */ - public final TableField URL = createField(DSL.name("url"), SQLDataType.VARCHAR(255), this, ""); + public final TableField URL = createField(DSL.name("url"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); /** - * The column public.sys_menu.icon. + * The column yx.sys_menu.icon. */ - public final TableField ICON = createField(DSL.name("icon"), SQLDataType.VARCHAR(255), this, ""); + public final TableField ICON = createField(DSL.name("icon"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); /** - * The column public.sys_menu.is_open. + * The column yx.sys_menu.is_open. */ public final TableField IS_OPEN = createField(DSL.name("is_open"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); /** - * The column public.sys_menu.description. + * The column yx.sys_menu.description. */ - public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(255), this, ""); + public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); /** - * The column public.sys_menu.sort. + * The column yx.sys_menu.sort. */ public final TableField SORT = createField(DSL.name("sort"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - /** - * The column public.sys_menu.parentpath. - */ - public final TableField PARENTPATH = createField(DSL.name("parentpath"), SQLDataType.VARCHAR(255), this, ""); - private SysMenu(Name alias, Table aliased) { - this(alias, aliased, null); + this(alias, aliased, (Field[]) null, null); } - private SysMenu(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + private SysMenu(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); } /** - * Create an aliased public.sys_menu table reference + * Create an aliased yx.sys_menu table reference */ public SysMenu(String alias) { this(DSL.name(alias), SYS_MENU); } /** - * Create an aliased public.sys_menu table reference + * Create an aliased yx.sys_menu table reference */ public SysMenu(Name alias) { this(alias, SYS_MENU); } /** - * Create a public.sys_menu table reference + * Create a yx.sys_menu table reference */ public SysMenu() { this(DSL.name("sys_menu"), null); } - public SysMenu(Table child, ForeignKey key) { - super(child, key, SYS_MENU); - } - @Override public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; + return aliased() ? null : Yx.YX; } @Override public UniqueKey getPrimaryKey() { - return Keys.SYS_MENU_PKEY; + return Keys.KEY_SYS_MENU_PRIMARY; } @Override @@ -186,27 +177,87 @@ public class SysMenu extends TableImpl { return new SysMenu(name.getQualifiedName(), null); } - // ------------------------------------------------------------------------- - // Row11 type methods - // ------------------------------------------------------------------------- - + /** + * Create an inline derived table from this table + */ @Override - public Row11 fieldsRow() { - return (Row11) super.fieldsRow(); + public SysMenu where(Condition condition) { + return new SysMenu(getQualifiedName(), aliased() ? this : null, null, condition); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Function11 from) { - return convertFrom(Records.mapping(from)); + @Override + public SysMenu where(Collection conditions) { + return where(DSL.and(conditions)); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Class toType, Function11 from) { - return convertFrom(toType, Records.mapping(from)); + @Override + public SysMenu where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysMenu where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysMenu where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysMenu where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysMenu where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysMenu where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysMenu whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysMenu whereNotExists(Select select) { + return where(DSL.notExists(select)); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysOrg.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysOrg.java index 3cf8529..429298d 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysOrg.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysOrg.java @@ -4,17 +4,21 @@ package jj.tech.paolu.repository.jooq.tables; -import java.time.LocalDateTime; +import java.util.Collection; import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; +import jj.tech.paolu.repository.jooq.Yx; import jj.tech.paolu.repository.jooq.tables.records.SysOrgRecord; +import org.jooq.Condition; import org.jooq.Field; -import org.jooq.ForeignKey; import org.jooq.Name; -import org.jooq.Record; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.SQL; import org.jooq.Schema; +import org.jooq.Select; +import org.jooq.Stringly; import org.jooq.Table; import org.jooq.TableField; import org.jooq.TableOptions; @@ -33,7 +37,7 @@ public class SysOrg extends TableImpl { private static final long serialVersionUID = 1L; /** - * The reference instance of public.sys_org + * The reference instance of yx.sys_org */ public static final SysOrg SYS_ORG = new SysOrg(); @@ -46,196 +50,62 @@ public class SysOrg extends TableImpl { } /** - * The column public.sys_org.id. + * The column yx.sys_org.id. */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_org.pid. + * The column yx.sys_org.pid. */ - public final TableField PID = createField(DSL.name("pid"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField PID = createField(DSL.name("pid"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_org.chinese_simple_name. - */ - public final TableField CHINESE_SIMPLE_NAME = createField(DSL.name("chinese_simple_name"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.sys_org.english_simple_name. - */ - public final TableField ENGLISH_SIMPLE_NAME = createField(DSL.name("english_simple_name"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.chinese_full_name. - */ - public final TableField CHINESE_FULL_NAME = createField(DSL.name("chinese_full_name"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.english_full_name. - */ - public final TableField ENGLISH_FULL_NAME = createField(DSL.name("english_full_name"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.code. - */ - public final TableField CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.sort. - */ - public final TableField SORT = createField(DSL.name("sort"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.sys_org.status. + * The column yx.sys_org.status. */ public final TableField STATUS = createField(DSL.name("status"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("1"), SQLDataType.INTEGER)), this, ""); /** - * The column public.sys_org.is_company_department. + * The column yx.sys_org.org_type. */ - public final TableField IS_COMPANY_DEPARTMENT = createField(DSL.name("is_company_department"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column public.sys_org.enterprise_legal_person. - */ - public final TableField ENTERPRISE_LEGAL_PERSON = createField(DSL.name("enterprise_legal_person"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.contact_person. - */ - public final TableField CONTACT_PERSON = createField(DSL.name("contact_person"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.contact_phone. - */ - public final TableField CONTACT_PHONE = createField(DSL.name("contact_phone"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.remark. - */ - public final TableField REMARK = createField(DSL.name("remark"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.create_time. - */ - public final TableField CREATE_TIME = createField(DSL.name("create_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column public.sys_org.create_user. - */ - public final TableField CREATE_USER = createField(DSL.name("create_user"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.sys_org.update_time. - */ - public final TableField UPDATE_TIME = createField(DSL.name("update_time"), SQLDataType.LOCALDATETIME(6), this, ""); - - /** - * The column public.sys_org.update_user. - */ - public final TableField UPDATE_USER = createField(DSL.name("update_user"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.sys_org.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.industry_name. - */ - public final TableField INDUSTRY_NAME = createField(DSL.name("industry_name"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.industry_code. - */ - public final TableField INDUSTRY_CODE = createField(DSL.name("industry_code"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.sys_org.province_code. - */ - public final TableField PROVINCE_CODE = createField(DSL.name("province_code"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.sys_org.city_code. - */ - public final TableField CITY_CODE = createField(DSL.name("city_code"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.sys_org.area_code. - */ - public final TableField AREA_CODE = createField(DSL.name("area_code"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.sys_org.addr. - */ - public final TableField ADDR = createField(DSL.name("addr"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.uscc. - */ - public final TableField USCC = createField(DSL.name("uscc"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.org_type. - */ - public final TableField ORG_TYPE = createField(DSL.name("org_type"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_org.is_archives_dep. - */ - public final TableField IS_ARCHIVES_DEP = createField(DSL.name("is_archives_dep"), SQLDataType.INTEGER, this, ""); - - /** - * The column public.sys_org.cer_id. - */ - public final TableField CER_ID = createField(DSL.name("cer_id"), SQLDataType.VARCHAR(32), this, ""); - - /** - * The column public.sys_org.is_forbidden. - */ - public final TableField IS_FORBIDDEN = createField(DSL.name("is_forbidden"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); + public final TableField ORG_TYPE = createField(DSL.name("org_type"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); private SysOrg(Name alias, Table aliased) { - this(alias, aliased, null); + this(alias, aliased, (Field[]) null, null); } - private SysOrg(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + private SysOrg(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); } /** - * Create an aliased public.sys_org table reference + * Create an aliased yx.sys_org table reference */ public SysOrg(String alias) { this(DSL.name(alias), SYS_ORG); } /** - * Create an aliased public.sys_org table reference + * Create an aliased yx.sys_org table reference */ public SysOrg(Name alias) { this(alias, SYS_ORG); } /** - * Create a public.sys_org table reference + * Create a yx.sys_org table reference */ public SysOrg() { this(DSL.name("sys_org"), null); } - public SysOrg(Table child, ForeignKey key) { - super(child, key, SYS_ORG); - } - @Override public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; + return aliased() ? null : Yx.YX; } @Override public UniqueKey getPrimaryKey() { - return Keys.SYS_ORG_PKEY1; + return Keys.KEY_SYS_ORG_PRIMARY; } @Override @@ -276,4 +146,88 @@ public class SysOrg extends TableImpl { public SysOrg rename(Table name) { return new SysOrg(name.getQualifiedName(), null); } + + /** + * Create an inline derived table from this table + */ + @Override + public SysOrg where(Condition condition) { + return new SysOrg(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysOrg where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysOrg where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysOrg where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysOrg where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysOrg where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysOrg where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysOrg where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysOrg whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysOrg whereNotExists(Select select) { + return where(DSL.notExists(select)); + } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysResource.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysResource.java new file mode 100644 index 0000000..3ec7f12 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysResource.java @@ -0,0 +1,258 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables; + + +import java.util.Collection; + +import jj.tech.paolu.repository.jooq.Keys; +import jj.tech.paolu.repository.jooq.Yx; +import jj.tech.paolu.repository.jooq.tables.records.SysResourceRecord; + +import org.jooq.Condition; +import org.jooq.Field; +import org.jooq.Name; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.SQL; +import org.jooq.Schema; +import org.jooq.Select; +import org.jooq.Stringly; +import org.jooq.Table; +import org.jooq.TableField; +import org.jooq.TableOptions; +import org.jooq.UniqueKey; +import org.jooq.impl.DSL; +import org.jooq.impl.SQLDataType; +import org.jooq.impl.TableImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SysResource extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of yx.sys_resource + */ + public static final SysResource SYS_RESOURCE = new SysResource(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return SysResourceRecord.class; + } + + /** + * The column yx.sys_resource.id. + */ + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); + + /** + * The column yx.sys_resource.parent_id. + */ + public final TableField PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); + + /** + * The column yx.sys_resource.level. 菜单排列顺序 + */ + public final TableField LEVEL = createField(DSL.name("level"), SQLDataType.SMALLINT.defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.SMALLINT)), this, "菜单排列顺序"); + + /** + * The column yx.sys_resource.name. + */ + public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(50).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); + + /** + * The column yx.sys_resource.types. 资源类型 + */ + public final TableField TYPES = createField(DSL.name("types"), SQLDataType.VARCHAR(40).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "资源类型"); + + /** + * The column yx.sys_resource.url. + */ + public final TableField URL = createField(DSL.name("url"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); + + /** + * The column yx.sys_resource.icon. 菜单图标 + */ + public final TableField ICON = createField(DSL.name("icon"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "菜单图标"); + + /** + * The column yx.sys_resource.ishide. 是否折叠隐藏 + */ + public final TableField ISHIDE = createField(DSL.name("ishide"), SQLDataType.TINYINT.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.TINYINT)), this, "是否折叠隐藏"); + + /** + * The column yx.sys_resource.description. + */ + public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); + + private SysResource(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private SysResource(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased yx.sys_resource table reference + */ + public SysResource(String alias) { + this(DSL.name(alias), SYS_RESOURCE); + } + + /** + * Create an aliased yx.sys_resource table reference + */ + public SysResource(Name alias) { + this(alias, SYS_RESOURCE); + } + + /** + * Create a yx.sys_resource table reference + */ + public SysResource() { + this(DSL.name("sys_resource"), null); + } + + @Override + public Schema getSchema() { + return aliased() ? null : Yx.YX; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.KEY_SYS_RESOURCE_PRIMARY; + } + + @Override + public SysResource as(String alias) { + return new SysResource(DSL.name(alias), this); + } + + @Override + public SysResource as(Name alias) { + return new SysResource(alias, this); + } + + @Override + public SysResource as(Table alias) { + return new SysResource(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public SysResource rename(String name) { + return new SysResource(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public SysResource rename(Name name) { + return new SysResource(name, null); + } + + /** + * Rename this table + */ + @Override + public SysResource rename(Table name) { + return new SysResource(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysResource where(Condition condition) { + return new SysResource(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysResource where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysResource where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysResource where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysResource where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysResource where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysResource where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysResource where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysResource whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysResource whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRole.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRole.java index 8fe8ac9..cf6410e 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRole.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRole.java @@ -4,21 +4,21 @@ package jj.tech.paolu.repository.jooq.tables; -import java.util.function.Function; +import java.util.Collection; import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; +import jj.tech.paolu.repository.jooq.Yx; import jj.tech.paolu.repository.jooq.tables.records.SysRoleRecord; +import org.jooq.Condition; import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function9; import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row9; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.SQL; import org.jooq.Schema; -import org.jooq.SelectField; +import org.jooq.Select; +import org.jooq.Stringly; import org.jooq.Table; import org.jooq.TableField; import org.jooq.TableOptions; @@ -37,7 +37,7 @@ public class SysRole extends TableImpl { private static final long serialVersionUID = 1L; /** - * The reference instance of public.sys_role + * The reference instance of yx.sys_role */ public static final SysRole SYS_ROLE = new SysRole(); @@ -50,91 +50,57 @@ public class SysRole extends TableImpl { } /** - * The column public.sys_role.id. + * The column yx.sys_role.id. */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_role.rolename. + * The column yx.sys_role.rolename. */ - public final TableField ROLENAME = createField(DSL.name("rolename"), SQLDataType.VARCHAR(255).nullable(false), this, ""); + public final TableField ROLENAME = createField(DSL.name("rolename"), SQLDataType.VARCHAR(50).nullable(false), this, ""); /** - * The column public.sys_role.describe. + * The column yx.sys_role.department. */ - public final TableField DESCRIBE = createField(DSL.name("describe"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_role.sort. - */ - public final TableField SORT = createField(DSL.name("sort"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.sys_role.is_open. - */ - public final TableField IS_OPEN = createField(DSL.name("is_open"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("1"), SQLDataType.INTEGER)), this, ""); - - /** - * The column public.sys_role.sign_name. - */ - public final TableField SIGN_NAME = createField(DSL.name("sign_name"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.sys_role.sign_id. - */ - public final TableField SIGN_ID = createField(DSL.name("sign_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.sys_role.company_id. - */ - public final TableField COMPANY_ID = createField(DSL.name("company_id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.sys_role.company_name. - */ - public final TableField COMPANY_NAME = createField(DSL.name("company_name"), SQLDataType.VARCHAR(100).nullable(false), this, ""); + public final TableField DEPARTMENT = createField(DSL.name("department"), SQLDataType.VARCHAR(50).nullable(false), this, ""); private SysRole(Name alias, Table aliased) { - this(alias, aliased, null); + this(alias, aliased, (Field[]) null, null); } - private SysRole(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + private SysRole(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); } /** - * Create an aliased public.sys_role table reference + * Create an aliased yx.sys_role table reference */ public SysRole(String alias) { this(DSL.name(alias), SYS_ROLE); } /** - * Create an aliased public.sys_role table reference + * Create an aliased yx.sys_role table reference */ public SysRole(Name alias) { this(alias, SYS_ROLE); } /** - * Create a public.sys_role table reference + * Create a yx.sys_role table reference */ public SysRole() { this(DSL.name("sys_role"), null); } - public SysRole(Table child, ForeignKey key) { - super(child, key, SYS_ROLE); - } - @Override public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; + return aliased() ? null : Yx.YX; } @Override public UniqueKey getPrimaryKey() { - return Keys.SYS_ROLE_PKEY; + return Keys.KEY_SYS_ROLE_PRIMARY; } @Override @@ -176,27 +142,87 @@ public class SysRole extends TableImpl { return new SysRole(name.getQualifiedName(), null); } - // ------------------------------------------------------------------------- - // Row9 type methods - // ------------------------------------------------------------------------- - + /** + * Create an inline derived table from this table + */ @Override - public Row9 fieldsRow() { - return (Row9) super.fieldsRow(); + public SysRole where(Condition condition) { + return new SysRole(getQualifiedName(), aliased() ? this : null, null, condition); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Function9 from) { - return convertFrom(Records.mapping(from)); + @Override + public SysRole where(Collection conditions) { + return where(DSL.and(conditions)); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Class toType, Function9 from) { - return convertFrom(toType, Records.mapping(from)); + @Override + public SysRole where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRole where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRole where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRole where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRole where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRole where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRole whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRole whereNotExists(Select select) { + return where(DSL.notExists(select)); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleMenu.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleMenu.java deleted file mode 100644 index 67b70b0..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleMenu.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.util.Arrays; -import java.util.List; -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.SysRoleMenuRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function3; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row3; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysRoleMenu extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.sys_role_menu - */ - public static final SysRoleMenu SYS_ROLE_MENU = new SysRoleMenu(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SysRoleMenuRecord.class; - } - - /** - * The column public.sys_role_menu.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.sys_role_menu.roleid. - */ - public final TableField ROLEID = createField(DSL.name("roleid"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.sys_role_menu.menuid. - */ - public final TableField MENUID = createField(DSL.name("menuid"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - private SysRoleMenu(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SysRoleMenu(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.sys_role_menu table reference - */ - public SysRoleMenu(String alias) { - this(DSL.name(alias), SYS_ROLE_MENU); - } - - /** - * Create an aliased public.sys_role_menu table reference - */ - public SysRoleMenu(Name alias) { - this(alias, SYS_ROLE_MENU); - } - - /** - * Create a public.sys_role_menu table reference - */ - public SysRoleMenu() { - this(DSL.name("sys_role_menu"), null); - } - - public SysRoleMenu(Table child, ForeignKey key) { - super(child, key, SYS_ROLE_MENU); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SYS_ROLE_MENU_PKEY; - } - - @Override - public List> getUniqueKeys() { - return Arrays.asList(Keys.SYS_ROLE_MENU_ROLEID_RESID_KEY); - } - - @Override - public SysRoleMenu as(String alias) { - return new SysRoleMenu(DSL.name(alias), this); - } - - @Override - public SysRoleMenu as(Name alias) { - return new SysRoleMenu(alias, this); - } - - @Override - public SysRoleMenu as(Table alias) { - return new SysRoleMenu(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SysRoleMenu rename(String name) { - return new SysRoleMenu(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SysRoleMenu rename(Name name) { - return new SysRoleMenu(name, null); - } - - /** - * Rename this table - */ - @Override - public SysRoleMenu rename(Table name) { - return new SysRoleMenu(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row3 type methods - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function3 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function3 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleResource.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleResource.java new file mode 100644 index 0000000..f0da50c --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleResource.java @@ -0,0 +1,228 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables; + + +import java.util.Collection; + +import jj.tech.paolu.repository.jooq.Keys; +import jj.tech.paolu.repository.jooq.Yx; +import jj.tech.paolu.repository.jooq.tables.records.SysRoleResourceRecord; + +import org.jooq.Condition; +import org.jooq.Field; +import org.jooq.Name; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.SQL; +import org.jooq.Schema; +import org.jooq.Select; +import org.jooq.Stringly; +import org.jooq.Table; +import org.jooq.TableField; +import org.jooq.TableOptions; +import org.jooq.UniqueKey; +import org.jooq.impl.DSL; +import org.jooq.impl.SQLDataType; +import org.jooq.impl.TableImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SysRoleResource extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of yx.sys_role_resource + */ + public static final SysRoleResource SYS_ROLE_RESOURCE = new SysRoleResource(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return SysRoleResourceRecord.class; + } + + /** + * The column yx.sys_role_resource.id. + */ + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); + + /** + * The column yx.sys_role_resource.roleid. + */ + public final TableField ROLEID = createField(DSL.name("roleid"), SQLDataType.VARCHAR(20).nullable(false), this, ""); + + /** + * The column yx.sys_role_resource.resid. + */ + public final TableField RESID = createField(DSL.name("resid"), SQLDataType.VARCHAR(20).nullable(false), this, ""); + + private SysRoleResource(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private SysRoleResource(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased yx.sys_role_resource table reference + */ + public SysRoleResource(String alias) { + this(DSL.name(alias), SYS_ROLE_RESOURCE); + } + + /** + * Create an aliased yx.sys_role_resource table reference + */ + public SysRoleResource(Name alias) { + this(alias, SYS_ROLE_RESOURCE); + } + + /** + * Create a yx.sys_role_resource table reference + */ + public SysRoleResource() { + this(DSL.name("sys_role_resource"), null); + } + + @Override + public Schema getSchema() { + return aliased() ? null : Yx.YX; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.KEY_SYS_ROLE_RESOURCE_PRIMARY; + } + + @Override + public SysRoleResource as(String alias) { + return new SysRoleResource(DSL.name(alias), this); + } + + @Override + public SysRoleResource as(Name alias) { + return new SysRoleResource(alias, this); + } + + @Override + public SysRoleResource as(Table alias) { + return new SysRoleResource(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public SysRoleResource rename(String name) { + return new SysRoleResource(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public SysRoleResource rename(Name name) { + return new SysRoleResource(name, null); + } + + /** + * Rename this table + */ + @Override + public SysRoleResource rename(Table name) { + return new SysRoleResource(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRoleResource where(Condition condition) { + return new SysRoleResource(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRoleResource where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRoleResource where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRoleResource where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRoleResource where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRoleResource where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRoleResource where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRoleResource where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRoleResource whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRoleResource whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleSign.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleSign.java deleted file mode 100644 index 77eb9a8..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleSign.java +++ /dev/null @@ -1,172 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables; - - -import java.util.function.Function; - -import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; -import jj.tech.paolu.repository.jooq.tables.records.SysRoleSignRecord; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function3; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row3; -import org.jooq.Schema; -import org.jooq.SelectField; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysRoleSign extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.sys_role_sign - */ - public static final SysRoleSign SYS_ROLE_SIGN = new SysRoleSign(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SysRoleSignRecord.class; - } - - /** - * The column public.sys_role_sign.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.sys_role_sign.sign_name. - */ - public final TableField SIGN_NAME = createField(DSL.name("sign_name"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - /** - * The column public.sys_role_sign.sign_code. - */ - public final TableField SIGN_CODE = createField(DSL.name("sign_code"), SQLDataType.VARCHAR(32).nullable(false), this, ""); - - private SysRoleSign(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SysRoleSign(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased public.sys_role_sign table reference - */ - public SysRoleSign(String alias) { - this(DSL.name(alias), SYS_ROLE_SIGN); - } - - /** - * Create an aliased public.sys_role_sign table reference - */ - public SysRoleSign(Name alias) { - this(alias, SYS_ROLE_SIGN); - } - - /** - * Create a public.sys_role_sign table reference - */ - public SysRoleSign() { - this(DSL.name("sys_role_sign"), null); - } - - public SysRoleSign(Table child, ForeignKey key) { - super(child, key, SYS_ROLE_SIGN); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SYS_ROLE_SIGN_PKEY; - } - - @Override - public SysRoleSign as(String alias) { - return new SysRoleSign(DSL.name(alias), this); - } - - @Override - public SysRoleSign as(Name alias) { - return new SysRoleSign(alias, this); - } - - @Override - public SysRoleSign as(Table alias) { - return new SysRoleSign(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SysRoleSign rename(String name) { - return new SysRoleSign(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SysRoleSign rename(Name name) { - return new SysRoleSign(name, null); - } - - /** - * Rename this table - */ - @Override - public SysRoleSign rename(Table name) { - return new SysRoleSign(name.getQualifiedName(), null); - } - - // ------------------------------------------------------------------------- - // Row3 type methods - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. - */ - public SelectField mapping(Function3 from) { - return convertFrom(Records.mapping(from)); - } - - /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. - */ - public SelectField mapping(Class toType, Function3 from) { - return convertFrom(toType, Records.mapping(from)); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleUrl.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleUrl.java index f5961d7..b117a6e 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleUrl.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleUrl.java @@ -4,21 +4,21 @@ package jj.tech.paolu.repository.jooq.tables; -import java.util.function.Function; +import java.util.Collection; import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; +import jj.tech.paolu.repository.jooq.Yx; import jj.tech.paolu.repository.jooq.tables.records.SysRoleUrlRecord; +import org.jooq.Condition; import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function4; import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row4; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.SQL; import org.jooq.Schema; -import org.jooq.SelectField; +import org.jooq.Select; +import org.jooq.Stringly; import org.jooq.Table; import org.jooq.TableField; import org.jooq.TableOptions; @@ -37,7 +37,7 @@ public class SysRoleUrl extends TableImpl { private static final long serialVersionUID = 1L; /** - * The reference instance of public.sys_role_url + * The reference instance of yx.sys_role_url */ public static final SysRoleUrl SYS_ROLE_URL = new SysRoleUrl(); @@ -50,66 +50,62 @@ public class SysRoleUrl extends TableImpl { } /** - * The column public.sys_role_url.id. + * The column yx.sys_role_url.id. */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_role_url.roleid. + * The column yx.sys_role_url.roleid. */ - public final TableField ROLEID = createField(DSL.name("roleid"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ROLEID = createField(DSL.name("roleid"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_role_url.url. + * The column yx.sys_role_url.url. 对应sys_urls的url */ - public final TableField URL = createField(DSL.name("url"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField URL = createField(DSL.name("url"), SQLDataType.VARCHAR(300).nullable(false), this, "对应sys_urls的url"); /** - * The column public.sys_role_url.urltypes. + * The column yx.sys_role_url.urltypes. 1:url,2:菜单 */ - public final TableField URLTYPES = createField(DSL.name("urltypes"), SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField URLTYPES = createField(DSL.name("urltypes"), SQLDataType.INTEGER.nullable(false), this, "1:url,2:菜单"); private SysRoleUrl(Name alias, Table aliased) { - this(alias, aliased, null); + this(alias, aliased, (Field[]) null, null); } - private SysRoleUrl(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + private SysRoleUrl(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); } /** - * Create an aliased public.sys_role_url table reference + * Create an aliased yx.sys_role_url table reference */ public SysRoleUrl(String alias) { this(DSL.name(alias), SYS_ROLE_URL); } /** - * Create an aliased public.sys_role_url table reference + * Create an aliased yx.sys_role_url table reference */ public SysRoleUrl(Name alias) { this(alias, SYS_ROLE_URL); } /** - * Create a public.sys_role_url table reference + * Create a yx.sys_role_url table reference */ public SysRoleUrl() { this(DSL.name("sys_role_url"), null); } - public SysRoleUrl(Table child, ForeignKey key) { - super(child, key, SYS_ROLE_URL); - } - @Override public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; + return aliased() ? null : Yx.YX; } @Override public UniqueKey getPrimaryKey() { - return Keys.SYS_ROLE_URL_PKEY; + return Keys.KEY_SYS_ROLE_URL_PRIMARY; } @Override @@ -151,27 +147,87 @@ public class SysRoleUrl extends TableImpl { return new SysRoleUrl(name.getQualifiedName(), null); } - // ------------------------------------------------------------------------- - // Row4 type methods - // ------------------------------------------------------------------------- - + /** + * Create an inline derived table from this table + */ @Override - public Row4 fieldsRow() { - return (Row4) super.fieldsRow(); + public SysRoleUrl where(Condition condition) { + return new SysRoleUrl(getQualifiedName(), aliased() ? this : null, null, condition); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Function4 from) { - return convertFrom(Records.mapping(from)); + @Override + public SysRoleUrl where(Collection conditions) { + return where(DSL.and(conditions)); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Class toType, Function4 from) { - return convertFrom(toType, Records.mapping(from)); + @Override + public SysRoleUrl where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRoleUrl where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRoleUrl where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRoleUrl where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRoleUrl where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysRoleUrl where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRoleUrl whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysRoleUrl whereNotExists(Select select) { + return where(DSL.notExists(select)); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysUrls.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysUrls.java index 507baa8..5ef366d 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysUrls.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysUrls.java @@ -5,22 +5,22 @@ package jj.tech.paolu.repository.jooq.tables; import java.util.Arrays; +import java.util.Collection; import java.util.List; -import java.util.function.Function; import jj.tech.paolu.repository.jooq.Keys; -import jj.tech.paolu.repository.jooq.Public; +import jj.tech.paolu.repository.jooq.Yx; import jj.tech.paolu.repository.jooq.tables.records.SysUrlsRecord; +import org.jooq.Condition; import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Function7; import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Records; -import org.jooq.Row7; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.SQL; import org.jooq.Schema; -import org.jooq.SelectField; +import org.jooq.Select; +import org.jooq.Stringly; import org.jooq.Table; import org.jooq.TableField; import org.jooq.TableOptions; @@ -39,7 +39,7 @@ public class SysUrls extends TableImpl { private static final long serialVersionUID = 1L; /** - * The reference instance of public.sys_urls + * The reference instance of yx.sys_urls */ public static final SysUrls SYS_URLS = new SysUrls(); @@ -52,86 +52,82 @@ public class SysUrls extends TableImpl { } /** - * The column public.sys_urls.id. + * The column yx.sys_urls.id. */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(32).nullable(false), this, ""); + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); /** - * The column public.sys_urls.pid. + * The column yx.sys_urls.pid. 父类id */ - public final TableField PID = createField(DSL.name("pid"), SQLDataType.VARCHAR(32), this, ""); + public final TableField PID = createField(DSL.name("pid"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.INTEGER)), this, "父类id"); /** - * The column public.sys_urls.types. + * The column yx.sys_urls.types. 1:url,2:菜单 */ - public final TableField TYPES = createField(DSL.name("types"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("1"), SQLDataType.INTEGER)), this, ""); + public final TableField TYPES = createField(DSL.name("types"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("1"), SQLDataType.INTEGER)), this, "1:url,2:菜单"); /** - * The column public.sys_urls.level. + * The column yx.sys_urls.level. 0:url,1:一级菜单, 2:二级菜单 */ - public final TableField LEVEL = createField(DSL.name("level"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, ""); + public final TableField LEVEL = createField(DSL.name("level"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "0:url,1:一级菜单, 2:二级菜单"); /** - * The column public.sys_urls.url. + * The column yx.sys_urls.url. */ - public final TableField URL = createField(DSL.name("url"), SQLDataType.VARCHAR(255), this, ""); + public final TableField URL = createField(DSL.name("url"), SQLDataType.VARCHAR(300).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); /** - * The column public.sys_urls.name. + * The column yx.sys_urls.name. */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, ""); + public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); /** - * The column public.sys_urls.method. + * The column yx.sys_urls.method. */ - public final TableField METHOD = createField(DSL.name("method"), SQLDataType.VARCHAR(255), this, ""); + public final TableField METHOD = createField(DSL.name("method"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, ""); private SysUrls(Name alias, Table aliased) { - this(alias, aliased, null); + this(alias, aliased, (Field[]) null, null); } - private SysUrls(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + private SysUrls(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); } /** - * Create an aliased public.sys_urls table reference + * Create an aliased yx.sys_urls table reference */ public SysUrls(String alias) { this(DSL.name(alias), SYS_URLS); } /** - * Create an aliased public.sys_urls table reference + * Create an aliased yx.sys_urls table reference */ public SysUrls(Name alias) { this(alias, SYS_URLS); } /** - * Create a public.sys_urls table reference + * Create a yx.sys_urls table reference */ public SysUrls() { this(DSL.name("sys_urls"), null); } - public SysUrls(Table child, ForeignKey key) { - super(child, key, SYS_URLS); - } - @Override public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; + return aliased() ? null : Yx.YX; } @Override public UniqueKey getPrimaryKey() { - return Keys.SYS_URLS_PKEY; + return Keys.KEY_SYS_URLS_PRIMARY; } @Override public List> getUniqueKeys() { - return Arrays.asList(Keys.SYS_URLS_URL_KEY); + return Arrays.asList(Keys.KEY_SYS_URLS_URL); } @Override @@ -173,27 +169,87 @@ public class SysUrls extends TableImpl { return new SysUrls(name.getQualifiedName(), null); } - // ------------------------------------------------------------------------- - // Row7 type methods - // ------------------------------------------------------------------------- - + /** + * Create an inline derived table from this table + */ @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); + public SysUrls where(Condition condition) { + return new SysUrls(getQualifiedName(), aliased() ? this : null, null, condition); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Function7 from) { - return convertFrom(Records.mapping(from)); + @Override + public SysUrls where(Collection conditions) { + return where(DSL.and(conditions)); } /** - * Convenience mapping calling {@link SelectField#convertFrom(Class, - * Function)}. + * Create an inline derived table from this table */ - public SelectField mapping(Class toType, Function7 from) { - return convertFrom(toType, Records.mapping(from)); + @Override + public SysUrls where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysUrls where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysUrls where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysUrls where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysUrls where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public SysUrls where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysUrls whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public SysUrls whereNotExists(Select select) { + return where(DSL.notExists(select)); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/ArchiveSynLogDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/ArchiveSynLogDao.java deleted file mode 100644 index a5ff3a6..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/ArchiveSynLogDao.java +++ /dev/null @@ -1,255 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.time.LocalDateTime; -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.ArchiveSynLog; -import jj.tech.paolu.repository.jooq.tables.records.ArchiveSynLogRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * 从电子档案系统同步档案目录数据的过程日志 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class ArchiveSynLogDao extends DAOImpl { - - /** - * Create a new ArchiveSynLogDao without any configuration - */ - public ArchiveSynLogDao() { - super(ArchiveSynLog.ARCHIVE_SYN_LOG, jj.tech.paolu.repository.jooq.tables.pojos.ArchiveSynLog.class); - } - - /** - * Create a new ArchiveSynLogDao with an attached configuration - */ - @Autowired - public ArchiveSynLogDao(Configuration configuration) { - super(ArchiveSynLog.ARCHIVE_SYN_LOG, jj.tech.paolu.repository.jooq.tables.pojos.ArchiveSynLog.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.ArchiveSynLog object) { - return object.getId(); - } - - /** - * Fetch records that have start_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfStartTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.START_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have start_time IN (values) - */ - public List fetchByStartTime(LocalDateTime... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.START_TIME, values); - } - - /** - * Fetch records that have insert_dir_count BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfInsertDirCount(Long lowerInclusive, Long upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.INSERT_DIR_COUNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have insert_dir_count IN (values) - */ - public List fetchByInsertDirCount(Long... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.INSERT_DIR_COUNT, values); - } - - /** - * Fetch records that have update_dir_count BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUpdateDirCount(Long lowerInclusive, Long upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_DIR_COUNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have update_dir_count IN (values) - */ - public List fetchByUpdateDirCount(Long... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_DIR_COUNT, values); - } - - /** - * Fetch records that have insert_dirfile_count BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfInsertDirfileCount(Long lowerInclusive, Long upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.INSERT_DIRFILE_COUNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have insert_dirfile_count IN (values) - */ - public List fetchByInsertDirfileCount(Long... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.INSERT_DIRFILE_COUNT, values); - } - - /** - * Fetch records that have update_dirfile_count BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfUpdateDirfileCount(Long lowerInclusive, Long upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_DIRFILE_COUNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have update_dirfile_count IN (values) - */ - public List fetchByUpdateDirfileCount(Long... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_DIRFILE_COUNT, values); - } - - /** - * Fetch records that have insert_file_count BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfInsertFileCount(Long lowerInclusive, Long upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.INSERT_FILE_COUNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have insert_file_count IN (values) - */ - public List fetchByInsertFileCount(Long... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.INSERT_FILE_COUNT, values); - } - - /** - * Fetch records that have update_file_count BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfUpdateFileCount(Long lowerInclusive, Long upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_FILE_COUNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have update_file_count IN (values) - */ - public List fetchByUpdateFileCount(Long... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_FILE_COUNT, values); - } - - /** - * Fetch records that have description BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDescription(String lowerInclusive, String upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.DESCRIPTION, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have description IN (values) - */ - public List fetchByDescription(String... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.DESCRIPTION, values); - } - - /** - * Fetch records that have run_result BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfRunResult(String lowerInclusive, String upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.RUN_RESULT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have run_result IN (values) - */ - public List fetchByRunResult(String... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.RUN_RESULT, values); - } - - /** - * Fetch records that have update_timestamp BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUpdateTimestamp(Long lowerInclusive, Long upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_TIMESTAMP, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have update_timestamp IN (values) - */ - public List fetchByUpdateTimestamp(Long... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_TIMESTAMP, values); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.ArchiveSynLog fetchOneById(String value) { - return fetchOne(ArchiveSynLog.ARCHIVE_SYN_LOG.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(ArchiveSynLog.ARCHIVE_SYN_LOG.ID, value); - } - - /** - * Fetch records that have next_update_timestamp BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfNextUpdateTimestamp(Long lowerInclusive, Long upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.NEXT_UPDATE_TIMESTAMP, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have next_update_timestamp IN (values) - */ - public List fetchByNextUpdateTimestamp(Long... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.NEXT_UPDATE_TIMESTAMP, values); - } - - /** - * Fetch records that have end_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEndTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(ArchiveSynLog.ARCHIVE_SYN_LOG.END_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have end_time IN (values) - */ - public List fetchByEndTime(LocalDateTime... values) { - return fetch(ArchiveSynLog.ARCHIVE_SYN_LOG.END_TIME, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CertificateApplyDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CertificateApplyDao.java deleted file mode 100644 index f380f3c..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CertificateApplyDao.java +++ /dev/null @@ -1,329 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.time.LocalDateTime; -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.CertificateApply; -import jj.tech.paolu.repository.jooq.tables.records.CertificateApplyRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class CertificateApplyDao extends DAOImpl { - - /** - * Create a new CertificateApplyDao without any configuration - */ - public CertificateApplyDao() { - super(CertificateApply.CERTIFICATE_APPLY, jj.tech.paolu.repository.jooq.tables.pojos.CertificateApply.class); - } - - /** - * Create a new CertificateApplyDao with an attached configuration - */ - @Autowired - public CertificateApplyDao(Configuration configuration) { - super(CertificateApply.CERTIFICATE_APPLY, jj.tech.paolu.repository.jooq.tables.pojos.CertificateApply.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.CertificateApply object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.CertificateApply fetchOneById(String value) { - return fetchOne(CertificateApply.CERTIFICATE_APPLY.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(CertificateApply.CERTIFICATE_APPLY.ID, value); - } - - /** - * Fetch records that have is_org BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsOrg(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.IS_ORG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_org IN (values) - */ - public List fetchByIsOrg(Integer... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.IS_ORG, values); - } - - /** - * Fetch records that have user_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUserId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.USER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have user_id IN (values) - */ - public List fetchByUserId(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.USER_ID, values); - } - - /** - * Fetch records that have user_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUserName(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.USER_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have user_name IN (values) - */ - public List fetchByUserName(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.USER_NAME, values); - } - - /** - * Fetch records that have user_real_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUserRealName(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.USER_REAL_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have user_real_name IN (values) - */ - public List fetchByUserRealName(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.USER_REAL_NAME, values); - } - - /** - * Fetch records that have user_phone BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUserPhone(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.USER_PHONE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have user_phone IN (values) - */ - public List fetchByUserPhone(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.USER_PHONE, values); - } - - /** - * Fetch records that have user_org_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUserOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.USER_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have user_org_id IN (values) - */ - public List fetchByUserOrgId(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.USER_ORG_ID, values); - } - - /** - * Fetch records that have user_org_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUserOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.USER_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have user_org_name IN (values) - */ - public List fetchByUserOrgName(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.USER_ORG_NAME, values); - } - - /** - * Fetch records that have apply_type BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyType(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.APPLY_TYPE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_type IN (values) - */ - public List fetchByApplyType(Integer... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.APPLY_TYPE, values); - } - - /** - * Fetch records that have status BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfStatus(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have status IN (values) - */ - public List fetchByStatus(Integer... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.STATUS, values); - } - - /** - * Fetch records that have apply_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.APPLY_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_time IN (values) - */ - public List fetchByApplyTime(LocalDateTime... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.APPLY_TIME, values); - } - - /** - * Fetch records that have apply_finish_time BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfApplyFinishTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.APPLY_FINISH_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_finish_time IN (values) - */ - public List fetchByApplyFinishTime(LocalDateTime... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.APPLY_FINISH_TIME, values); - } - - /** - * Fetch records that have apply_reason BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyReason(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.APPLY_REASON, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_reason IN (values) - */ - public List fetchByApplyReason(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.APPLY_REASON, values); - } - - /** - * Fetch records that have next_check_org_id BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfNextCheckOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.NEXT_CHECK_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have next_check_org_id IN (values) - */ - public List fetchByNextCheckOrgId(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.NEXT_CHECK_ORG_ID, values); - } - - /** - * Fetch records that have end_check_org_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEndCheckOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.END_CHECK_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have end_check_org_id IN (values) - */ - public List fetchByEndCheckOrgId(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.END_CHECK_ORG_ID, values); - } - - /** - * Fetch records that have cer_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCerId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.CER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have cer_id IN (values) - */ - public List fetchByCerId(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.CER_ID, values); - } - - /** - * Fetch a unique record that has cer_id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.CertificateApply fetchOneByCerId(String value) { - return fetchOne(CertificateApply.CERTIFICATE_APPLY.CER_ID, value); - } - - /** - * Fetch a unique record that has cer_id = value - */ - public Optional fetchOptionalByCerId(String value) { - return fetchOptional(CertificateApply.CERTIFICATE_APPLY.CER_ID, value); - } - - /** - * Fetch records that have company_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCompanyId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApply.CERTIFICATE_APPLY.COMPANY_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have company_id IN (values) - */ - public List fetchByCompanyId(String... values) { - return fetch(CertificateApply.CERTIFICATE_APPLY.COMPANY_ID, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CertificateApplyRecordDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CertificateApplyRecordDao.java deleted file mode 100644 index 4e6201e..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CertificateApplyRecordDao.java +++ /dev/null @@ -1,287 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.time.LocalDateTime; -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.CertificateApplyRecord; -import jj.tech.paolu.repository.jooq.tables.records.CertificateApplyRecordRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class CertificateApplyRecordDao extends DAOImpl { - - /** - * Create a new CertificateApplyRecordDao without any configuration - */ - public CertificateApplyRecordDao() { - super(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD, jj.tech.paolu.repository.jooq.tables.pojos.CertificateApplyRecord.class); - } - - /** - * Create a new CertificateApplyRecordDao with an attached configuration - */ - @Autowired - public CertificateApplyRecordDao(Configuration configuration) { - super(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD, jj.tech.paolu.repository.jooq.tables.pojos.CertificateApplyRecord.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.CertificateApplyRecord object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.CertificateApplyRecord fetchOneById(String value) { - return fetchOne(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.ID, value); - } - - /** - * Fetch records that have certificate_apply_id BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfCertificateApplyId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CERTIFICATE_APPLY_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have certificate_apply_id IN (values) - */ - public List fetchByCertificateApplyId(String... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CERTIFICATE_APPLY_ID, values); - } - - /** - * Fetch records that have certificate_apply_user_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCertificateApplyUserId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CERTIFICATE_APPLY_USER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have certificate_apply_user_id IN - * (values) - */ - public List fetchByCertificateApplyUserId(String... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CERTIFICATE_APPLY_USER_ID, values); - } - - /** - * Fetch records that have certificate_apply_user_org_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCertificateApplyUserOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CERTIFICATE_APPLY_USER_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have certificate_apply_user_org_id IN - * (values) - */ - public List fetchByCertificateApplyUserOrgId(String... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CERTIFICATE_APPLY_USER_ORG_ID, values); - } - - /** - * Fetch records that have is_org BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsOrg(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.IS_ORG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_org IN (values) - */ - public List fetchByIsOrg(Integer... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.IS_ORG, values); - } - - /** - * Fetch records that have apply_type BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyType(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.APPLY_TYPE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_type IN (values) - */ - public List fetchByApplyType(Integer... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.APPLY_TYPE, values); - } - - /** - * Fetch records that have check_user_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckUserId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_USER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_user_id IN (values) - */ - public List fetchByCheckUserId(String... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_USER_ID, values); - } - - /** - * Fetch records that have check_user_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckUserName(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_USER_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_user_name IN (values) - */ - public List fetchByCheckUserName(String... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_USER_NAME, values); - } - - /** - * Fetch records that have check_org_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_org_id IN (values) - */ - public List fetchByCheckOrgId(String... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_ORG_ID, values); - } - - /** - * Fetch records that have check_org_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_org_name IN (values) - */ - public List fetchByCheckOrgName(String... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_ORG_NAME, values); - } - - /** - * Fetch records that have check_describe BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckDescribe(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_DESCRIBE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_describe IN (values) - */ - public List fetchByCheckDescribe(String... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_DESCRIBE, values); - } - - /** - * Fetch records that have check_status BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckStatus(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_status IN (values) - */ - public List fetchByCheckStatus(Integer... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_STATUS, values); - } - - /** - * Fetch records that have check_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_time IN (values) - */ - public List fetchByCheckTime(LocalDateTime... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_TIME, values); - } - - /** - * Fetch records that have next_check_org_id BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfNextCheckOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.NEXT_CHECK_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have next_check_org_id IN (values) - */ - public List fetchByNextCheckOrgId(String... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.NEXT_CHECK_ORG_ID, values); - } - - /** - * Fetch records that have next_check_org_name BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfNextCheckOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.NEXT_CHECK_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have next_check_org_name IN (values) - */ - public List fetchByNextCheckOrgName(String... values) { - return fetch(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.NEXT_CHECK_ORG_NAME, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CertificateDetailDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CertificateDetailDao.java deleted file mode 100644 index 2a457ed..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CertificateDetailDao.java +++ /dev/null @@ -1,270 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.time.LocalDateTime; -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.CertificateDetail; -import jj.tech.paolu.repository.jooq.tables.records.CertificateDetailRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class CertificateDetailDao extends DAOImpl { - - /** - * Create a new CertificateDetailDao without any configuration - */ - public CertificateDetailDao() { - super(CertificateDetail.CERTIFICATE_DETAIL, jj.tech.paolu.repository.jooq.tables.pojos.CertificateDetail.class); - } - - /** - * Create a new CertificateDetailDao with an attached configuration - */ - @Autowired - public CertificateDetailDao(Configuration configuration) { - super(CertificateDetail.CERTIFICATE_DETAIL, jj.tech.paolu.repository.jooq.tables.pojos.CertificateDetail.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.CertificateDetail object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.CertificateDetail fetchOneById(String value) { - return fetchOne(CertificateDetail.CERTIFICATE_DETAIL.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(CertificateDetail.CERTIFICATE_DETAIL.ID, value); - } - - /** - * Fetch records that have certificate_apply_id BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfCertificateApplyId(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.CERTIFICATE_APPLY_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have certificate_apply_id IN (values) - */ - public List fetchByCertificateApplyId(String... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.CERTIFICATE_APPLY_ID, values); - } - - /** - * Fetch records that have work_start_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWorkStartTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.WORK_START_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have work_start_time IN (values) - */ - public List fetchByWorkStartTime(LocalDateTime... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.WORK_START_TIME, values); - } - - /** - * Fetch records that have work_end_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWorkEndTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.WORK_END_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have work_end_time IN (values) - */ - public List fetchByWorkEndTime(LocalDateTime... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.WORK_END_TIME, values); - } - - /** - * Fetch records that have status BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfStatus(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have status IN (values) - */ - public List fetchByStatus(Integer... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.STATUS, values); - } - - /** - * Fetch records that have cert_file_content BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfCertFileContent(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.CERT_FILE_CONTENT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have cert_file_content IN (values) - */ - public List fetchByCertFileContent(String... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.CERT_FILE_CONTENT, values); - } - - /** - * Fetch records that have is_up_chain BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsUpChain(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.IS_UP_CHAIN, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_up_chain IN (values) - */ - public List fetchByIsUpChain(Integer... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.IS_UP_CHAIN, values); - } - - /** - * Fetch records that have weid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWeid(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.WEID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have weid IN (values) - */ - public List fetchByWeid(String... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.WEID, values); - } - - /** - * Fetch records that have private_key_hex_str BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfPrivateKeyHexStr(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.PRIVATE_KEY_HEX_STR, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have private_key_hex_str IN (values) - */ - public List fetchByPrivateKeyHexStr(String... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.PRIVATE_KEY_HEX_STR, values); - } - - /** - * Fetch records that have x509_serial_number BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfX509SerialNumber(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.X509_SERIAL_NUMBER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have x509_serial_number IN (values) - */ - public List fetchByX509SerialNumber(String... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.X509_SERIAL_NUMBER, values); - } - - /** - * Fetch records that have x509_subject BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfX509Subject(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.X509_SUBJECT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have x509_subject IN (values) - */ - public List fetchByX509Subject(String... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.X509_SUBJECT, values); - } - - /** - * Fetch records that have x509_issuer BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfX509Issuer(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.X509_ISSUER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have x509_issuer IN (values) - */ - public List fetchByX509Issuer(String... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.X509_ISSUER, values); - } - - /** - * Fetch records that have x509_public_key BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfX509PublicKey(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.X509_PUBLIC_KEY, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have x509_public_key IN (values) - */ - public List fetchByX509PublicKey(String... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.X509_PUBLIC_KEY, values); - } - - /** - * Fetch records that have x509_sig_alg_name BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfX509SigAlgName(String lowerInclusive, String upperInclusive) { - return fetchRange(CertificateDetail.CERTIFICATE_DETAIL.X509_SIG_ALG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have x509_sig_alg_name IN (values) - */ - public List fetchByX509SigAlgName(String... values) { - return fetch(CertificateDetail.CERTIFICATE_DETAIL.X509_SIG_ALG_NAME, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/DecryptLogDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/DecryptLogDao.java deleted file mode 100644 index 204efce..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/DecryptLogDao.java +++ /dev/null @@ -1,195 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.time.LocalDateTime; -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.DecryptLog; -import jj.tech.paolu.repository.jooq.tables.records.DecryptLogRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * 解密情况 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class DecryptLogDao extends DAOImpl { - - /** - * Create a new DecryptLogDao without any configuration - */ - public DecryptLogDao() { - super(DecryptLog.DECRYPT_LOG, jj.tech.paolu.repository.jooq.tables.pojos.DecryptLog.class); - } - - /** - * Create a new DecryptLogDao with an attached configuration - */ - @Autowired - public DecryptLogDao(Configuration configuration) { - super(DecryptLog.DECRYPT_LOG, jj.tech.paolu.repository.jooq.tables.pojos.DecryptLog.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.DecryptLog object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(DecryptLog.DECRYPT_LOG.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(DecryptLog.DECRYPT_LOG.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.DecryptLog fetchOneById(String value) { - return fetchOne(DecryptLog.DECRYPT_LOG.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(DecryptLog.DECRYPT_LOG.ID, value); - } - - /** - * Fetch records that have weid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWeid(String lowerInclusive, String upperInclusive) { - return fetchRange(DecryptLog.DECRYPT_LOG.WEID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have weid IN (values) - */ - public List fetchByWeid(String... values) { - return fetch(DecryptLog.DECRYPT_LOG.WEID, values); - } - - /** - * Fetch records that have content_type BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfContentType(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DecryptLog.DECRYPT_LOG.CONTENT_TYPE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have content_type IN (values) - */ - public List fetchByContentType(Integer... values) { - return fetch(DecryptLog.DECRYPT_LOG.CONTENT_TYPE, values); - } - - /** - * Fetch records that have content_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfContentId(String lowerInclusive, String upperInclusive) { - return fetchRange(DecryptLog.DECRYPT_LOG.CONTENT_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have content_id IN (values) - */ - public List fetchByContentId(String... values) { - return fetch(DecryptLog.DECRYPT_LOG.CONTENT_ID, values); - } - - /** - * Fetch records that have dec_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDecTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(DecryptLog.DECRYPT_LOG.DEC_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have dec_time IN (values) - */ - public List fetchByDecTime(LocalDateTime... values) { - return fetch(DecryptLog.DECRYPT_LOG.DEC_TIME, values); - } - - /** - * Fetch records that have location BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfLocation(String lowerInclusive, String upperInclusive) { - return fetchRange(DecryptLog.DECRYPT_LOG.LOCATION, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have location IN (values) - */ - public List fetchByLocation(String... values) { - return fetch(DecryptLog.DECRYPT_LOG.LOCATION, values); - } - - /** - * Fetch records that have sm9hibeid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSm9hibeid(String lowerInclusive, String upperInclusive) { - return fetchRange(DecryptLog.DECRYPT_LOG.SM9HIBEID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sm9hibeid IN (values) - */ - public List fetchBySm9hibeid(String... values) { - return fetch(DecryptLog.DECRYPT_LOG.SM9HIBEID, values); - } - - /** - * Fetch records that have status BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfStatus(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DecryptLog.DECRYPT_LOG.STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have status IN (values) - */ - public List fetchByStatus(Integer... values) { - return fetch(DecryptLog.DECRYPT_LOG.STATUS, values); - } - - /** - * Fetch records that have sign BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSign(String lowerInclusive, String upperInclusive) { - return fetchRange(DecryptLog.DECRYPT_LOG.SIGN, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sign IN (values) - */ - public List fetchBySign(String... values) { - return fetch(DecryptLog.DECRYPT_LOG.SIGN, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/DownloadLogDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/DownloadLogDao.java deleted file mode 100644 index 2f6b683..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/DownloadLogDao.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.time.LocalDateTime; -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.DownloadLog; -import jj.tech.paolu.repository.jooq.tables.records.DownloadLogRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * 下载行为记录 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class DownloadLogDao extends DAOImpl { - - /** - * Create a new DownloadLogDao without any configuration - */ - public DownloadLogDao() { - super(DownloadLog.DOWNLOAD_LOG, jj.tech.paolu.repository.jooq.tables.pojos.DownloadLog.class); - } - - /** - * Create a new DownloadLogDao with an attached configuration - */ - @Autowired - public DownloadLogDao(Configuration configuration) { - super(DownloadLog.DOWNLOAD_LOG, jj.tech.paolu.repository.jooq.tables.pojos.DownloadLog.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.DownloadLog object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(DownloadLog.DOWNLOAD_LOG.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(DownloadLog.DOWNLOAD_LOG.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.DownloadLog fetchOneById(String value) { - return fetchOne(DownloadLog.DOWNLOAD_LOG.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(DownloadLog.DOWNLOAD_LOG.ID, value); - } - - /** - * Fetch records that have weid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWeid(String lowerInclusive, String upperInclusive) { - return fetchRange(DownloadLog.DOWNLOAD_LOG.WEID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have weid IN (values) - */ - public List fetchByWeid(String... values) { - return fetch(DownloadLog.DOWNLOAD_LOG.WEID, values); - } - - /** - * Fetch records that have downloadtime BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDownloadtime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(DownloadLog.DOWNLOAD_LOG.DOWNLOADTIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have downloadtime IN (values) - */ - public List fetchByDownloadtime(LocalDateTime... values) { - return fetch(DownloadLog.DOWNLOAD_LOG.DOWNLOADTIME, values); - } - - /** - * Fetch records that have filenum BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilenum(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DownloadLog.DOWNLOAD_LOG.FILENUM, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filenum IN (values) - */ - public List fetchByFilenum(Integer... values) { - return fetch(DownloadLog.DOWNLOAD_LOG.FILENUM, values); - } - - /** - * Fetch records that have content_type BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfContentType(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DownloadLog.DOWNLOAD_LOG.CONTENT_TYPE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have content_type IN (values) - */ - public List fetchByContentType(Integer... values) { - return fetch(DownloadLog.DOWNLOAD_LOG.CONTENT_TYPE, values); - } - - /** - * Fetch records that have contentid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfContentid(String lowerInclusive, String upperInclusive) { - return fetchRange(DownloadLog.DOWNLOAD_LOG.CONTENTID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have contentid IN (values) - */ - public List fetchByContentid(String... values) { - return fetch(DownloadLog.DOWNLOAD_LOG.CONTENTID, values); - } - - /** - * Fetch records that have sign BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSign(String lowerInclusive, String upperInclusive) { - return fetchRange(DownloadLog.DOWNLOAD_LOG.SIGN, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sign IN (values) - */ - public List fetchBySign(String... values) { - return fetch(DownloadLog.DOWNLOAD_LOG.SIGN, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyCheckRecordDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyCheckRecordDao.java deleted file mode 100644 index d70e43e..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyCheckRecordDao.java +++ /dev/null @@ -1,287 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.time.LocalDateTime; -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.FilesApplyCheckRecord; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyCheckRecordRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class FilesApplyCheckRecordDao extends DAOImpl { - - /** - * Create a new FilesApplyCheckRecordDao without any configuration - */ - public FilesApplyCheckRecordDao() { - super(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD, jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyCheckRecord.class); - } - - /** - * Create a new FilesApplyCheckRecordDao with an attached configuration - */ - @Autowired - public FilesApplyCheckRecordDao(Configuration configuration) { - super(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD, jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyCheckRecord.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyCheckRecord object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyCheckRecord fetchOneById(String value) { - return fetchOne(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.ID, value); - } - - /** - * Fetch records that have files_apply_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilesApplyId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.FILES_APPLY_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have files_apply_id IN (values) - */ - public List fetchByFilesApplyId(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.FILES_APPLY_ID, values); - } - - /** - * Fetch records that have is_apply_provider BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfIsApplyProvider(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.IS_APPLY_PROVIDER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_apply_provider IN (values) - */ - public List fetchByIsApplyProvider(Integer... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.IS_APPLY_PROVIDER, values); - } - - /** - * Fetch records that have check_user_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckUserId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_USER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_user_id IN (values) - */ - public List fetchByCheckUserId(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_USER_ID, values); - } - - /** - * Fetch records that have check_user_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckUserName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_USER_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_user_name IN (values) - */ - public List fetchByCheckUserName(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_USER_NAME, values); - } - - /** - * Fetch records that have check_org_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_org_id IN (values) - */ - public List fetchByCheckOrgId(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_ORG_ID, values); - } - - /** - * Fetch records that have check_org_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_org_name IN (values) - */ - public List fetchByCheckOrgName(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_ORG_NAME, values); - } - - /** - * Fetch records that have next_check_org_id BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfNextCheckOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.NEXT_CHECK_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have next_check_org_id IN (values) - */ - public List fetchByNextCheckOrgId(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.NEXT_CHECK_ORG_ID, values); - } - - /** - * Fetch records that have next_check_org_name BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfNextCheckOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.NEXT_CHECK_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have next_check_org_name IN (values) - */ - public List fetchByNextCheckOrgName(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.NEXT_CHECK_ORG_NAME, values); - } - - /** - * Fetch records that have check_describe BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckDescribe(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_DESCRIBE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_describe IN (values) - */ - public List fetchByCheckDescribe(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_DESCRIBE, values); - } - - /** - * Fetch records that have check_status BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckStatus(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_status IN (values) - */ - public List fetchByCheckStatus(Integer... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_STATUS, values); - } - - /** - * Fetch records that have check_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have check_time IN (values) - */ - public List fetchByCheckTime(LocalDateTime... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_TIME, values); - } - - /** - * Fetch records that have provider_next_check_role_sign_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderNextCheckRoleSignId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.PROVIDER_NEXT_CHECK_ROLE_SIGN_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_next_check_role_sign_id IN - * (values) - */ - public List fetchByProviderNextCheckRoleSignId(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.PROVIDER_NEXT_CHECK_ROLE_SIGN_ID, values); - } - - /** - * Fetch records that have provider_next_check_role_sign_name BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderNextCheckRoleSignName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.PROVIDER_NEXT_CHECK_ROLE_SIGN_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_next_check_role_sign_name IN - * (values) - */ - public List fetchByProviderNextCheckRoleSignName(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.PROVIDER_NEXT_CHECK_ROLE_SIGN_NAME, values); - } - - /** - * Fetch records that have sign BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSign(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.SIGN, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sign IN (values) - */ - public List fetchBySign(String... values) { - return fetch(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.SIGN, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDao.java deleted file mode 100644 index 0a8abc3..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDao.java +++ /dev/null @@ -1,776 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.time.LocalDateTime; -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.FilesApply; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class FilesApplyDao extends DAOImpl { - - /** - * Create a new FilesApplyDao without any configuration - */ - public FilesApplyDao() { - super(FilesApply.FILES_APPLY, jj.tech.paolu.repository.jooq.tables.pojos.FilesApply.class); - } - - /** - * Create a new FilesApplyDao with an attached configuration - */ - @Autowired - public FilesApplyDao(Configuration configuration) { - super(FilesApply.FILES_APPLY, jj.tech.paolu.repository.jooq.tables.pojos.FilesApply.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.FilesApply object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(FilesApply.FILES_APPLY.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.FilesApply fetchOneById(String value) { - return fetchOne(FilesApply.FILES_APPLY.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(FilesApply.FILES_APPLY.ID, value); - } - - /** - * Fetch records that have apply_user_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyUserId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_USER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_user_id IN (values) - */ - public List fetchByApplyUserId(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_USER_ID, values); - } - - /** - * Fetch records that have apply_user_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyUserName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_USER_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_user_name IN (values) - */ - public List fetchByApplyUserName(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_USER_NAME, values); - } - - /** - * Fetch records that have apply_user_phone BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyUserPhone(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_USER_PHONE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_user_phone IN (values) - */ - public List fetchByApplyUserPhone(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_USER_PHONE, values); - } - - /** - * Fetch records that have apply_user_email BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyUserEmail(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_USER_EMAIL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_user_email IN (values) - */ - public List fetchByApplyUserEmail(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_USER_EMAIL, values); - } - - /** - * Fetch records that have apply_org_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_org_id IN (values) - */ - public List fetchByApplyOrgId(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_ORG_ID, values); - } - - /** - * Fetch records that have apply_org_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_org_name IN (values) - */ - public List fetchByApplyOrgName(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_ORG_NAME, values); - } - - /** - * Fetch records that have apply_in_check_user_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyInCheckUserId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_IN_CHECK_USER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_in_check_user_id IN (values) - */ - public List fetchByApplyInCheckUserId(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_IN_CHECK_USER_ID, values); - } - - /** - * Fetch records that have apply_in_check_user_name BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyInCheckUserName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_IN_CHECK_USER_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_in_check_user_name IN (values) - */ - public List fetchByApplyInCheckUserName(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_IN_CHECK_USER_NAME, values); - } - - /** - * Fetch records that have apply_in_check_org_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyInCheckOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_IN_CHECK_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_in_check_org_id IN (values) - */ - public List fetchByApplyInCheckOrgId(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_IN_CHECK_ORG_ID, values); - } - - /** - * Fetch records that have apply_in_check_org_name BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyInCheckOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_IN_CHECK_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_in_check_org_name IN (values) - */ - public List fetchByApplyInCheckOrgName(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_IN_CHECK_ORG_NAME, values); - } - - /** - * Fetch records that have apply_next_check_org_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyNextCheckOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_NEXT_CHECK_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_next_check_org_id IN (values) - */ - public List fetchByApplyNextCheckOrgId(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_NEXT_CHECK_ORG_ID, values); - } - - /** - * Fetch records that have apply_next_check_org_name BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyNextCheckOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_NEXT_CHECK_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_next_check_org_name IN - * (values) - */ - public List fetchByApplyNextCheckOrgName(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_NEXT_CHECK_ORG_NAME, values); - } - - /** - * Fetch records that have apply_end_check_user_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyEndCheckUserId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_END_CHECK_USER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_end_check_user_id IN (values) - */ - public List fetchByApplyEndCheckUserId(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_END_CHECK_USER_ID, values); - } - - /** - * Fetch records that have apply_end_check_user_name BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyEndCheckUserName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_END_CHECK_USER_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_end_check_user_name IN - * (values) - */ - public List fetchByApplyEndCheckUserName(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_END_CHECK_USER_NAME, values); - } - - /** - * Fetch records that have apply_end_check_org_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyEndCheckOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_END_CHECK_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_end_check_org_id IN (values) - */ - public List fetchByApplyEndCheckOrgId(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_END_CHECK_ORG_ID, values); - } - - /** - * Fetch records that have apply_end_check_org_name BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyEndCheckOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_END_CHECK_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_end_check_org_name IN (values) - */ - public List fetchByApplyEndCheckOrgName(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_END_CHECK_ORG_NAME, values); - } - - /** - * Fetch records that have apply_days BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyDays(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_DAYS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_days IN (values) - */ - public List fetchByApplyDays(Integer... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_DAYS, values); - } - - /** - * Fetch records that have apply_feedback BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyFeedback(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_FEEDBACK, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_feedback IN (values) - */ - public List fetchByApplyFeedback(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_FEEDBACK, values); - } - - /** - * Fetch records that have apply_reason BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyReason(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_REASON, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_reason IN (values) - */ - public List fetchByApplyReason(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_REASON, values); - } - - /** - * Fetch records that have apply_cancel_reason BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfApplyCancelReason(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_CANCEL_REASON, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_cancel_reason IN (values) - */ - public List fetchByApplyCancelReason(String... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_CANCEL_REASON, values); - } - - /** - * Fetch records that have apply_view_type_print BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyViewTypePrint(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_VIEW_TYPE_PRINT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_view_type_print IN (values) - */ - public List fetchByApplyViewTypePrint(Integer... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_VIEW_TYPE_PRINT, values); - } - - /** - * Fetch records that have apply_view_type_online BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyViewTypeOnline(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_VIEW_TYPE_ONLINE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_view_type_online IN (values) - */ - public List fetchByApplyViewTypeOnline(Integer... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_VIEW_TYPE_ONLINE, values); - } - - /** - * Fetch records that have apply_file_num BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyFileNum(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_FILE_NUM, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_file_num IN (values) - */ - public List fetchByApplyFileNum(Integer... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_FILE_NUM, values); - } - - /** - * Fetch records that have apply_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfApplyTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_time IN (values) - */ - public List fetchByApplyTime(LocalDateTime... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_TIME, values); - } - - /** - * Fetch records that have apply_check_is_finish BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyCheckIsFinish(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.APPLY_CHECK_IS_FINISH, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_check_is_finish IN (values) - */ - public List fetchByApplyCheckIsFinish(Integer... values) { - return fetch(FilesApply.FILES_APPLY.APPLY_CHECK_IS_FINISH, values); - } - - /** - * Fetch records that have provider_org_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfProviderOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_org_id IN (values) - */ - public List fetchByProviderOrgId(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_ORG_ID, values); - } - - /** - * Fetch records that have provider_org_name BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfProviderOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_org_name IN (values) - */ - public List fetchByProviderOrgName(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_ORG_NAME, values); - } - - /** - * Fetch records that have provider_file_properties BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderFileProperties(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_FILE_PROPERTIES, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_file_properties IN (values) - */ - public List fetchByProviderFileProperties(Integer... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_FILE_PROPERTIES, values); - } - - /** - * Fetch records that have provider_use_start_time BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderUseStartTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_USE_START_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_use_start_time IN (values) - */ - public List fetchByProviderUseStartTime(LocalDateTime... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_USE_START_TIME, values); - } - - /** - * Fetch records that have provider_use_end_time BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderUseEndTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_USE_END_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_use_end_time IN (values) - */ - public List fetchByProviderUseEndTime(LocalDateTime... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_USE_END_TIME, values); - } - - /** - * Fetch records that have provider_in_check_user_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderInCheckUserId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_IN_CHECK_USER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_in_check_user_id IN - * (values) - */ - public List fetchByProviderInCheckUserId(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_IN_CHECK_USER_ID, values); - } - - /** - * Fetch records that have provider_in_check_user_name BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderInCheckUserName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_IN_CHECK_USER_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_in_check_user_name IN - * (values) - */ - public List fetchByProviderInCheckUserName(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_IN_CHECK_USER_NAME, values); - } - - /** - * Fetch records that have provider_in_check_org_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderInCheckOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_IN_CHECK_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_in_check_org_id IN (values) - */ - public List fetchByProviderInCheckOrgId(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_IN_CHECK_ORG_ID, values); - } - - /** - * Fetch records that have provider_in_check_org_name BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderInCheckOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_IN_CHECK_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_in_check_org_name IN - * (values) - */ - public List fetchByProviderInCheckOrgName(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_IN_CHECK_ORG_NAME, values); - } - - /** - * Fetch records that have provider_next_check_role_sign_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderNextCheckRoleSignId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_NEXT_CHECK_ROLE_SIGN_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_next_check_role_sign_id IN - * (values) - */ - public List fetchByProviderNextCheckRoleSignId(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_NEXT_CHECK_ROLE_SIGN_ID, values); - } - - /** - * Fetch records that have provider_next_check_role_sign_name BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderNextCheckRoleSignName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_NEXT_CHECK_ROLE_SIGN_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_next_check_role_sign_name IN - * (values) - */ - public List fetchByProviderNextCheckRoleSignName(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_NEXT_CHECK_ROLE_SIGN_NAME, values); - } - - /** - * Fetch records that have provider_end_check_user_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderEndCheckUserId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_END_CHECK_USER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_end_check_user_id IN - * (values) - */ - public List fetchByProviderEndCheckUserId(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_END_CHECK_USER_ID, values); - } - - /** - * Fetch records that have provider_end_check_user_name BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderEndCheckUserName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_END_CHECK_USER_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_end_check_user_name IN - * (values) - */ - public List fetchByProviderEndCheckUserName(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_END_CHECK_USER_NAME, values); - } - - /** - * Fetch records that have provider_end_check_org_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderEndCheckOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_END_CHECK_ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_end_check_org_id IN - * (values) - */ - public List fetchByProviderEndCheckOrgId(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_END_CHECK_ORG_ID, values); - } - - /** - * Fetch records that have provider_end_check_org_name BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderEndCheckOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_END_CHECK_ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_end_check_org_name IN - * (values) - */ - public List fetchByProviderEndCheckOrgName(String... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_END_CHECK_ORG_NAME, values); - } - - /** - * Fetch records that have provider_check_is_finish BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfProviderCheckIsFinish(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROVIDER_CHECK_IS_FINISH, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have provider_check_is_finish IN (values) - */ - public List fetchByProviderCheckIsFinish(Integer... values) { - return fetch(FilesApply.FILES_APPLY.PROVIDER_CHECK_IS_FINISH, values); - } - - /** - * Fetch records that have secret_key BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSecretKey(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.SECRET_KEY, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have secret_key IN (values) - */ - public List fetchBySecretKey(String... values) { - return fetch(FilesApply.FILES_APPLY.SECRET_KEY, values); - } - - /** - * Fetch records that have status BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfStatus(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have status IN (values) - */ - public List fetchByStatus(Integer... values) { - return fetch(FilesApply.FILES_APPLY.STATUS, values); - } - - /** - * Fetch records that have project_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfProjectId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROJECT_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have project_id IN (values) - */ - public List fetchByProjectId(String... values) { - return fetch(FilesApply.FILES_APPLY.PROJECT_ID, values); - } - - /** - * Fetch records that have project_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfProjectName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.PROJECT_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have project_name IN (values) - */ - public List fetchByProjectName(String... values) { - return fetch(FilesApply.FILES_APPLY.PROJECT_NAME, values); - } - - /** - * Fetch records that have sign BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSign(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApply.FILES_APPLY.SIGN, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sign IN (values) - */ - public List fetchBySign(String... values) { - return fetch(FilesApply.FILES_APPLY.SIGN, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDirectoryDocsDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDirectoryDocsDao.java deleted file mode 100644 index 2f7ac65..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDirectoryDocsDao.java +++ /dev/null @@ -1,404 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.FilesApplyDirectoryDocs; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyDirectoryDocsRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class FilesApplyDirectoryDocsDao extends DAOImpl { - - /** - * Create a new FilesApplyDirectoryDocsDao without any configuration - */ - public FilesApplyDirectoryDocsDao() { - super(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS, jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDirectoryDocs.class); - } - - /** - * Create a new FilesApplyDirectoryDocsDao with an attached configuration - */ - @Autowired - public FilesApplyDirectoryDocsDao(Configuration configuration) { - super(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS, jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDirectoryDocs.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDirectoryDocs object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDirectoryDocs fetchOneById(String value) { - return fetchOne(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.ID, value); - } - - /** - * Fetch records that have files_apply_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilesApplyId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.FILES_APPLY_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have files_apply_id IN (values) - */ - public List fetchByFilesApplyId(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.FILES_APPLY_ID, values); - } - - /** - * Fetch records that have directory_file_id BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfDirectoryFileId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.DIRECTORY_FILE_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have directory_file_id IN (values) - */ - public List fetchByDirectoryFileId(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.DIRECTORY_FILE_ID, values); - } - - /** - * Fetch records that have directory_file_p_id BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfDirectoryFilePId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.DIRECTORY_FILE_P_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have directory_file_p_id IN (values) - */ - public List fetchByDirectoryFilePId(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.DIRECTORY_FILE_P_ID, values); - } - - /** - * Fetch records that have filesuper BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilesuper(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.FILESUPER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filesuper IN (values) - */ - public List fetchByFilesuper(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.FILESUPER, values); - } - - /** - * Fetch records that have filecount BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilecount(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.FILECOUNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filecount IN (values) - */ - public List fetchByFilecount(Integer... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.FILECOUNT, values); - } - - /** - * Fetch records that have dutyperson BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDutyperson(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.DUTYPERSON, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have dutyperson IN (values) - */ - public List fetchByDutyperson(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.DUTYPERSON, values); - } - - /** - * Fetch records that have eweavedate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEweavedate(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.EWEAVEDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have eweavedate IN (values) - */ - public List fetchByEweavedate(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.EWEAVEDATE, values); - } - - /** - * Fetch records that have filepage BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilepage(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.FILEPAGE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filepage IN (values) - */ - public List fetchByFilepage(Integer... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.FILEPAGE, values); - } - - /** - * Fetch records that have sortorder BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSortorder(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.SORTORDER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sortorder IN (values) - */ - public List fetchBySortorder(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.SORTORDER, values); - } - - /** - * Fetch records that have bpeg BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfBpeg(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.BPEG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have bpeg IN (values) - */ - public List fetchByBpeg(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.BPEG, values); - } - - /** - * Fetch records that have epeg BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEpeg(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.EPEG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have epeg IN (values) - */ - public List fetchByEpeg(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.EPEG, values); - } - - /** - * Fetch records that have filenum BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilenum(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.FILENUM, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filenum IN (values) - */ - public List fetchByFilenum(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.FILENUM, values); - } - - /** - * Fetch records that have remark BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfRemark(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.REMARK, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have remark IN (values) - */ - public List fetchByRemark(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.REMARK, values); - } - - /** - * Fetch records that have recordnum BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfRecordnum(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.RECORDNUM, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have recordnum IN (values) - */ - public List fetchByRecordnum(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.RECORDNUM, values); - } - - /** - * Fetch records that have piecenumber BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPiecenumber(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.PIECENUMBER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have piecenumber IN (values) - */ - public List fetchByPiecenumber(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.PIECENUMBER, values); - } - - /** - * Fetch records that have adddate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAdddate(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.ADDDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have adddate IN (values) - */ - public List fetchByAdddate(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.ADDDATE, values); - } - - /** - * Fetch records that have editdate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEditdate(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.EDITDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have editdate IN (values) - */ - public List fetchByEditdate(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.EDITDATE, values); - } - - /** - * Fetch records that have time_stamp BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfTimeStamp(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.TIME_STAMP, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have time_stamp IN (values) - */ - public List fetchByTimeStamp(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.TIME_STAMP, values); - } - - /** - * Fetch records that have isdel BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsdel(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.ISDEL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have isdel IN (values) - */ - public List fetchByIsdel(Integer... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.ISDEL, values); - } - - /** - * Fetch records that have catalogpdfurl BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCatalogpdfurl(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.CATALOGPDFURL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have catalogpdfurl IN (values) - */ - public List fetchByCatalogpdfurl(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.CATALOGPDFURL, values); - } - - /** - * Fetch records that have signtag BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSigntag(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.SIGNTAG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have signtag IN (values) - */ - public List fetchBySigntag(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.SIGNTAG, values); - } - - /** - * Fetch records that have collecttag BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCollecttag(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.COLLECTTAG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have collecttag IN (values) - */ - public List fetchByCollecttag(String... values) { - return fetch(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS.COLLECTTAG, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDocsDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDocsDao.java deleted file mode 100644 index c406a47..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDocsDao.java +++ /dev/null @@ -1,374 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.FilesApplyDocs; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyDocsRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class FilesApplyDocsDao extends DAOImpl { - - /** - * Create a new FilesApplyDocsDao without any configuration - */ - public FilesApplyDocsDao() { - super(FilesApplyDocs.FILES_APPLY_DOCS, jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDocs.class); - } - - /** - * Create a new FilesApplyDocsDao with an attached configuration - */ - @Autowired - public FilesApplyDocsDao(Configuration configuration) { - super(FilesApplyDocs.FILES_APPLY_DOCS, jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDocs.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDocs object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDocs fetchOneById(String value) { - return fetchOne(FilesApplyDocs.FILES_APPLY_DOCS.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(FilesApplyDocs.FILES_APPLY_DOCS.ID, value); - } - - /** - * Fetch records that have files_apply_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilesApplyId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.FILES_APPLY_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have files_apply_id IN (values) - */ - public List fetchByFilesApplyId(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.FILES_APPLY_ID, values); - } - - /** - * Fetch records that have syn_file_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSynFileId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.SYN_FILE_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have syn_file_id IN (values) - */ - public List fetchBySynFileId(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.SYN_FILE_ID, values); - } - - /** - * Fetch records that have syn_file_p_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSynFilePId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.SYN_FILE_P_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have syn_file_p_id IN (values) - */ - public List fetchBySynFilePId(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.SYN_FILE_P_ID, values); - } - - /** - * Fetch records that have tablenumber BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfTablenumber(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.TABLENUMBER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have tablenumber IN (values) - */ - public List fetchByTablenumber(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.TABLENUMBER, values); - } - - /** - * Fetch records that have annexname BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAnnexname(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.ANNEXNAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have annexname IN (values) - */ - public List fetchByAnnexname(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.ANNEXNAME, values); - } - - /** - * Fetch records that have projectname BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfProjectname(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.PROJECTNAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have projectname IN (values) - */ - public List fetchByProjectname(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.PROJECTNAME, values); - } - - /** - * Fetch records that have eweavedate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEweavedate(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.EWEAVEDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have eweavedate IN (values) - */ - public List fetchByEweavedate(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.EWEAVEDATE, values); - } - - /** - * Fetch records that have checkdate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckdate(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.CHECKDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have checkdate IN (values) - */ - public List fetchByCheckdate(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.CHECKDATE, values); - } - - /** - * Fetch records that have annexpage BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAnnexpage(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.ANNEXPAGE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have annexpage IN (values) - */ - public List fetchByAnnexpage(Integer... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.ANNEXPAGE, values); - } - - /** - * Fetch records that have sortorder BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSortorder(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.SORTORDER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sortorder IN (values) - */ - public List fetchBySortorder(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.SORTORDER, values); - } - - /** - * Fetch records that have filefrom BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilefrom(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.FILEFROM, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filefrom IN (values) - */ - public List fetchByFilefrom(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.FILEFROM, values); - } - - /** - * Fetch records that have archivestag BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfArchivestag(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.ARCHIVESTAG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have archivestag IN (values) - */ - public List fetchByArchivestag(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.ARCHIVESTAG, values); - } - - /** - * Fetch records that have adddate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAdddate(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.ADDDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have adddate IN (values) - */ - public List fetchByAdddate(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.ADDDATE, values); - } - - /** - * Fetch records that have editdate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEditdate(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.EDITDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have editdate IN (values) - */ - public List fetchByEditdate(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.EDITDATE, values); - } - - /** - * Fetch records that have time_stamp BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfTimeStamp(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.TIME_STAMP, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have time_stamp IN (values) - */ - public List fetchByTimeStamp(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.TIME_STAMP, values); - } - - /** - * Fetch records that have isdel BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsdel(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.ISDEL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have isdel IN (values) - */ - public List fetchByIsdel(Integer... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.ISDEL, values); - } - - /** - * Fetch records that have downurl BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDownurl(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.DOWNURL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have downurl IN (values) - */ - public List fetchByDownurl(String... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.DOWNURL, values); - } - - /** - * Fetch records that have filesize BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilesize(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.FILESIZE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filesize IN (values) - */ - public List fetchByFilesize(Integer... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.FILESIZE, values); - } - - /** - * Fetch records that have apply_view_type_print BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyViewTypePrint(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.APPLY_VIEW_TYPE_PRINT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_view_type_print IN (values) - */ - public List fetchByApplyViewTypePrint(Integer... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.APPLY_VIEW_TYPE_PRINT, values); - } - - /** - * Fetch records that have apply_view_type_online BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfApplyViewTypeOnline(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApplyDocs.FILES_APPLY_DOCS.APPLY_VIEW_TYPE_ONLINE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have apply_view_type_online IN (values) - */ - public List fetchByApplyViewTypeOnline(Integer... values) { - return fetch(FilesApplyDocs.FILES_APPLY_DOCS.APPLY_VIEW_TYPE_ONLINE, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDownloadRecordDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDownloadRecordDao.java deleted file mode 100644 index 947f9e4..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/FilesApplyDownloadRecordDao.java +++ /dev/null @@ -1,225 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.time.LocalDateTime; -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.FilesApplyDownloadRecord; -import jj.tech.paolu.repository.jooq.tables.records.FilesApplyDownloadRecordRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class FilesApplyDownloadRecordDao extends DAOImpl { - - /** - * Create a new FilesApplyDownloadRecordDao without any configuration - */ - public FilesApplyDownloadRecordDao() { - super(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD, jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDownloadRecord.class); - } - - /** - * Create a new FilesApplyDownloadRecordDao with an attached configuration - */ - @Autowired - public FilesApplyDownloadRecordDao(Configuration configuration) { - super(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD, jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDownloadRecord.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDownloadRecord object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDownloadRecord fetchOneById(String value) { - return fetchOne(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ID, value); - } - - /** - * Fetch records that have files_apply_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilesApplyId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.FILES_APPLY_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have files_apply_id IN (values) - */ - public List fetchByFilesApplyId(String... values) { - return fetch(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.FILES_APPLY_ID, values); - } - - /** - * Fetch records that have is_dir_file BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsDirFile(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.IS_DIR_FILE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_dir_file IN (values) - */ - public List fetchByIsDirFile(Integer... values) { - return fetch(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.IS_DIR_FILE, values); - } - - /** - * Fetch records that have syn_file_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSynFileId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.SYN_FILE_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have syn_file_id IN (values) - */ - public List fetchBySynFileId(String... values) { - return fetch(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.SYN_FILE_ID, values); - } - - /** - * Fetch records that have syn_file_p_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSynFilePId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.SYN_FILE_P_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have syn_file_p_id IN (values) - */ - public List fetchBySynFilePId(String... values) { - return fetch(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.SYN_FILE_P_ID, values); - } - - /** - * Fetch records that have syn_file_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSynFileName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.SYN_FILE_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have syn_file_name IN (values) - */ - public List fetchBySynFileName(String... values) { - return fetch(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.SYN_FILE_NAME, values); - } - - /** - * Fetch records that have user_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUserId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.USER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have user_id IN (values) - */ - public List fetchByUserId(String... values) { - return fetch(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.USER_ID, values); - } - - /** - * Fetch records that have user_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUserName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.USER_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have user_name IN (values) - */ - public List fetchByUserName(String... values) { - return fetch(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.USER_NAME, values); - } - - /** - * Fetch records that have org_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have org_id IN (values) - */ - public List fetchByOrgId(String... values) { - return fetch(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ORG_ID, values); - } - - /** - * Fetch records that have org_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have org_name IN (values) - */ - public List fetchByOrgName(String... values) { - return fetch(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ORG_NAME, values); - } - - /** - * Fetch records that have download_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDownloadTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.DOWNLOAD_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have download_time IN (values) - */ - public List fetchByDownloadTime(LocalDateTime... values) { - return fetch(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.DOWNLOAD_TIME, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/ProjectDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/ProjectDao.java deleted file mode 100644 index 0754841..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/ProjectDao.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.Project; -import jj.tech.paolu.repository.jooq.tables.records.ProjectRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class ProjectDao extends DAOImpl { - - /** - * Create a new ProjectDao without any configuration - */ - public ProjectDao() { - super(Project.PROJECT, jj.tech.paolu.repository.jooq.tables.pojos.Project.class); - } - - /** - * Create a new ProjectDao with an attached configuration - */ - @Autowired - public ProjectDao(Configuration configuration) { - super(Project.PROJECT, jj.tech.paolu.repository.jooq.tables.pojos.Project.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.Project object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(Project.PROJECT.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(Project.PROJECT.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.Project fetchOneById(String value) { - return fetchOne(Project.PROJECT.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(Project.PROJECT.ID, value); - } - - /** - * Fetch records that have project_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfProjectName(String lowerInclusive, String upperInclusive) { - return fetchRange(Project.PROJECT.PROJECT_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have project_name IN (values) - */ - public List fetchByProjectName(String... values) { - return fetch(Project.PROJECT.PROJECT_NAME, values); - } - - /** - * Fetch records that have org_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfOrgId(String lowerInclusive, String upperInclusive) { - return fetchRange(Project.PROJECT.ORG_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have org_id IN (values) - */ - public List fetchByOrgId(String... values) { - return fetch(Project.PROJECT.ORG_ID, values); - } - - /** - * Fetch records that have org_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfOrgName(String lowerInclusive, String upperInclusive) { - return fetchRange(Project.PROJECT.ORG_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have org_name IN (values) - */ - public List fetchByOrgName(String... values) { - return fetch(Project.PROJECT.ORG_NAME, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/ReadLogDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/ReadLogDao.java deleted file mode 100644 index c7bea32..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/ReadLogDao.java +++ /dev/null @@ -1,255 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.time.LocalDateTime; -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.ReadLog; -import jj.tech.paolu.repository.jooq.tables.records.ReadLogRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * 阅读情况 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class ReadLogDao extends DAOImpl { - - /** - * Create a new ReadLogDao without any configuration - */ - public ReadLogDao() { - super(ReadLog.READ_LOG, jj.tech.paolu.repository.jooq.tables.pojos.ReadLog.class); - } - - /** - * Create a new ReadLogDao with an attached configuration - */ - @Autowired - public ReadLogDao(Configuration configuration) { - super(ReadLog.READ_LOG, jj.tech.paolu.repository.jooq.tables.pojos.ReadLog.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.ReadLog object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(ReadLog.READ_LOG.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(ReadLog.READ_LOG.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.ReadLog fetchOneById(String value) { - return fetchOne(ReadLog.READ_LOG.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(ReadLog.READ_LOG.ID, value); - } - - /** - * Fetch records that have weid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWeid(String lowerInclusive, String upperInclusive) { - return fetchRange(ReadLog.READ_LOG.WEID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have weid IN (values) - */ - public List fetchByWeid(String... values) { - return fetch(ReadLog.READ_LOG.WEID, values); - } - - /** - * Fetch records that have content_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfContentId(String lowerInclusive, String upperInclusive) { - return fetchRange(ReadLog.READ_LOG.CONTENT_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have content_id IN (values) - */ - public List fetchByContentId(String... values) { - return fetch(ReadLog.READ_LOG.CONTENT_ID, values); - } - - /** - * Fetch records that have starttime BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfStarttime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(ReadLog.READ_LOG.STARTTIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have starttime IN (values) - */ - public List fetchByStarttime(LocalDateTime... values) { - return fetch(ReadLog.READ_LOG.STARTTIME, values); - } - - /** - * Fetch records that have endtime BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEndtime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(ReadLog.READ_LOG.ENDTIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have endtime IN (values) - */ - public List fetchByEndtime(LocalDateTime... values) { - return fetch(ReadLog.READ_LOG.ENDTIME, values); - } - - /** - * Fetch records that have ip BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIp(String lowerInclusive, String upperInclusive) { - return fetchRange(ReadLog.READ_LOG.IP, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have ip IN (values) - */ - public List fetchByIp(String... values) { - return fetch(ReadLog.READ_LOG.IP, values); - } - - /** - * Fetch records that have location BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfLocation(String lowerInclusive, String upperInclusive) { - return fetchRange(ReadLog.READ_LOG.LOCATION, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have location IN (values) - */ - public List fetchByLocation(String... values) { - return fetch(ReadLog.READ_LOG.LOCATION, values); - } - - /** - * Fetch records that have downloadtype BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDownloadtype(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(ReadLog.READ_LOG.DOWNLOADTYPE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have downloadtype IN (values) - */ - public List fetchByDownloadtype(Integer... values) { - return fetch(ReadLog.READ_LOG.DOWNLOADTYPE, values); - } - - /** - * Fetch records that have sign BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSign(String lowerInclusive, String upperInclusive) { - return fetchRange(ReadLog.READ_LOG.SIGN, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sign IN (values) - */ - public List fetchBySign(String... values) { - return fetch(ReadLog.READ_LOG.SIGN, values); - } - - /** - * Fetch records that have readid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfReadid(String lowerInclusive, String upperInclusive) { - return fetchRange(ReadLog.READ_LOG.READID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have readid IN (values) - */ - public List fetchByReadid(String... values) { - return fetch(ReadLog.READ_LOG.READID, values); - } - - /** - * Fetch records that have sm9hibeid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSm9hibeid(String lowerInclusive, String upperInclusive) { - return fetchRange(ReadLog.READ_LOG.SM9HIBEID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sm9hibeid IN (values) - */ - public List fetchBySm9hibeid(String... values) { - return fetch(ReadLog.READ_LOG.SM9HIBEID, values); - } - - /** - * Fetch records that have content_type BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfContentType(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(ReadLog.READ_LOG.CONTENT_TYPE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have content_type IN (values) - */ - public List fetchByContentType(Integer... values) { - return fetch(ReadLog.READ_LOG.CONTENT_TYPE, values); - } - - /** - * Fetch records that have ischeck BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIscheck(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(ReadLog.READ_LOG.ISCHECK, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have ischeck IN (values) - */ - public List fetchByIscheck(Integer... values) { - return fetch(ReadLog.READ_LOG.ISCHECK, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SharedRuleConfigDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SharedRuleConfigDao.java deleted file mode 100644 index c79ec1d..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SharedRuleConfigDao.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.SharedRuleConfig; -import jj.tech.paolu.repository.jooq.tables.records.SharedRuleConfigRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class SharedRuleConfigDao extends DAOImpl { - - /** - * Create a new SharedRuleConfigDao without any configuration - */ - public SharedRuleConfigDao() { - super(SharedRuleConfig.SHARED_RULE_CONFIG, jj.tech.paolu.repository.jooq.tables.pojos.SharedRuleConfig.class); - } - - /** - * Create a new SharedRuleConfigDao with an attached configuration - */ - @Autowired - public SharedRuleConfigDao(Configuration configuration) { - super(SharedRuleConfig.SHARED_RULE_CONFIG, jj.tech.paolu.repository.jooq.tables.pojos.SharedRuleConfig.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.SharedRuleConfig object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(SharedRuleConfig.SHARED_RULE_CONFIG.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(SharedRuleConfig.SHARED_RULE_CONFIG.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.SharedRuleConfig fetchOneById(String value) { - return fetchOne(SharedRuleConfig.SHARED_RULE_CONFIG.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(SharedRuleConfig.SHARED_RULE_CONFIG.ID, value); - } - - /** - * Fetch records that have name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { - return fetchRange(SharedRuleConfig.SHARED_RULE_CONFIG.NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have name IN (values) - */ - public List fetchByName(String... values) { - return fetch(SharedRuleConfig.SHARED_RULE_CONFIG.NAME, values); - } - - /** - * Fetch records that have describe BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDescribe(String lowerInclusive, String upperInclusive) { - return fetchRange(SharedRuleConfig.SHARED_RULE_CONFIG.DESCRIBE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have describe IN (values) - */ - public List fetchByDescribe(String... values) { - return fetch(SharedRuleConfig.SHARED_RULE_CONFIG.DESCRIBE, values); - } - - /** - * Fetch records that have status BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfStatus(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SharedRuleConfig.SHARED_RULE_CONFIG.STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have status IN (values) - */ - public List fetchByStatus(Integer... values) { - return fetch(SharedRuleConfig.SHARED_RULE_CONFIG.STATUS, values); - } - - /** - * Fetch records that have sort BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSort(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SharedRuleConfig.SHARED_RULE_CONFIG.SORT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sort IN (values) - */ - public List fetchBySort(Integer... values) { - return fetch(SharedRuleConfig.SHARED_RULE_CONFIG.SORT, values); - } - - /** - * Fetch records that have project_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfProjectName(String lowerInclusive, String upperInclusive) { - return fetchRange(SharedRuleConfig.SHARED_RULE_CONFIG.PROJECT_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have project_name IN (values) - */ - public List fetchByProjectName(String... values) { - return fetch(SharedRuleConfig.SHARED_RULE_CONFIG.PROJECT_NAME, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SharedSynAllDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SharedSynAllDao.java deleted file mode 100644 index f533342..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SharedSynAllDao.java +++ /dev/null @@ -1,208 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.SharedSynAll; -import jj.tech.paolu.repository.jooq.tables.records.SharedSynAllRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class SharedSynAllDao extends DAOImpl { - - /** - * Create a new SharedSynAllDao without any configuration - */ - public SharedSynAllDao() { - super(SharedSynAll.SHARED_SYN_ALL, jj.tech.paolu.repository.jooq.tables.pojos.SharedSynAll.class); - } - - /** - * Create a new SharedSynAllDao with an attached configuration - */ - @Autowired - public SharedSynAllDao(Configuration configuration) { - super(SharedSynAll.SHARED_SYN_ALL, jj.tech.paolu.repository.jooq.tables.pojos.SharedSynAll.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.SharedSynAll object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(SharedSynAll.SHARED_SYN_ALL.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(SharedSynAll.SHARED_SYN_ALL.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.SharedSynAll fetchOneById(String value) { - return fetchOne(SharedSynAll.SHARED_SYN_ALL.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(SharedSynAll.SHARED_SYN_ALL.ID, value); - } - - /** - * Fetch records that have syn_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSynId(String lowerInclusive, String upperInclusive) { - return fetchRange(SharedSynAll.SHARED_SYN_ALL.SYN_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have syn_id IN (values) - */ - public List fetchBySynId(String... values) { - return fetch(SharedSynAll.SHARED_SYN_ALL.SYN_ID, values); - } - - /** - * Fetch a unique record that has syn_id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.SharedSynAll fetchOneBySynId(String value) { - return fetchOne(SharedSynAll.SHARED_SYN_ALL.SYN_ID, value); - } - - /** - * Fetch a unique record that has syn_id = value - */ - public Optional fetchOptionalBySynId(String value) { - return fetchOptional(SharedSynAll.SHARED_SYN_ALL.SYN_ID, value); - } - - /** - * Fetch records that have syn_type BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSynType(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SharedSynAll.SHARED_SYN_ALL.SYN_TYPE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have syn_type IN (values) - */ - public List fetchBySynType(Integer... values) { - return fetch(SharedSynAll.SHARED_SYN_ALL.SYN_TYPE, values); - } - - /** - * Fetch records that have is_config_rule BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsConfigRule(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SharedSynAll.SHARED_SYN_ALL.IS_CONFIG_RULE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_config_rule IN (values) - */ - public List fetchByIsConfigRule(Integer... values) { - return fetch(SharedSynAll.SHARED_SYN_ALL.IS_CONFIG_RULE, values); - } - - /** - * Fetch records that have shared_status BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSharedStatus(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SharedSynAll.SHARED_SYN_ALL.SHARED_STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have shared_status IN (values) - */ - public List fetchBySharedStatus(Integer... values) { - return fetch(SharedSynAll.SHARED_SYN_ALL.SHARED_STATUS, values); - } - - /** - * Fetch records that have syn_status BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSynStatus(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SharedSynAll.SHARED_SYN_ALL.SYN_STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have syn_status IN (values) - */ - public List fetchBySynStatus(Integer... values) { - return fetch(SharedSynAll.SHARED_SYN_ALL.SYN_STATUS, values); - } - - /** - * Fetch records that have block_number BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfBlockNumber(String lowerInclusive, String upperInclusive) { - return fetchRange(SharedSynAll.SHARED_SYN_ALL.BLOCK_NUMBER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have block_number IN (values) - */ - public List fetchByBlockNumber(String... values) { - return fetch(SharedSynAll.SHARED_SYN_ALL.BLOCK_NUMBER, values); - } - - /** - * Fetch records that have block_hash BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfBlockHash(String lowerInclusive, String upperInclusive) { - return fetchRange(SharedSynAll.SHARED_SYN_ALL.BLOCK_HASH, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have block_hash IN (values) - */ - public List fetchByBlockHash(String... values) { - return fetch(SharedSynAll.SHARED_SYN_ALL.BLOCK_HASH, values); - } - - /** - * Fetch records that have block_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfBlockTime(String lowerInclusive, String upperInclusive) { - return fetchRange(SharedSynAll.SHARED_SYN_ALL.BLOCK_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have block_time IN (values) - */ - public List fetchByBlockTime(String... values) { - return fetch(SharedSynAll.SHARED_SYN_ALL.BLOCK_TIME, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SynDirectoryDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SynDirectoryDao.java deleted file mode 100644 index 7b0f109..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SynDirectoryDao.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.SynDirectory; -import jj.tech.paolu.repository.jooq.tables.records.SynDirectoryRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class SynDirectoryDao extends DAOImpl { - - /** - * Create a new SynDirectoryDao without any configuration - */ - public SynDirectoryDao() { - super(SynDirectory.SYN_DIRECTORY, jj.tech.paolu.repository.jooq.tables.pojos.SynDirectory.class); - } - - /** - * Create a new SynDirectoryDao with an attached configuration - */ - @Autowired - public SynDirectoryDao(Configuration configuration) { - super(SynDirectory.SYN_DIRECTORY, jj.tech.paolu.repository.jooq.tables.pojos.SynDirectory.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.SynDirectory object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectory.SYN_DIRECTORY.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(SynDirectory.SYN_DIRECTORY.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.SynDirectory fetchOneById(String value) { - return fetchOne(SynDirectory.SYN_DIRECTORY.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(SynDirectory.SYN_DIRECTORY.ID, value); - } - - /** - * Fetch records that have p_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPId(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectory.SYN_DIRECTORY.P_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have p_id IN (values) - */ - public List fetchByPId(String... values) { - return fetch(SynDirectory.SYN_DIRECTORY.P_ID, values); - } - - /** - * Fetch records that have wbs_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWbsId(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectory.SYN_DIRECTORY.WBS_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wbs_id IN (values) - */ - public List fetchByWbsId(String... values) { - return fetch(SynDirectory.SYN_DIRECTORY.WBS_ID, values); - } - - /** - * Fetch records that have time_stamp BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfTimeStamp(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectory.SYN_DIRECTORY.TIME_STAMP, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have time_stamp IN (values) - */ - public List fetchByTimeStamp(String... values) { - return fetch(SynDirectory.SYN_DIRECTORY.TIME_STAMP, values); - } - - /** - * Fetch records that have sortorder BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSortorder(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SynDirectory.SYN_DIRECTORY.SORTORDER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sortorder IN (values) - */ - public List fetchBySortorder(Integer... values) { - return fetch(SynDirectory.SYN_DIRECTORY.SORTORDER, values); - } - - /** - * Fetch records that have tname BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfTname(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectory.SYN_DIRECTORY.TNAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have tname IN (values) - */ - public List fetchByTname(String... values) { - return fetch(SynDirectory.SYN_DIRECTORY.TNAME, values); - } - - /** - * Fetch records that have subjoin BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSubjoin(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SynDirectory.SYN_DIRECTORY.SUBJOIN, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have subjoin IN (values) - */ - public List fetchBySubjoin(Integer... values) { - return fetch(SynDirectory.SYN_DIRECTORY.SUBJOIN, values); - } - - /** - * Fetch records that have isdel BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsdel(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SynDirectory.SYN_DIRECTORY.ISDEL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have isdel IN (values) - */ - public List fetchByIsdel(Integer... values) { - return fetch(SynDirectory.SYN_DIRECTORY.ISDEL, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SynDirectoryFileDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SynDirectoryFileDao.java deleted file mode 100644 index e531712..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SynDirectoryFileDao.java +++ /dev/null @@ -1,374 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.SynDirectoryFile; -import jj.tech.paolu.repository.jooq.tables.records.SynDirectoryFileRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class SynDirectoryFileDao extends DAOImpl { - - /** - * Create a new SynDirectoryFileDao without any configuration - */ - public SynDirectoryFileDao() { - super(SynDirectoryFile.SYN_DIRECTORY_FILE, jj.tech.paolu.repository.jooq.tables.pojos.SynDirectoryFile.class); - } - - /** - * Create a new SynDirectoryFileDao with an attached configuration - */ - @Autowired - public SynDirectoryFileDao(Configuration configuration) { - super(SynDirectoryFile.SYN_DIRECTORY_FILE, jj.tech.paolu.repository.jooq.tables.pojos.SynDirectoryFile.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.SynDirectoryFile object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.SynDirectoryFile fetchOneById(String value) { - return fetchOne(SynDirectoryFile.SYN_DIRECTORY_FILE.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(SynDirectoryFile.SYN_DIRECTORY_FILE.ID, value); - } - - /** - * Fetch records that have p_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPId(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.P_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have p_id IN (values) - */ - public List fetchByPId(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.P_ID, values); - } - - /** - * Fetch records that have filesuper BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilesuper(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.FILESUPER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filesuper IN (values) - */ - public List fetchByFilesuper(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.FILESUPER, values); - } - - /** - * Fetch records that have filecount BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilecount(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.FILECOUNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filecount IN (values) - */ - public List fetchByFilecount(Integer... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.FILECOUNT, values); - } - - /** - * Fetch records that have dutyperson BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDutyperson(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.DUTYPERSON, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have dutyperson IN (values) - */ - public List fetchByDutyperson(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.DUTYPERSON, values); - } - - /** - * Fetch records that have eweavedate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEweavedate(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.EWEAVEDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have eweavedate IN (values) - */ - public List fetchByEweavedate(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.EWEAVEDATE, values); - } - - /** - * Fetch records that have filepage BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilepage(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.FILEPAGE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filepage IN (values) - */ - public List fetchByFilepage(Integer... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.FILEPAGE, values); - } - - /** - * Fetch records that have sortorder BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSortorder(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.SORTORDER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sortorder IN (values) - */ - public List fetchBySortorder(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.SORTORDER, values); - } - - /** - * Fetch records that have bpeg BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfBpeg(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.BPEG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have bpeg IN (values) - */ - public List fetchByBpeg(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.BPEG, values); - } - - /** - * Fetch records that have epeg BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEpeg(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.EPEG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have epeg IN (values) - */ - public List fetchByEpeg(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.EPEG, values); - } - - /** - * Fetch records that have filenum BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilenum(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.FILENUM, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filenum IN (values) - */ - public List fetchByFilenum(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.FILENUM, values); - } - - /** - * Fetch records that have remark BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfRemark(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.REMARK, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have remark IN (values) - */ - public List fetchByRemark(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.REMARK, values); - } - - /** - * Fetch records that have recordnum BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfRecordnum(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.RECORDNUM, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have recordnum IN (values) - */ - public List fetchByRecordnum(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.RECORDNUM, values); - } - - /** - * Fetch records that have piecenumber BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPiecenumber(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.PIECENUMBER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have piecenumber IN (values) - */ - public List fetchByPiecenumber(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.PIECENUMBER, values); - } - - /** - * Fetch records that have adddate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAdddate(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.ADDDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have adddate IN (values) - */ - public List fetchByAdddate(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.ADDDATE, values); - } - - /** - * Fetch records that have editdate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEditdate(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.EDITDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have editdate IN (values) - */ - public List fetchByEditdate(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.EDITDATE, values); - } - - /** - * Fetch records that have time_stamp BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfTimeStamp(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.TIME_STAMP, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have time_stamp IN (values) - */ - public List fetchByTimeStamp(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.TIME_STAMP, values); - } - - /** - * Fetch records that have isdel BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsdel(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.ISDEL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have isdel IN (values) - */ - public List fetchByIsdel(Integer... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.ISDEL, values); - } - - /** - * Fetch records that have catalogpdfurl BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCatalogpdfurl(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.CATALOGPDFURL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have catalogpdfurl IN (values) - */ - public List fetchByCatalogpdfurl(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.CATALOGPDFURL, values); - } - - /** - * Fetch records that have signtag BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSigntag(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.SIGNTAG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have signtag IN (values) - */ - public List fetchBySigntag(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.SIGNTAG, values); - } - - /** - * Fetch records that have collecttag BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCollecttag(String lowerInclusive, String upperInclusive) { - return fetchRange(SynDirectoryFile.SYN_DIRECTORY_FILE.COLLECTTAG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have collecttag IN (values) - */ - public List fetchByCollecttag(String... values) { - return fetch(SynDirectoryFile.SYN_DIRECTORY_FILE.COLLECTTAG, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SynFileDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SynFileDao.java deleted file mode 100644 index 8fc3a78..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SynFileDao.java +++ /dev/null @@ -1,314 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.SynFile; -import jj.tech.paolu.repository.jooq.tables.records.SynFileRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class SynFileDao extends DAOImpl { - - /** - * Create a new SynFileDao without any configuration - */ - public SynFileDao() { - super(SynFile.SYN_FILE, jj.tech.paolu.repository.jooq.tables.pojos.SynFile.class); - } - - /** - * Create a new SynFileDao with an attached configuration - */ - @Autowired - public SynFileDao(Configuration configuration) { - super(SynFile.SYN_FILE, jj.tech.paolu.repository.jooq.tables.pojos.SynFile.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.SynFile object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(SynFile.SYN_FILE.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.SynFile fetchOneById(String value) { - return fetchOne(SynFile.SYN_FILE.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(SynFile.SYN_FILE.ID, value); - } - - /** - * Fetch records that have p_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPId(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.P_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have p_id IN (values) - */ - public List fetchByPId(String... values) { - return fetch(SynFile.SYN_FILE.P_ID, values); - } - - /** - * Fetch records that have tablenumber BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfTablenumber(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.TABLENUMBER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have tablenumber IN (values) - */ - public List fetchByTablenumber(String... values) { - return fetch(SynFile.SYN_FILE.TABLENUMBER, values); - } - - /** - * Fetch records that have annexname BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAnnexname(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.ANNEXNAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have annexname IN (values) - */ - public List fetchByAnnexname(String... values) { - return fetch(SynFile.SYN_FILE.ANNEXNAME, values); - } - - /** - * Fetch records that have projectname BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfProjectname(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.PROJECTNAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have projectname IN (values) - */ - public List fetchByProjectname(String... values) { - return fetch(SynFile.SYN_FILE.PROJECTNAME, values); - } - - /** - * Fetch records that have eweavedate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEweavedate(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.EWEAVEDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have eweavedate IN (values) - */ - public List fetchByEweavedate(String... values) { - return fetch(SynFile.SYN_FILE.EWEAVEDATE, values); - } - - /** - * Fetch records that have checkdate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCheckdate(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.CHECKDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have checkdate IN (values) - */ - public List fetchByCheckdate(String... values) { - return fetch(SynFile.SYN_FILE.CHECKDATE, values); - } - - /** - * Fetch records that have annexpage BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAnnexpage(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SynFile.SYN_FILE.ANNEXPAGE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have annexpage IN (values) - */ - public List fetchByAnnexpage(Integer... values) { - return fetch(SynFile.SYN_FILE.ANNEXPAGE, values); - } - - /** - * Fetch records that have sortorder BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSortorder(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.SORTORDER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sortorder IN (values) - */ - public List fetchBySortorder(String... values) { - return fetch(SynFile.SYN_FILE.SORTORDER, values); - } - - /** - * Fetch records that have filefrom BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilefrom(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.FILEFROM, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filefrom IN (values) - */ - public List fetchByFilefrom(String... values) { - return fetch(SynFile.SYN_FILE.FILEFROM, values); - } - - /** - * Fetch records that have archivestag BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfArchivestag(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.ARCHIVESTAG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have archivestag IN (values) - */ - public List fetchByArchivestag(String... values) { - return fetch(SynFile.SYN_FILE.ARCHIVESTAG, values); - } - - /** - * Fetch records that have adddate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAdddate(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.ADDDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have adddate IN (values) - */ - public List fetchByAdddate(String... values) { - return fetch(SynFile.SYN_FILE.ADDDATE, values); - } - - /** - * Fetch records that have editdate BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEditdate(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.EDITDATE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have editdate IN (values) - */ - public List fetchByEditdate(String... values) { - return fetch(SynFile.SYN_FILE.EDITDATE, values); - } - - /** - * Fetch records that have time_stamp BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfTimeStamp(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.TIME_STAMP, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have time_stamp IN (values) - */ - public List fetchByTimeStamp(String... values) { - return fetch(SynFile.SYN_FILE.TIME_STAMP, values); - } - - /** - * Fetch records that have isdel BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsdel(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SynFile.SYN_FILE.ISDEL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have isdel IN (values) - */ - public List fetchByIsdel(Integer... values) { - return fetch(SynFile.SYN_FILE.ISDEL, values); - } - - /** - * Fetch records that have downurl BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDownurl(String lowerInclusive, String upperInclusive) { - return fetchRange(SynFile.SYN_FILE.DOWNURL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have downurl IN (values) - */ - public List fetchByDownurl(String... values) { - return fetch(SynFile.SYN_FILE.DOWNURL, values); - } - - /** - * Fetch records that have filesize BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfFilesize(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SynFile.SYN_FILE.FILESIZE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filesize IN (values) - */ - public List fetchByFilesize(Integer... values) { - return fetch(SynFile.SYN_FILE.FILESIZE, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminDao.java index 74111c2..c3eef47 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminDao.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminDao.java @@ -87,6 +87,21 @@ public class SysAdminDao extends DAOImpltype BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfType(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(SysAdmin.SYS_ADMIN.TYPE, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have type IN (values) + */ + public List fetchByType(Integer... values) { + return fetch(SysAdmin.SYS_ADMIN.TYPE, values); + } + /** * Fetch records that have realname BETWEEN lowerInclusive AND * upperInclusive @@ -146,66 +161,6 @@ public class SysAdminDao extends DAOImplphone BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPhone(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdmin.SYS_ADMIN.PHONE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have phone IN (values) - */ - public List fetchByPhone(String... values) { - return fetch(SysAdmin.SYS_ADMIN.PHONE, values); - } - - /** - * Fetch records that have email BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEmail(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdmin.SYS_ADMIN.EMAIL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have email IN (values) - */ - public List fetchByEmail(String... values) { - return fetch(SysAdmin.SYS_ADMIN.EMAIL, values); - } - - /** - * Fetch records that have job BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfJob(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdmin.SYS_ADMIN.JOB, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have job IN (values) - */ - public List fetchByJob(String... values) { - return fetch(SysAdmin.SYS_ADMIN.JOB, values); - } - - /** - * Fetch records that have gender BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfGender(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysAdmin.SYS_ADMIN.GENDER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have gender IN (values) - */ - public List fetchByGender(Integer... values) { - return fetch(SysAdmin.SYS_ADMIN.GENDER, values); - } - /** * Fetch records that have islock BETWEEN lowerInclusive AND * upperInclusive @@ -220,64 +175,4 @@ public class SysAdminDao extends DAOImpl fetchByIslock(Integer... values) { return fetch(SysAdmin.SYS_ADMIN.ISLOCK, values); } - - /** - * Fetch records that have type BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfType(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysAdmin.SYS_ADMIN.TYPE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have type IN (values) - */ - public List fetchByType(Integer... values) { - return fetch(SysAdmin.SYS_ADMIN.TYPE, values); - } - - /** - * Fetch records that have sort BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSort(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysAdmin.SYS_ADMIN.SORT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sort IN (values) - */ - public List fetchBySort(Integer... values) { - return fetch(SysAdmin.SYS_ADMIN.SORT, values); - } - - /** - * Fetch records that have cer_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCerId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdmin.SYS_ADMIN.CER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have cer_id IN (values) - */ - public List fetchByCerId(String... values) { - return fetch(SysAdmin.SYS_ADMIN.CER_ID, values); - } - - /** - * Fetch records that have company_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCompanyId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdmin.SYS_ADMIN.COMPANY_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have company_id IN (values) - */ - public List fetchByCompanyId(String... values) { - return fetch(SysAdmin.SYS_ADMIN.COMPANY_ID, values); - } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminMenuDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminMenuDao.java new file mode 100644 index 0000000..1f4d40f --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminMenuDao.java @@ -0,0 +1,104 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.daos; + + +import java.util.List; +import java.util.Optional; + +import jj.tech.paolu.repository.jooq.tables.SysAdminMenu; +import jj.tech.paolu.repository.jooq.tables.records.SysAdminMenuRecord; + +import org.jooq.Configuration; +import org.jooq.impl.DAOImpl; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Repository; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +@Repository +public class SysAdminMenuDao extends DAOImpl { + + /** + * Create a new SysAdminMenuDao without any configuration + */ + public SysAdminMenuDao() { + super(SysAdminMenu.SYS_ADMIN_MENU, jj.tech.paolu.repository.jooq.tables.pojos.SysAdminMenu.class); + } + + /** + * Create a new SysAdminMenuDao with an attached configuration + */ + @Autowired + public SysAdminMenuDao(Configuration configuration) { + super(SysAdminMenu.SYS_ADMIN_MENU, jj.tech.paolu.repository.jooq.tables.pojos.SysAdminMenu.class, configuration); + } + + @Override + public String getId(jj.tech.paolu.repository.jooq.tables.pojos.SysAdminMenu object) { + return object.getId(); + } + + /** + * Fetch records that have id BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { + return fetchRange(SysAdminMenu.SYS_ADMIN_MENU.ID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have id IN (values) + */ + public List fetchById(String... values) { + return fetch(SysAdminMenu.SYS_ADMIN_MENU.ID, values); + } + + /** + * Fetch a unique record that has id = value + */ + public jj.tech.paolu.repository.jooq.tables.pojos.SysAdminMenu fetchOneById(String value) { + return fetchOne(SysAdminMenu.SYS_ADMIN_MENU.ID, value); + } + + /** + * Fetch a unique record that has id = value + */ + public Optional fetchOptionalById(String value) { + return fetchOptional(SysAdminMenu.SYS_ADMIN_MENU.ID, value); + } + + /** + * Fetch records that have adminid BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfAdminid(String lowerInclusive, String upperInclusive) { + return fetchRange(SysAdminMenu.SYS_ADMIN_MENU.ADMINID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have adminid IN (values) + */ + public List fetchByAdminid(String... values) { + return fetch(SysAdminMenu.SYS_ADMIN_MENU.ADMINID, values); + } + + /** + * Fetch records that have memuid BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfMemuid(String lowerInclusive, String upperInclusive) { + return fetchRange(SysAdminMenu.SYS_ADMIN_MENU.MEMUID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have memuid IN (values) + */ + public List fetchByMemuid(String... values) { + return fetch(SysAdminMenu.SYS_ADMIN_MENU.MEMUID, values); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminRoleDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminRoleDao.java index 40fd005..d0a0c34 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminRoleDao.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminRoleDao.java @@ -73,32 +73,32 @@ public class SysAdminRoleDao extends DAOImpladminid BETWEEN lowerInclusive AND + * Fetch records that have admin_id BETWEEN lowerInclusive AND * upperInclusive */ - public List fetchRangeOfAdminid(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdminRole.SYS_ADMIN_ROLE.ADMINID, lowerInclusive, upperInclusive); + public List fetchRangeOfAdminId(String lowerInclusive, String upperInclusive) { + return fetchRange(SysAdminRole.SYS_ADMIN_ROLE.ADMIN_ID, lowerInclusive, upperInclusive); } /** - * Fetch records that have adminid IN (values) + * Fetch records that have admin_id IN (values) */ - public List fetchByAdminid(String... values) { - return fetch(SysAdminRole.SYS_ADMIN_ROLE.ADMINID, values); + public List fetchByAdminId(String... values) { + return fetch(SysAdminRole.SYS_ADMIN_ROLE.ADMIN_ID, values); } /** - * Fetch records that have roleid BETWEEN lowerInclusive AND + * Fetch records that have role_id BETWEEN lowerInclusive AND * upperInclusive */ - public List fetchRangeOfRoleid(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdminRole.SYS_ADMIN_ROLE.ROLEID, lowerInclusive, upperInclusive); + public List fetchRangeOfRoleId(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(SysAdminRole.SYS_ADMIN_ROLE.ROLE_ID, lowerInclusive, upperInclusive); } /** - * Fetch records that have roleid IN (values) + * Fetch records that have role_id IN (values) */ - public List fetchByRoleid(String... values) { - return fetch(SysAdminRole.SYS_ADMIN_ROLE.ROLEID, values); + public List fetchByRoleId(Integer... values) { + return fetch(SysAdminRole.SYS_ADMIN_ROLE.ROLE_ID, values); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminWeidDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminWeidDao.java deleted file mode 100644 index 8c0884d..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminWeidDao.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.time.LocalDateTime; -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.SysAdminWeid; -import jj.tech.paolu.repository.jooq.tables.records.SysAdminWeidRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class SysAdminWeidDao extends DAOImpl { - - /** - * Create a new SysAdminWeidDao without any configuration - */ - public SysAdminWeidDao() { - super(SysAdminWeid.SYS_ADMIN_WEID, jj.tech.paolu.repository.jooq.tables.pojos.SysAdminWeid.class); - } - - /** - * Create a new SysAdminWeidDao with an attached configuration - */ - @Autowired - public SysAdminWeidDao(Configuration configuration) { - super(SysAdminWeid.SYS_ADMIN_WEID, jj.tech.paolu.repository.jooq.tables.pojos.SysAdminWeid.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.SysAdminWeid object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdminWeid.SYS_ADMIN_WEID.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(SysAdminWeid.SYS_ADMIN_WEID.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.SysAdminWeid fetchOneById(String value) { - return fetchOne(SysAdminWeid.SYS_ADMIN_WEID.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(SysAdminWeid.SYS_ADMIN_WEID.ID, value); - } - - /** - * Fetch records that have admin_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAdminId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdminWeid.SYS_ADMIN_WEID.ADMIN_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have admin_id IN (values) - */ - public List fetchByAdminId(String... values) { - return fetch(SysAdminWeid.SYS_ADMIN_WEID.ADMIN_ID, values); - } - - /** - * Fetch a unique record that has admin_id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.SysAdminWeid fetchOneByAdminId(String value) { - return fetchOne(SysAdminWeid.SYS_ADMIN_WEID.ADMIN_ID, value); - } - - /** - * Fetch a unique record that has admin_id = value - */ - public Optional fetchOptionalByAdminId(String value) { - return fetchOptional(SysAdminWeid.SYS_ADMIN_WEID.ADMIN_ID, value); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWid(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdminWeid.SYS_ADMIN_WEID.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(String... values) { - return fetch(SysAdminWeid.SYS_ADMIN_WEID.WID, values); - } - - /** - * Fetch records that have wprivate_key BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWprivateKey(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdminWeid.SYS_ADMIN_WEID.WPRIVATE_KEY, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wprivate_key IN (values) - */ - public List fetchByWprivateKey(String... values) { - return fetch(SysAdminWeid.SYS_ADMIN_WEID.WPRIVATE_KEY, values); - } - - /** - * Fetch records that have add_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAddTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(SysAdminWeid.SYS_ADMIN_WEID.ADD_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have add_time IN (values) - */ - public List fetchByAddTime(LocalDateTime... values) { - return fetch(SysAdminWeid.SYS_ADMIN_WEID.ADD_TIME, values); - } - - /** - * Fetch records that have certificate_hash BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCertificateHash(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdminWeid.SYS_ADMIN_WEID.CERTIFICATE_HASH, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have certificate_hash IN (values) - */ - public List fetchByCertificateHash(String... values) { - return fetch(SysAdminWeid.SYS_ADMIN_WEID.CERTIFICATE_HASH, values); - } - - /** - * Fetch records that have chain_block BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfChainBlock(String lowerInclusive, String upperInclusive) { - return fetchRange(SysAdminWeid.SYS_ADMIN_WEID.CHAIN_BLOCK, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have chain_block IN (values) - */ - public List fetchByChainBlock(String... values) { - return fetch(SysAdminWeid.SYS_ADMIN_WEID.CHAIN_BLOCK, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAreaDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAreaDao.java deleted file mode 100644 index a30bf39..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAreaDao.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.SysArea; -import jj.tech.paolu.repository.jooq.tables.records.SysAreaRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class SysAreaDao extends DAOImpl { - - /** - * Create a new SysAreaDao without any configuration - */ - public SysAreaDao() { - super(SysArea.SYS_AREA, jj.tech.paolu.repository.jooq.tables.pojos.SysArea.class); - } - - /** - * Create a new SysAreaDao with an attached configuration - */ - @Autowired - public SysAreaDao(Configuration configuration) { - super(SysArea.SYS_AREA, jj.tech.paolu.repository.jooq.tables.pojos.SysArea.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.SysArea object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysArea.SYS_AREA.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(SysArea.SYS_AREA.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.SysArea fetchOneById(String value) { - return fetchOne(SysArea.SYS_AREA.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(SysArea.SYS_AREA.ID, value); - } - - /** - * Fetch records that have level_code BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfLevelCode(Short lowerInclusive, Short upperInclusive) { - return fetchRange(SysArea.SYS_AREA.LEVEL_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have level_code IN (values) - */ - public List fetchByLevelCode(Short... values) { - return fetch(SysArea.SYS_AREA.LEVEL_CODE, values); - } - - /** - * Fetch records that have parent_code BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfParentCode(String lowerInclusive, String upperInclusive) { - return fetchRange(SysArea.SYS_AREA.PARENT_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have parent_code IN (values) - */ - public List fetchByParentCode(String... values) { - return fetch(SysArea.SYS_AREA.PARENT_CODE, values); - } - - /** - * Fetch records that have area_code BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAreaCode(String lowerInclusive, String upperInclusive) { - return fetchRange(SysArea.SYS_AREA.AREA_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have area_code IN (values) - */ - public List fetchByAreaCode(String... values) { - return fetch(SysArea.SYS_AREA.AREA_CODE, values); - } - - /** - * Fetch records that have name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysArea.SYS_AREA.NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have name IN (values) - */ - public List fetchByName(String... values) { - return fetch(SysArea.SYS_AREA.NAME, values); - } - - /** - * Fetch records that have pid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPid(String lowerInclusive, String upperInclusive) { - return fetchRange(SysArea.SYS_AREA.PID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have pid IN (values) - */ - public List fetchByPid(String... values) { - return fetch(SysArea.SYS_AREA.PID, values); - } - - /** - * Fetch records that have pids BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPids(String lowerInclusive, String upperInclusive) { - return fetchRange(SysArea.SYS_AREA.PIDS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have pids IN (values) - */ - public List fetchByPids(String... values) { - return fetch(SysArea.SYS_AREA.PIDS, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysConfigDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysConfigDao.java index 4c8cb13..70c155c 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysConfigDao.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysConfigDao.java @@ -89,32 +89,32 @@ public class SysConfigDao extends DAOImplkeys BETWEEN lowerInclusive AND + * Fetch records that have k BETWEEN lowerInclusive AND * upperInclusive */ - public List fetchRangeOfKeys(String lowerInclusive, String upperInclusive) { - return fetchRange(SysConfig.SYS_CONFIG.KEYS, lowerInclusive, upperInclusive); + public List fetchRangeOfK(String lowerInclusive, String upperInclusive) { + return fetchRange(SysConfig.SYS_CONFIG.K, lowerInclusive, upperInclusive); } /** - * Fetch records that have keys IN (values) + * Fetch records that have k IN (values) */ - public List fetchByKeys(String... values) { - return fetch(SysConfig.SYS_CONFIG.KEYS, values); + public List fetchByK(String... values) { + return fetch(SysConfig.SYS_CONFIG.K, values); } /** - * Fetch a unique record that has keys = value + * Fetch a unique record that has k = value */ - public jj.tech.paolu.repository.jooq.tables.pojos.SysConfig fetchOneByKeys(String value) { - return fetchOne(SysConfig.SYS_CONFIG.KEYS, value); + public jj.tech.paolu.repository.jooq.tables.pojos.SysConfig fetchOneByK(String value) { + return fetchOne(SysConfig.SYS_CONFIG.K, value); } /** - * Fetch a unique record that has keys = value + * Fetch a unique record that has k = value */ - public Optional fetchOptionalByKeys(String value) { - return fetchOptional(SysConfig.SYS_CONFIG.KEYS, value); + public Optional fetchOptionalByK(String value) { + return fetchOptional(SysConfig.SYS_CONFIG.K, value); } /** diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysMenuDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysMenuDao.java index fc29aef..67c0be5 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysMenuDao.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysMenuDao.java @@ -206,19 +206,4 @@ public class SysMenuDao extends DAOImpl fetchBySort(Integer... values) { return fetch(SysMenu.SYS_MENU.SORT, values); } - - /** - * Fetch records that have parentpath BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfParentpath(String lowerInclusive, String upperInclusive) { - return fetchRange(SysMenu.SYS_MENU.PARENTPATH, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have parentpath IN (values) - */ - public List fetchByParentpath(String... values) { - return fetch(SysMenu.SYS_MENU.PARENTPATH, values); - } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysOrgDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysOrgDao.java index a117e1f..45cdd3b 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysOrgDao.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysOrgDao.java @@ -4,7 +4,6 @@ package jj.tech.paolu.repository.jooq.tables.daos; -import java.time.LocalDateTime; import java.util.List; import java.util.Optional; @@ -88,96 +87,6 @@ public class SysOrgDao extends DAOImplchinese_simple_name BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfChineseSimpleName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.CHINESE_SIMPLE_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have chinese_simple_name IN (values) - */ - public List fetchByChineseSimpleName(String... values) { - return fetch(SysOrg.SYS_ORG.CHINESE_SIMPLE_NAME, values); - } - - /** - * Fetch records that have english_simple_name BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfEnglishSimpleName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.ENGLISH_SIMPLE_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have english_simple_name IN (values) - */ - public List fetchByEnglishSimpleName(String... values) { - return fetch(SysOrg.SYS_ORG.ENGLISH_SIMPLE_NAME, values); - } - - /** - * Fetch records that have chinese_full_name BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfChineseFullName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.CHINESE_FULL_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have chinese_full_name IN (values) - */ - public List fetchByChineseFullName(String... values) { - return fetch(SysOrg.SYS_ORG.CHINESE_FULL_NAME, values); - } - - /** - * Fetch records that have english_full_name BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfEnglishFullName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.ENGLISH_FULL_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have english_full_name IN (values) - */ - public List fetchByEnglishFullName(String... values) { - return fetch(SysOrg.SYS_ORG.ENGLISH_FULL_NAME, values); - } - - /** - * Fetch records that have code BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCode(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have code IN (values) - */ - public List fetchByCode(String... values) { - return fetch(SysOrg.SYS_ORG.CODE, values); - } - - /** - * Fetch records that have sort BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSort(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.SORT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sort IN (values) - */ - public List fetchBySort(Integer... values) { - return fetch(SysOrg.SYS_ORG.SORT, values); - } - /** * Fetch records that have status BETWEEN lowerInclusive AND * upperInclusive @@ -193,261 +102,6 @@ public class SysOrgDao extends DAOImplis_company_department BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfIsCompanyDepartment(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.IS_COMPANY_DEPARTMENT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_company_department IN (values) - */ - public List fetchByIsCompanyDepartment(Integer... values) { - return fetch(SysOrg.SYS_ORG.IS_COMPANY_DEPARTMENT, values); - } - - /** - * Fetch records that have enterprise_legal_person BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfEnterpriseLegalPerson(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.ENTERPRISE_LEGAL_PERSON, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have enterprise_legal_person IN (values) - */ - public List fetchByEnterpriseLegalPerson(String... values) { - return fetch(SysOrg.SYS_ORG.ENTERPRISE_LEGAL_PERSON, values); - } - - /** - * Fetch records that have contact_person BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfContactPerson(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.CONTACT_PERSON, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have contact_person IN (values) - */ - public List fetchByContactPerson(String... values) { - return fetch(SysOrg.SYS_ORG.CONTACT_PERSON, values); - } - - /** - * Fetch records that have contact_phone BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfContactPhone(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.CONTACT_PHONE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have contact_phone IN (values) - */ - public List fetchByContactPhone(String... values) { - return fetch(SysOrg.SYS_ORG.CONTACT_PHONE, values); - } - - /** - * Fetch records that have remark BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfRemark(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.REMARK, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have remark IN (values) - */ - public List fetchByRemark(String... values) { - return fetch(SysOrg.SYS_ORG.REMARK, values); - } - - /** - * Fetch records that have create_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCreateTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.CREATE_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have create_time IN (values) - */ - public List fetchByCreateTime(LocalDateTime... values) { - return fetch(SysOrg.SYS_ORG.CREATE_TIME, values); - } - - /** - * Fetch records that have create_user BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCreateUser(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.CREATE_USER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have create_user IN (values) - */ - public List fetchByCreateUser(String... values) { - return fetch(SysOrg.SYS_ORG.CREATE_USER, values); - } - - /** - * Fetch records that have update_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUpdateTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.UPDATE_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have update_time IN (values) - */ - public List fetchByUpdateTime(LocalDateTime... values) { - return fetch(SysOrg.SYS_ORG.UPDATE_TIME, values); - } - - /** - * Fetch records that have update_user BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUpdateUser(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.UPDATE_USER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have update_user IN (values) - */ - public List fetchByUpdateUser(String... values) { - return fetch(SysOrg.SYS_ORG.UPDATE_USER, values); - } - - /** - * Fetch records that have name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have name IN (values) - */ - public List fetchByName(String... values) { - return fetch(SysOrg.SYS_ORG.NAME, values); - } - - /** - * Fetch records that have industry_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIndustryName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.INDUSTRY_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have industry_name IN (values) - */ - public List fetchByIndustryName(String... values) { - return fetch(SysOrg.SYS_ORG.INDUSTRY_NAME, values); - } - - /** - * Fetch records that have industry_code BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIndustryCode(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.INDUSTRY_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have industry_code IN (values) - */ - public List fetchByIndustryCode(String... values) { - return fetch(SysOrg.SYS_ORG.INDUSTRY_CODE, values); - } - - /** - * Fetch records that have province_code BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfProvinceCode(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.PROVINCE_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have province_code IN (values) - */ - public List fetchByProvinceCode(String... values) { - return fetch(SysOrg.SYS_ORG.PROVINCE_CODE, values); - } - - /** - * Fetch records that have city_code BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCityCode(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.CITY_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have city_code IN (values) - */ - public List fetchByCityCode(String... values) { - return fetch(SysOrg.SYS_ORG.CITY_CODE, values); - } - - /** - * Fetch records that have area_code BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAreaCode(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.AREA_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have area_code IN (values) - */ - public List fetchByAreaCode(String... values) { - return fetch(SysOrg.SYS_ORG.AREA_CODE, values); - } - - /** - * Fetch records that have addr BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfAddr(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.ADDR, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have addr IN (values) - */ - public List fetchByAddr(String... values) { - return fetch(SysOrg.SYS_ORG.ADDR, values); - } - - /** - * Fetch records that have uscc BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUscc(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.USCC, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uscc IN (values) - */ - public List fetchByUscc(String... values) { - return fetch(SysOrg.SYS_ORG.USCC, values); - } - /** * Fetch records that have org_type BETWEEN lowerInclusive AND * upperInclusive @@ -462,49 +116,4 @@ public class SysOrgDao extends DAOImpl fetchByOrgType(String... values) { return fetch(SysOrg.SYS_ORG.ORG_TYPE, values); } - - /** - * Fetch records that have is_archives_dep BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsArchivesDep(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.IS_ARCHIVES_DEP, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_archives_dep IN (values) - */ - public List fetchByIsArchivesDep(Integer... values) { - return fetch(SysOrg.SYS_ORG.IS_ARCHIVES_DEP, values); - } - - /** - * Fetch records that have cer_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCerId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.CER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have cer_id IN (values) - */ - public List fetchByCerId(String... values) { - return fetch(SysOrg.SYS_ORG.CER_ID, values); - } - - /** - * Fetch records that have is_forbidden BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsForbidden(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysOrg.SYS_ORG.IS_FORBIDDEN, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_forbidden IN (values) - */ - public List fetchByIsForbidden(Integer... values) { - return fetch(SysOrg.SYS_ORG.IS_FORBIDDEN, values); - } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysResourceDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysResourceDao.java new file mode 100644 index 0000000..547cd51 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysResourceDao.java @@ -0,0 +1,194 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.daos; + + +import java.util.List; +import java.util.Optional; + +import jj.tech.paolu.repository.jooq.tables.SysResource; +import jj.tech.paolu.repository.jooq.tables.records.SysResourceRecord; + +import org.jooq.Configuration; +import org.jooq.impl.DAOImpl; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Repository; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +@Repository +public class SysResourceDao extends DAOImpl { + + /** + * Create a new SysResourceDao without any configuration + */ + public SysResourceDao() { + super(SysResource.SYS_RESOURCE, jj.tech.paolu.repository.jooq.tables.pojos.SysResource.class); + } + + /** + * Create a new SysResourceDao with an attached configuration + */ + @Autowired + public SysResourceDao(Configuration configuration) { + super(SysResource.SYS_RESOURCE, jj.tech.paolu.repository.jooq.tables.pojos.SysResource.class, configuration); + } + + @Override + public String getId(jj.tech.paolu.repository.jooq.tables.pojos.SysResource object) { + return object.getId(); + } + + /** + * Fetch records that have id BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { + return fetchRange(SysResource.SYS_RESOURCE.ID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have id IN (values) + */ + public List fetchById(String... values) { + return fetch(SysResource.SYS_RESOURCE.ID, values); + } + + /** + * Fetch a unique record that has id = value + */ + public jj.tech.paolu.repository.jooq.tables.pojos.SysResource fetchOneById(String value) { + return fetchOne(SysResource.SYS_RESOURCE.ID, value); + } + + /** + * Fetch a unique record that has id = value + */ + public Optional fetchOptionalById(String value) { + return fetchOptional(SysResource.SYS_RESOURCE.ID, value); + } + + /** + * Fetch records that have parent_id BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfParentId(String lowerInclusive, String upperInclusive) { + return fetchRange(SysResource.SYS_RESOURCE.PARENT_ID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have parent_id IN (values) + */ + public List fetchByParentId(String... values) { + return fetch(SysResource.SYS_RESOURCE.PARENT_ID, values); + } + + /** + * Fetch records that have level BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfLevel(Short lowerInclusive, Short upperInclusive) { + return fetchRange(SysResource.SYS_RESOURCE.LEVEL, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have level IN (values) + */ + public List fetchByLevel(Short... values) { + return fetch(SysResource.SYS_RESOURCE.LEVEL, values); + } + + /** + * Fetch records that have name BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { + return fetchRange(SysResource.SYS_RESOURCE.NAME, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have name IN (values) + */ + public List fetchByName(String... values) { + return fetch(SysResource.SYS_RESOURCE.NAME, values); + } + + /** + * Fetch records that have types BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfTypes(String lowerInclusive, String upperInclusive) { + return fetchRange(SysResource.SYS_RESOURCE.TYPES, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have types IN (values) + */ + public List fetchByTypes(String... values) { + return fetch(SysResource.SYS_RESOURCE.TYPES, values); + } + + /** + * Fetch records that have url BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfUrl(String lowerInclusive, String upperInclusive) { + return fetchRange(SysResource.SYS_RESOURCE.URL, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have url IN (values) + */ + public List fetchByUrl(String... values) { + return fetch(SysResource.SYS_RESOURCE.URL, values); + } + + /** + * Fetch records that have icon BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfIcon(String lowerInclusive, String upperInclusive) { + return fetchRange(SysResource.SYS_RESOURCE.ICON, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have icon IN (values) + */ + public List fetchByIcon(String... values) { + return fetch(SysResource.SYS_RESOURCE.ICON, values); + } + + /** + * Fetch records that have ishide BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfIshide(Byte lowerInclusive, Byte upperInclusive) { + return fetchRange(SysResource.SYS_RESOURCE.ISHIDE, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have ishide IN (values) + */ + public List fetchByIshide(Byte... values) { + return fetch(SysResource.SYS_RESOURCE.ISHIDE, values); + } + + /** + * Fetch records that have description BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfDescription(String lowerInclusive, String upperInclusive) { + return fetchRange(SysResource.SYS_RESOURCE.DESCRIPTION, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have description IN (values) + */ + public List fetchByDescription(String... values) { + return fetch(SysResource.SYS_RESOURCE.DESCRIPTION, values); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleDao.java index d33f0c8..6189fe9 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleDao.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleDao.java @@ -88,107 +88,17 @@ public class SysRoleDao extends DAOImpldescribe BETWEEN lowerInclusive AND + * Fetch records that have department BETWEEN lowerInclusive AND * upperInclusive */ - public List fetchRangeOfDescribe(String lowerInclusive, String upperInclusive) { - return fetchRange(SysRole.SYS_ROLE.DESCRIBE, lowerInclusive, upperInclusive); + public List fetchRangeOfDepartment(String lowerInclusive, String upperInclusive) { + return fetchRange(SysRole.SYS_ROLE.DEPARTMENT, lowerInclusive, upperInclusive); } /** - * Fetch records that have describe IN (values) + * Fetch records that have department IN (values) */ - public List fetchByDescribe(String... values) { - return fetch(SysRole.SYS_ROLE.DESCRIBE, values); - } - - /** - * Fetch records that have sort BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSort(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysRole.SYS_ROLE.SORT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sort IN (values) - */ - public List fetchBySort(Integer... values) { - return fetch(SysRole.SYS_ROLE.SORT, values); - } - - /** - * Fetch records that have is_open BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsOpen(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysRole.SYS_ROLE.IS_OPEN, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_open IN (values) - */ - public List fetchByIsOpen(Integer... values) { - return fetch(SysRole.SYS_ROLE.IS_OPEN, values); - } - - /** - * Fetch records that have sign_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSignName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysRole.SYS_ROLE.SIGN_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sign_name IN (values) - */ - public List fetchBySignName(String... values) { - return fetch(SysRole.SYS_ROLE.SIGN_NAME, values); - } - - /** - * Fetch records that have sign_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSignId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysRole.SYS_ROLE.SIGN_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sign_id IN (values) - */ - public List fetchBySignId(String... values) { - return fetch(SysRole.SYS_ROLE.SIGN_ID, values); - } - - /** - * Fetch records that have company_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCompanyId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysRole.SYS_ROLE.COMPANY_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have company_id IN (values) - */ - public List fetchByCompanyId(String... values) { - return fetch(SysRole.SYS_ROLE.COMPANY_ID, values); - } - - /** - * Fetch records that have company_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCompanyName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysRole.SYS_ROLE.COMPANY_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have company_name IN (values) - */ - public List fetchByCompanyName(String... values) { - return fetch(SysRole.SYS_ROLE.COMPANY_NAME, values); + public List fetchByDepartment(String... values) { + return fetch(SysRole.SYS_ROLE.DEPARTMENT, values); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleMenuDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleMenuDao.java deleted file mode 100644 index 403b318..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleMenuDao.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.SysRoleMenu; -import jj.tech.paolu.repository.jooq.tables.records.SysRoleMenuRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class SysRoleMenuDao extends DAOImpl { - - /** - * Create a new SysRoleMenuDao without any configuration - */ - public SysRoleMenuDao() { - super(SysRoleMenu.SYS_ROLE_MENU, jj.tech.paolu.repository.jooq.tables.pojos.SysRoleMenu.class); - } - - /** - * Create a new SysRoleMenuDao with an attached configuration - */ - @Autowired - public SysRoleMenuDao(Configuration configuration) { - super(SysRoleMenu.SYS_ROLE_MENU, jj.tech.paolu.repository.jooq.tables.pojos.SysRoleMenu.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.SysRoleMenu object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysRoleMenu.SYS_ROLE_MENU.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(SysRoleMenu.SYS_ROLE_MENU.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.SysRoleMenu fetchOneById(String value) { - return fetchOne(SysRoleMenu.SYS_ROLE_MENU.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(SysRoleMenu.SYS_ROLE_MENU.ID, value); - } - - /** - * Fetch records that have roleid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfRoleid(String lowerInclusive, String upperInclusive) { - return fetchRange(SysRoleMenu.SYS_ROLE_MENU.ROLEID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have roleid IN (values) - */ - public List fetchByRoleid(String... values) { - return fetch(SysRoleMenu.SYS_ROLE_MENU.ROLEID, values); - } - - /** - * Fetch records that have menuid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfMenuid(String lowerInclusive, String upperInclusive) { - return fetchRange(SysRoleMenu.SYS_ROLE_MENU.MENUID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have menuid IN (values) - */ - public List fetchByMenuid(String... values) { - return fetch(SysRoleMenu.SYS_ROLE_MENU.MENUID, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleResourceDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleResourceDao.java new file mode 100644 index 0000000..8aa2bfd --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleResourceDao.java @@ -0,0 +1,90 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.daos; + + +import java.util.List; + +import jj.tech.paolu.repository.jooq.tables.SysRoleResource; +import jj.tech.paolu.repository.jooq.tables.records.SysRoleResourceRecord; + +import org.jooq.Configuration; +import org.jooq.Record2; +import org.jooq.impl.DAOImpl; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Repository; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +@Repository +public class SysRoleResourceDao extends DAOImpl> { + + /** + * Create a new SysRoleResourceDao without any configuration + */ + public SysRoleResourceDao() { + super(SysRoleResource.SYS_ROLE_RESOURCE, jj.tech.paolu.repository.jooq.tables.pojos.SysRoleResource.class); + } + + /** + * Create a new SysRoleResourceDao with an attached configuration + */ + @Autowired + public SysRoleResourceDao(Configuration configuration) { + super(SysRoleResource.SYS_ROLE_RESOURCE, jj.tech.paolu.repository.jooq.tables.pojos.SysRoleResource.class, configuration); + } + + @Override + public Record2 getId(jj.tech.paolu.repository.jooq.tables.pojos.SysRoleResource object) { + return compositeKeyRecord(object.getRoleid(), object.getResid()); + } + + /** + * Fetch records that have id BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { + return fetchRange(SysRoleResource.SYS_ROLE_RESOURCE.ID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have id IN (values) + */ + public List fetchById(String... values) { + return fetch(SysRoleResource.SYS_ROLE_RESOURCE.ID, values); + } + + /** + * Fetch records that have roleid BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfRoleid(String lowerInclusive, String upperInclusive) { + return fetchRange(SysRoleResource.SYS_ROLE_RESOURCE.ROLEID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have roleid IN (values) + */ + public List fetchByRoleid(String... values) { + return fetch(SysRoleResource.SYS_ROLE_RESOURCE.ROLEID, values); + } + + /** + * Fetch records that have resid BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfResid(String lowerInclusive, String upperInclusive) { + return fetchRange(SysRoleResource.SYS_ROLE_RESOURCE.RESID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have resid IN (values) + */ + public List fetchByResid(String... values) { + return fetch(SysRoleResource.SYS_ROLE_RESOURCE.RESID, values); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleSignDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleSignDao.java deleted file mode 100644 index 2806ce4..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleSignDao.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.daos; - - -import java.util.List; -import java.util.Optional; - -import jj.tech.paolu.repository.jooq.tables.SysRoleSign; -import jj.tech.paolu.repository.jooq.tables.records.SysRoleSignRecord; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class SysRoleSignDao extends DAOImpl { - - /** - * Create a new SysRoleSignDao without any configuration - */ - public SysRoleSignDao() { - super(SysRoleSign.SYS_ROLE_SIGN, jj.tech.paolu.repository.jooq.tables.pojos.SysRoleSign.class); - } - - /** - * Create a new SysRoleSignDao with an attached configuration - */ - @Autowired - public SysRoleSignDao(Configuration configuration) { - super(SysRoleSign.SYS_ROLE_SIGN, jj.tech.paolu.repository.jooq.tables.pojos.SysRoleSign.class, configuration); - } - - @Override - public String getId(jj.tech.paolu.repository.jooq.tables.pojos.SysRoleSign object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysRoleSign.SYS_ROLE_SIGN.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(String... values) { - return fetch(SysRoleSign.SYS_ROLE_SIGN.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public jj.tech.paolu.repository.jooq.tables.pojos.SysRoleSign fetchOneById(String value) { - return fetchOne(SysRoleSign.SYS_ROLE_SIGN.ID, value); - } - - /** - * Fetch a unique record that has id = value - */ - public Optional fetchOptionalById(String value) { - return fetchOptional(SysRoleSign.SYS_ROLE_SIGN.ID, value); - } - - /** - * Fetch records that have sign_name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSignName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysRoleSign.SYS_ROLE_SIGN.SIGN_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sign_name IN (values) - */ - public List fetchBySignName(String... values) { - return fetch(SysRoleSign.SYS_ROLE_SIGN.SIGN_NAME, values); - } - - /** - * Fetch records that have sign_code BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfSignCode(String lowerInclusive, String upperInclusive) { - return fetchRange(SysRoleSign.SYS_ROLE_SIGN.SIGN_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have sign_code IN (values) - */ - public List fetchBySignCode(String... values) { - return fetch(SysRoleSign.SYS_ROLE_SIGN.SIGN_CODE, values); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysUrlsDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysUrlsDao.java index acd5dcd..2057b5a 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysUrlsDao.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysUrlsDao.java @@ -76,14 +76,14 @@ public class SysUrlsDao extends DAOImplpid BETWEEN lowerInclusive AND * upperInclusive */ - public List fetchRangeOfPid(String lowerInclusive, String upperInclusive) { + public List fetchRangeOfPid(Integer lowerInclusive, Integer upperInclusive) { return fetchRange(SysUrls.SYS_URLS.PID, lowerInclusive, upperInclusive); } /** * Fetch records that have pid IN (values) */ - public List fetchByPid(String... values) { + public List fetchByPid(Integer... values) { return fetch(SysUrls.SYS_URLS.PID, values); } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/ArchiveSynLog.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/ArchiveSynLog.java deleted file mode 100644 index 059cb21..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/ArchiveSynLog.java +++ /dev/null @@ -1,394 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - - -/** - * 从电子档案系统同步档案目录数据的过程日志 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ArchiveSynLog implements Serializable { - - private static final long serialVersionUID = 1L; - - private LocalDateTime startTime; - private Long insertDirCount; - private Long updateDirCount; - private Long insertDirfileCount; - private Long updateDirfileCount; - private Long insertFileCount; - private Long updateFileCount; - private String description; - private String runResult; - private Long updateTimestamp; - private String id; - private Long nextUpdateTimestamp; - private LocalDateTime endTime; - - public ArchiveSynLog() {} - - public ArchiveSynLog(ArchiveSynLog value) { - this.startTime = value.startTime; - this.insertDirCount = value.insertDirCount; - this.updateDirCount = value.updateDirCount; - this.insertDirfileCount = value.insertDirfileCount; - this.updateDirfileCount = value.updateDirfileCount; - this.insertFileCount = value.insertFileCount; - this.updateFileCount = value.updateFileCount; - this.description = value.description; - this.runResult = value.runResult; - this.updateTimestamp = value.updateTimestamp; - this.id = value.id; - this.nextUpdateTimestamp = value.nextUpdateTimestamp; - this.endTime = value.endTime; - } - - public ArchiveSynLog( - LocalDateTime startTime, - Long insertDirCount, - Long updateDirCount, - Long insertDirfileCount, - Long updateDirfileCount, - Long insertFileCount, - Long updateFileCount, - String description, - String runResult, - Long updateTimestamp, - String id, - Long nextUpdateTimestamp, - LocalDateTime endTime - ) { - this.startTime = startTime; - this.insertDirCount = insertDirCount; - this.updateDirCount = updateDirCount; - this.insertDirfileCount = insertDirfileCount; - this.updateDirfileCount = updateDirfileCount; - this.insertFileCount = insertFileCount; - this.updateFileCount = updateFileCount; - this.description = description; - this.runResult = runResult; - this.updateTimestamp = updateTimestamp; - this.id = id; - this.nextUpdateTimestamp = nextUpdateTimestamp; - this.endTime = endTime; - } - - /** - * Getter for public.archive_syn_log.start_time. - */ - public LocalDateTime getStartTime() { - return this.startTime; - } - - /** - * Setter for public.archive_syn_log.start_time. - */ - public void setStartTime(LocalDateTime startTime) { - this.startTime = startTime; - } - - /** - * Getter for public.archive_syn_log.insert_dir_count. - */ - public Long getInsertDirCount() { - return this.insertDirCount; - } - - /** - * Setter for public.archive_syn_log.insert_dir_count. - */ - public void setInsertDirCount(Long insertDirCount) { - this.insertDirCount = insertDirCount; - } - - /** - * Getter for public.archive_syn_log.update_dir_count. - */ - public Long getUpdateDirCount() { - return this.updateDirCount; - } - - /** - * Setter for public.archive_syn_log.update_dir_count. - */ - public void setUpdateDirCount(Long updateDirCount) { - this.updateDirCount = updateDirCount; - } - - /** - * Getter for public.archive_syn_log.insert_dirfile_count. - */ - public Long getInsertDirfileCount() { - return this.insertDirfileCount; - } - - /** - * Setter for public.archive_syn_log.insert_dirfile_count. - */ - public void setInsertDirfileCount(Long insertDirfileCount) { - this.insertDirfileCount = insertDirfileCount; - } - - /** - * Getter for public.archive_syn_log.update_dirfile_count. - */ - public Long getUpdateDirfileCount() { - return this.updateDirfileCount; - } - - /** - * Setter for public.archive_syn_log.update_dirfile_count. - */ - public void setUpdateDirfileCount(Long updateDirfileCount) { - this.updateDirfileCount = updateDirfileCount; - } - - /** - * Getter for public.archive_syn_log.insert_file_count. - */ - public Long getInsertFileCount() { - return this.insertFileCount; - } - - /** - * Setter for public.archive_syn_log.insert_file_count. - */ - public void setInsertFileCount(Long insertFileCount) { - this.insertFileCount = insertFileCount; - } - - /** - * Getter for public.archive_syn_log.update_file_count. - */ - public Long getUpdateFileCount() { - return this.updateFileCount; - } - - /** - * Setter for public.archive_syn_log.update_file_count. - */ - public void setUpdateFileCount(Long updateFileCount) { - this.updateFileCount = updateFileCount; - } - - /** - * Getter for public.archive_syn_log.description. - */ - public String getDescription() { - return this.description; - } - - /** - * Setter for public.archive_syn_log.description. - */ - public void setDescription(String description) { - this.description = description; - } - - /** - * Getter for public.archive_syn_log.run_result. - */ - public String getRunResult() { - return this.runResult; - } - - /** - * Setter for public.archive_syn_log.run_result. - */ - public void setRunResult(String runResult) { - this.runResult = runResult; - } - - /** - * Getter for public.archive_syn_log.update_timestamp. - */ - public Long getUpdateTimestamp() { - return this.updateTimestamp; - } - - /** - * Setter for public.archive_syn_log.update_timestamp. - */ - public void setUpdateTimestamp(Long updateTimestamp) { - this.updateTimestamp = updateTimestamp; - } - - /** - * Getter for public.archive_syn_log.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.archive_syn_log.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.archive_syn_log.next_update_timestamp. - */ - public Long getNextUpdateTimestamp() { - return this.nextUpdateTimestamp; - } - - /** - * Setter for public.archive_syn_log.next_update_timestamp. - */ - public void setNextUpdateTimestamp(Long nextUpdateTimestamp) { - this.nextUpdateTimestamp = nextUpdateTimestamp; - } - - /** - * Getter for public.archive_syn_log.end_time. - */ - public LocalDateTime getEndTime() { - return this.endTime; - } - - /** - * Setter for public.archive_syn_log.end_time. - */ - public void setEndTime(LocalDateTime endTime) { - this.endTime = endTime; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final ArchiveSynLog other = (ArchiveSynLog) obj; - if (this.startTime == null) { - if (other.startTime != null) - return false; - } - else if (!this.startTime.equals(other.startTime)) - return false; - if (this.insertDirCount == null) { - if (other.insertDirCount != null) - return false; - } - else if (!this.insertDirCount.equals(other.insertDirCount)) - return false; - if (this.updateDirCount == null) { - if (other.updateDirCount != null) - return false; - } - else if (!this.updateDirCount.equals(other.updateDirCount)) - return false; - if (this.insertDirfileCount == null) { - if (other.insertDirfileCount != null) - return false; - } - else if (!this.insertDirfileCount.equals(other.insertDirfileCount)) - return false; - if (this.updateDirfileCount == null) { - if (other.updateDirfileCount != null) - return false; - } - else if (!this.updateDirfileCount.equals(other.updateDirfileCount)) - return false; - if (this.insertFileCount == null) { - if (other.insertFileCount != null) - return false; - } - else if (!this.insertFileCount.equals(other.insertFileCount)) - return false; - if (this.updateFileCount == null) { - if (other.updateFileCount != null) - return false; - } - else if (!this.updateFileCount.equals(other.updateFileCount)) - return false; - if (this.description == null) { - if (other.description != null) - return false; - } - else if (!this.description.equals(other.description)) - return false; - if (this.runResult == null) { - if (other.runResult != null) - return false; - } - else if (!this.runResult.equals(other.runResult)) - return false; - if (this.updateTimestamp == null) { - if (other.updateTimestamp != null) - return false; - } - else if (!this.updateTimestamp.equals(other.updateTimestamp)) - return false; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.nextUpdateTimestamp == null) { - if (other.nextUpdateTimestamp != null) - return false; - } - else if (!this.nextUpdateTimestamp.equals(other.nextUpdateTimestamp)) - return false; - if (this.endTime == null) { - if (other.endTime != null) - return false; - } - else if (!this.endTime.equals(other.endTime)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.startTime == null) ? 0 : this.startTime.hashCode()); - result = prime * result + ((this.insertDirCount == null) ? 0 : this.insertDirCount.hashCode()); - result = prime * result + ((this.updateDirCount == null) ? 0 : this.updateDirCount.hashCode()); - result = prime * result + ((this.insertDirfileCount == null) ? 0 : this.insertDirfileCount.hashCode()); - result = prime * result + ((this.updateDirfileCount == null) ? 0 : this.updateDirfileCount.hashCode()); - result = prime * result + ((this.insertFileCount == null) ? 0 : this.insertFileCount.hashCode()); - result = prime * result + ((this.updateFileCount == null) ? 0 : this.updateFileCount.hashCode()); - result = prime * result + ((this.description == null) ? 0 : this.description.hashCode()); - result = prime * result + ((this.runResult == null) ? 0 : this.runResult.hashCode()); - result = prime * result + ((this.updateTimestamp == null) ? 0 : this.updateTimestamp.hashCode()); - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.nextUpdateTimestamp == null) ? 0 : this.nextUpdateTimestamp.hashCode()); - result = prime * result + ((this.endTime == null) ? 0 : this.endTime.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("ArchiveSynLog ("); - - sb.append(startTime); - sb.append(", ").append(insertDirCount); - sb.append(", ").append(updateDirCount); - sb.append(", ").append(insertDirfileCount); - sb.append(", ").append(updateDirfileCount); - sb.append(", ").append(insertFileCount); - sb.append(", ").append(updateFileCount); - sb.append(", ").append(description); - sb.append(", ").append(runResult); - sb.append(", ").append(updateTimestamp); - sb.append(", ").append(id); - sb.append(", ").append(nextUpdateTimestamp); - sb.append(", ").append(endTime); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CertificateApply.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CertificateApply.java deleted file mode 100644 index d4a71f0..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CertificateApply.java +++ /dev/null @@ -1,498 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class CertificateApply implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private Integer isOrg; - private String userId; - private String userName; - private String userRealName; - private String userPhone; - private String userOrgId; - private String userOrgName; - private Integer applyType; - private Integer status; - private LocalDateTime applyTime; - private LocalDateTime applyFinishTime; - private String applyReason; - private String nextCheckOrgId; - private String endCheckOrgId; - private String cerId; - private String companyId; - - public CertificateApply() {} - - public CertificateApply(CertificateApply value) { - this.id = value.id; - this.isOrg = value.isOrg; - this.userId = value.userId; - this.userName = value.userName; - this.userRealName = value.userRealName; - this.userPhone = value.userPhone; - this.userOrgId = value.userOrgId; - this.userOrgName = value.userOrgName; - this.applyType = value.applyType; - this.status = value.status; - this.applyTime = value.applyTime; - this.applyFinishTime = value.applyFinishTime; - this.applyReason = value.applyReason; - this.nextCheckOrgId = value.nextCheckOrgId; - this.endCheckOrgId = value.endCheckOrgId; - this.cerId = value.cerId; - this.companyId = value.companyId; - } - - public CertificateApply( - String id, - Integer isOrg, - String userId, - String userName, - String userRealName, - String userPhone, - String userOrgId, - String userOrgName, - Integer applyType, - Integer status, - LocalDateTime applyTime, - LocalDateTime applyFinishTime, - String applyReason, - String nextCheckOrgId, - String endCheckOrgId, - String cerId, - String companyId - ) { - this.id = id; - this.isOrg = isOrg; - this.userId = userId; - this.userName = userName; - this.userRealName = userRealName; - this.userPhone = userPhone; - this.userOrgId = userOrgId; - this.userOrgName = userOrgName; - this.applyType = applyType; - this.status = status; - this.applyTime = applyTime; - this.applyFinishTime = applyFinishTime; - this.applyReason = applyReason; - this.nextCheckOrgId = nextCheckOrgId; - this.endCheckOrgId = endCheckOrgId; - this.cerId = cerId; - this.companyId = companyId; - } - - /** - * Getter for public.certificate_apply.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.certificate_apply.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.certificate_apply.is_org. - */ - public Integer getIsOrg() { - return this.isOrg; - } - - /** - * Setter for public.certificate_apply.is_org. - */ - public void setIsOrg(Integer isOrg) { - this.isOrg = isOrg; - } - - /** - * Getter for public.certificate_apply.user_id. - */ - public String getUserId() { - return this.userId; - } - - /** - * Setter for public.certificate_apply.user_id. - */ - public void setUserId(String userId) { - this.userId = userId; - } - - /** - * Getter for public.certificate_apply.user_name. - */ - public String getUserName() { - return this.userName; - } - - /** - * Setter for public.certificate_apply.user_name. - */ - public void setUserName(String userName) { - this.userName = userName; - } - - /** - * Getter for public.certificate_apply.user_real_name. - */ - public String getUserRealName() { - return this.userRealName; - } - - /** - * Setter for public.certificate_apply.user_real_name. - */ - public void setUserRealName(String userRealName) { - this.userRealName = userRealName; - } - - /** - * Getter for public.certificate_apply.user_phone. - */ - public String getUserPhone() { - return this.userPhone; - } - - /** - * Setter for public.certificate_apply.user_phone. - */ - public void setUserPhone(String userPhone) { - this.userPhone = userPhone; - } - - /** - * Getter for public.certificate_apply.user_org_id. - */ - public String getUserOrgId() { - return this.userOrgId; - } - - /** - * Setter for public.certificate_apply.user_org_id. - */ - public void setUserOrgId(String userOrgId) { - this.userOrgId = userOrgId; - } - - /** - * Getter for public.certificate_apply.user_org_name. - */ - public String getUserOrgName() { - return this.userOrgName; - } - - /** - * Setter for public.certificate_apply.user_org_name. - */ - public void setUserOrgName(String userOrgName) { - this.userOrgName = userOrgName; - } - - /** - * Getter for public.certificate_apply.apply_type. - */ - public Integer getApplyType() { - return this.applyType; - } - - /** - * Setter for public.certificate_apply.apply_type. - */ - public void setApplyType(Integer applyType) { - this.applyType = applyType; - } - - /** - * Getter for public.certificate_apply.status. - */ - public Integer getStatus() { - return this.status; - } - - /** - * Setter for public.certificate_apply.status. - */ - public void setStatus(Integer status) { - this.status = status; - } - - /** - * Getter for public.certificate_apply.apply_time. - */ - public LocalDateTime getApplyTime() { - return this.applyTime; - } - - /** - * Setter for public.certificate_apply.apply_time. - */ - public void setApplyTime(LocalDateTime applyTime) { - this.applyTime = applyTime; - } - - /** - * Getter for public.certificate_apply.apply_finish_time. - */ - public LocalDateTime getApplyFinishTime() { - return this.applyFinishTime; - } - - /** - * Setter for public.certificate_apply.apply_finish_time. - */ - public void setApplyFinishTime(LocalDateTime applyFinishTime) { - this.applyFinishTime = applyFinishTime; - } - - /** - * Getter for public.certificate_apply.apply_reason. - */ - public String getApplyReason() { - return this.applyReason; - } - - /** - * Setter for public.certificate_apply.apply_reason. - */ - public void setApplyReason(String applyReason) { - this.applyReason = applyReason; - } - - /** - * Getter for public.certificate_apply.next_check_org_id. - */ - public String getNextCheckOrgId() { - return this.nextCheckOrgId; - } - - /** - * Setter for public.certificate_apply.next_check_org_id. - */ - public void setNextCheckOrgId(String nextCheckOrgId) { - this.nextCheckOrgId = nextCheckOrgId; - } - - /** - * Getter for public.certificate_apply.end_check_org_id. - */ - public String getEndCheckOrgId() { - return this.endCheckOrgId; - } - - /** - * Setter for public.certificate_apply.end_check_org_id. - */ - public void setEndCheckOrgId(String endCheckOrgId) { - this.endCheckOrgId = endCheckOrgId; - } - - /** - * Getter for public.certificate_apply.cer_id. - */ - public String getCerId() { - return this.cerId; - } - - /** - * Setter for public.certificate_apply.cer_id. - */ - public void setCerId(String cerId) { - this.cerId = cerId; - } - - /** - * Getter for public.certificate_apply.company_id. - */ - public String getCompanyId() { - return this.companyId; - } - - /** - * Setter for public.certificate_apply.company_id. - */ - public void setCompanyId(String companyId) { - this.companyId = companyId; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final CertificateApply other = (CertificateApply) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.isOrg == null) { - if (other.isOrg != null) - return false; - } - else if (!this.isOrg.equals(other.isOrg)) - return false; - if (this.userId == null) { - if (other.userId != null) - return false; - } - else if (!this.userId.equals(other.userId)) - return false; - if (this.userName == null) { - if (other.userName != null) - return false; - } - else if (!this.userName.equals(other.userName)) - return false; - if (this.userRealName == null) { - if (other.userRealName != null) - return false; - } - else if (!this.userRealName.equals(other.userRealName)) - return false; - if (this.userPhone == null) { - if (other.userPhone != null) - return false; - } - else if (!this.userPhone.equals(other.userPhone)) - return false; - if (this.userOrgId == null) { - if (other.userOrgId != null) - return false; - } - else if (!this.userOrgId.equals(other.userOrgId)) - return false; - if (this.userOrgName == null) { - if (other.userOrgName != null) - return false; - } - else if (!this.userOrgName.equals(other.userOrgName)) - return false; - if (this.applyType == null) { - if (other.applyType != null) - return false; - } - else if (!this.applyType.equals(other.applyType)) - return false; - if (this.status == null) { - if (other.status != null) - return false; - } - else if (!this.status.equals(other.status)) - return false; - if (this.applyTime == null) { - if (other.applyTime != null) - return false; - } - else if (!this.applyTime.equals(other.applyTime)) - return false; - if (this.applyFinishTime == null) { - if (other.applyFinishTime != null) - return false; - } - else if (!this.applyFinishTime.equals(other.applyFinishTime)) - return false; - if (this.applyReason == null) { - if (other.applyReason != null) - return false; - } - else if (!this.applyReason.equals(other.applyReason)) - return false; - if (this.nextCheckOrgId == null) { - if (other.nextCheckOrgId != null) - return false; - } - else if (!this.nextCheckOrgId.equals(other.nextCheckOrgId)) - return false; - if (this.endCheckOrgId == null) { - if (other.endCheckOrgId != null) - return false; - } - else if (!this.endCheckOrgId.equals(other.endCheckOrgId)) - return false; - if (this.cerId == null) { - if (other.cerId != null) - return false; - } - else if (!this.cerId.equals(other.cerId)) - return false; - if (this.companyId == null) { - if (other.companyId != null) - return false; - } - else if (!this.companyId.equals(other.companyId)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.isOrg == null) ? 0 : this.isOrg.hashCode()); - result = prime * result + ((this.userId == null) ? 0 : this.userId.hashCode()); - result = prime * result + ((this.userName == null) ? 0 : this.userName.hashCode()); - result = prime * result + ((this.userRealName == null) ? 0 : this.userRealName.hashCode()); - result = prime * result + ((this.userPhone == null) ? 0 : this.userPhone.hashCode()); - result = prime * result + ((this.userOrgId == null) ? 0 : this.userOrgId.hashCode()); - result = prime * result + ((this.userOrgName == null) ? 0 : this.userOrgName.hashCode()); - result = prime * result + ((this.applyType == null) ? 0 : this.applyType.hashCode()); - result = prime * result + ((this.status == null) ? 0 : this.status.hashCode()); - result = prime * result + ((this.applyTime == null) ? 0 : this.applyTime.hashCode()); - result = prime * result + ((this.applyFinishTime == null) ? 0 : this.applyFinishTime.hashCode()); - result = prime * result + ((this.applyReason == null) ? 0 : this.applyReason.hashCode()); - result = prime * result + ((this.nextCheckOrgId == null) ? 0 : this.nextCheckOrgId.hashCode()); - result = prime * result + ((this.endCheckOrgId == null) ? 0 : this.endCheckOrgId.hashCode()); - result = prime * result + ((this.cerId == null) ? 0 : this.cerId.hashCode()); - result = prime * result + ((this.companyId == null) ? 0 : this.companyId.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("CertificateApply ("); - - sb.append(id); - sb.append(", ").append(isOrg); - sb.append(", ").append(userId); - sb.append(", ").append(userName); - sb.append(", ").append(userRealName); - sb.append(", ").append(userPhone); - sb.append(", ").append(userOrgId); - sb.append(", ").append(userOrgName); - sb.append(", ").append(applyType); - sb.append(", ").append(status); - sb.append(", ").append(applyTime); - sb.append(", ").append(applyFinishTime); - sb.append(", ").append(applyReason); - sb.append(", ").append(nextCheckOrgId); - sb.append(", ").append(endCheckOrgId); - sb.append(", ").append(cerId); - sb.append(", ").append(companyId); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CertificateApplyRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CertificateApplyRecord.java deleted file mode 100644 index c0bf958..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CertificateApplyRecord.java +++ /dev/null @@ -1,456 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class CertificateApplyRecord implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String certificateApplyId; - private String certificateApplyUserId; - private String certificateApplyUserOrgId; - private Integer isOrg; - private Integer applyType; - private String checkUserId; - private String checkUserName; - private String checkOrgId; - private String checkOrgName; - private String checkDescribe; - private Integer checkStatus; - private LocalDateTime checkTime; - private String nextCheckOrgId; - private String nextCheckOrgName; - - public CertificateApplyRecord() {} - - public CertificateApplyRecord(CertificateApplyRecord value) { - this.id = value.id; - this.certificateApplyId = value.certificateApplyId; - this.certificateApplyUserId = value.certificateApplyUserId; - this.certificateApplyUserOrgId = value.certificateApplyUserOrgId; - this.isOrg = value.isOrg; - this.applyType = value.applyType; - this.checkUserId = value.checkUserId; - this.checkUserName = value.checkUserName; - this.checkOrgId = value.checkOrgId; - this.checkOrgName = value.checkOrgName; - this.checkDescribe = value.checkDescribe; - this.checkStatus = value.checkStatus; - this.checkTime = value.checkTime; - this.nextCheckOrgId = value.nextCheckOrgId; - this.nextCheckOrgName = value.nextCheckOrgName; - } - - public CertificateApplyRecord( - String id, - String certificateApplyId, - String certificateApplyUserId, - String certificateApplyUserOrgId, - Integer isOrg, - Integer applyType, - String checkUserId, - String checkUserName, - String checkOrgId, - String checkOrgName, - String checkDescribe, - Integer checkStatus, - LocalDateTime checkTime, - String nextCheckOrgId, - String nextCheckOrgName - ) { - this.id = id; - this.certificateApplyId = certificateApplyId; - this.certificateApplyUserId = certificateApplyUserId; - this.certificateApplyUserOrgId = certificateApplyUserOrgId; - this.isOrg = isOrg; - this.applyType = applyType; - this.checkUserId = checkUserId; - this.checkUserName = checkUserName; - this.checkOrgId = checkOrgId; - this.checkOrgName = checkOrgName; - this.checkDescribe = checkDescribe; - this.checkStatus = checkStatus; - this.checkTime = checkTime; - this.nextCheckOrgId = nextCheckOrgId; - this.nextCheckOrgName = nextCheckOrgName; - } - - /** - * Getter for public.certificate_apply_record.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.certificate_apply_record.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for - * public.certificate_apply_record.certificate_apply_id. - */ - public String getCertificateApplyId() { - return this.certificateApplyId; - } - - /** - * Setter for - * public.certificate_apply_record.certificate_apply_id. - */ - public void setCertificateApplyId(String certificateApplyId) { - this.certificateApplyId = certificateApplyId; - } - - /** - * Getter for - * public.certificate_apply_record.certificate_apply_user_id. - */ - public String getCertificateApplyUserId() { - return this.certificateApplyUserId; - } - - /** - * Setter for - * public.certificate_apply_record.certificate_apply_user_id. - */ - public void setCertificateApplyUserId(String certificateApplyUserId) { - this.certificateApplyUserId = certificateApplyUserId; - } - - /** - * Getter for - * public.certificate_apply_record.certificate_apply_user_org_id. - */ - public String getCertificateApplyUserOrgId() { - return this.certificateApplyUserOrgId; - } - - /** - * Setter for - * public.certificate_apply_record.certificate_apply_user_org_id. - */ - public void setCertificateApplyUserOrgId(String certificateApplyUserOrgId) { - this.certificateApplyUserOrgId = certificateApplyUserOrgId; - } - - /** - * Getter for public.certificate_apply_record.is_org. - */ - public Integer getIsOrg() { - return this.isOrg; - } - - /** - * Setter for public.certificate_apply_record.is_org. - */ - public void setIsOrg(Integer isOrg) { - this.isOrg = isOrg; - } - - /** - * Getter for public.certificate_apply_record.apply_type. - */ - public Integer getApplyType() { - return this.applyType; - } - - /** - * Setter for public.certificate_apply_record.apply_type. - */ - public void setApplyType(Integer applyType) { - this.applyType = applyType; - } - - /** - * Getter for public.certificate_apply_record.check_user_id. - */ - public String getCheckUserId() { - return this.checkUserId; - } - - /** - * Setter for public.certificate_apply_record.check_user_id. - */ - public void setCheckUserId(String checkUserId) { - this.checkUserId = checkUserId; - } - - /** - * Getter for public.certificate_apply_record.check_user_name. - */ - public String getCheckUserName() { - return this.checkUserName; - } - - /** - * Setter for public.certificate_apply_record.check_user_name. - */ - public void setCheckUserName(String checkUserName) { - this.checkUserName = checkUserName; - } - - /** - * Getter for public.certificate_apply_record.check_org_id. - */ - public String getCheckOrgId() { - return this.checkOrgId; - } - - /** - * Setter for public.certificate_apply_record.check_org_id. - */ - public void setCheckOrgId(String checkOrgId) { - this.checkOrgId = checkOrgId; - } - - /** - * Getter for public.certificate_apply_record.check_org_name. - */ - public String getCheckOrgName() { - return this.checkOrgName; - } - - /** - * Setter for public.certificate_apply_record.check_org_name. - */ - public void setCheckOrgName(String checkOrgName) { - this.checkOrgName = checkOrgName; - } - - /** - * Getter for public.certificate_apply_record.check_describe. - */ - public String getCheckDescribe() { - return this.checkDescribe; - } - - /** - * Setter for public.certificate_apply_record.check_describe. - */ - public void setCheckDescribe(String checkDescribe) { - this.checkDescribe = checkDescribe; - } - - /** - * Getter for public.certificate_apply_record.check_status. - */ - public Integer getCheckStatus() { - return this.checkStatus; - } - - /** - * Setter for public.certificate_apply_record.check_status. - */ - public void setCheckStatus(Integer checkStatus) { - this.checkStatus = checkStatus; - } - - /** - * Getter for public.certificate_apply_record.check_time. - */ - public LocalDateTime getCheckTime() { - return this.checkTime; - } - - /** - * Setter for public.certificate_apply_record.check_time. - */ - public void setCheckTime(LocalDateTime checkTime) { - this.checkTime = checkTime; - } - - /** - * Getter for - * public.certificate_apply_record.next_check_org_id. - */ - public String getNextCheckOrgId() { - return this.nextCheckOrgId; - } - - /** - * Setter for - * public.certificate_apply_record.next_check_org_id. - */ - public void setNextCheckOrgId(String nextCheckOrgId) { - this.nextCheckOrgId = nextCheckOrgId; - } - - /** - * Getter for - * public.certificate_apply_record.next_check_org_name. - */ - public String getNextCheckOrgName() { - return this.nextCheckOrgName; - } - - /** - * Setter for - * public.certificate_apply_record.next_check_org_name. - */ - public void setNextCheckOrgName(String nextCheckOrgName) { - this.nextCheckOrgName = nextCheckOrgName; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final CertificateApplyRecord other = (CertificateApplyRecord) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.certificateApplyId == null) { - if (other.certificateApplyId != null) - return false; - } - else if (!this.certificateApplyId.equals(other.certificateApplyId)) - return false; - if (this.certificateApplyUserId == null) { - if (other.certificateApplyUserId != null) - return false; - } - else if (!this.certificateApplyUserId.equals(other.certificateApplyUserId)) - return false; - if (this.certificateApplyUserOrgId == null) { - if (other.certificateApplyUserOrgId != null) - return false; - } - else if (!this.certificateApplyUserOrgId.equals(other.certificateApplyUserOrgId)) - return false; - if (this.isOrg == null) { - if (other.isOrg != null) - return false; - } - else if (!this.isOrg.equals(other.isOrg)) - return false; - if (this.applyType == null) { - if (other.applyType != null) - return false; - } - else if (!this.applyType.equals(other.applyType)) - return false; - if (this.checkUserId == null) { - if (other.checkUserId != null) - return false; - } - else if (!this.checkUserId.equals(other.checkUserId)) - return false; - if (this.checkUserName == null) { - if (other.checkUserName != null) - return false; - } - else if (!this.checkUserName.equals(other.checkUserName)) - return false; - if (this.checkOrgId == null) { - if (other.checkOrgId != null) - return false; - } - else if (!this.checkOrgId.equals(other.checkOrgId)) - return false; - if (this.checkOrgName == null) { - if (other.checkOrgName != null) - return false; - } - else if (!this.checkOrgName.equals(other.checkOrgName)) - return false; - if (this.checkDescribe == null) { - if (other.checkDescribe != null) - return false; - } - else if (!this.checkDescribe.equals(other.checkDescribe)) - return false; - if (this.checkStatus == null) { - if (other.checkStatus != null) - return false; - } - else if (!this.checkStatus.equals(other.checkStatus)) - return false; - if (this.checkTime == null) { - if (other.checkTime != null) - return false; - } - else if (!this.checkTime.equals(other.checkTime)) - return false; - if (this.nextCheckOrgId == null) { - if (other.nextCheckOrgId != null) - return false; - } - else if (!this.nextCheckOrgId.equals(other.nextCheckOrgId)) - return false; - if (this.nextCheckOrgName == null) { - if (other.nextCheckOrgName != null) - return false; - } - else if (!this.nextCheckOrgName.equals(other.nextCheckOrgName)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.certificateApplyId == null) ? 0 : this.certificateApplyId.hashCode()); - result = prime * result + ((this.certificateApplyUserId == null) ? 0 : this.certificateApplyUserId.hashCode()); - result = prime * result + ((this.certificateApplyUserOrgId == null) ? 0 : this.certificateApplyUserOrgId.hashCode()); - result = prime * result + ((this.isOrg == null) ? 0 : this.isOrg.hashCode()); - result = prime * result + ((this.applyType == null) ? 0 : this.applyType.hashCode()); - result = prime * result + ((this.checkUserId == null) ? 0 : this.checkUserId.hashCode()); - result = prime * result + ((this.checkUserName == null) ? 0 : this.checkUserName.hashCode()); - result = prime * result + ((this.checkOrgId == null) ? 0 : this.checkOrgId.hashCode()); - result = prime * result + ((this.checkOrgName == null) ? 0 : this.checkOrgName.hashCode()); - result = prime * result + ((this.checkDescribe == null) ? 0 : this.checkDescribe.hashCode()); - result = prime * result + ((this.checkStatus == null) ? 0 : this.checkStatus.hashCode()); - result = prime * result + ((this.checkTime == null) ? 0 : this.checkTime.hashCode()); - result = prime * result + ((this.nextCheckOrgId == null) ? 0 : this.nextCheckOrgId.hashCode()); - result = prime * result + ((this.nextCheckOrgName == null) ? 0 : this.nextCheckOrgName.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("CertificateApplyRecord ("); - - sb.append(id); - sb.append(", ").append(certificateApplyId); - sb.append(", ").append(certificateApplyUserId); - sb.append(", ").append(certificateApplyUserOrgId); - sb.append(", ").append(isOrg); - sb.append(", ").append(applyType); - sb.append(", ").append(checkUserId); - sb.append(", ").append(checkUserName); - sb.append(", ").append(checkOrgId); - sb.append(", ").append(checkOrgName); - sb.append(", ").append(checkDescribe); - sb.append(", ").append(checkStatus); - sb.append(", ").append(checkTime); - sb.append(", ").append(nextCheckOrgId); - sb.append(", ").append(nextCheckOrgName); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CertificateDetail.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CertificateDetail.java deleted file mode 100644 index 6a8737e..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CertificateDetail.java +++ /dev/null @@ -1,420 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class CertificateDetail implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String certificateApplyId; - private LocalDateTime workStartTime; - private LocalDateTime workEndTime; - private Integer status; - private String certFileContent; - private Integer isUpChain; - private String weid; - private String privateKeyHexStr; - private String x509SerialNumber; - private String x509Subject; - private String x509Issuer; - private String x509PublicKey; - private String x509SigAlgName; - - public CertificateDetail() {} - - public CertificateDetail(CertificateDetail value) { - this.id = value.id; - this.certificateApplyId = value.certificateApplyId; - this.workStartTime = value.workStartTime; - this.workEndTime = value.workEndTime; - this.status = value.status; - this.certFileContent = value.certFileContent; - this.isUpChain = value.isUpChain; - this.weid = value.weid; - this.privateKeyHexStr = value.privateKeyHexStr; - this.x509SerialNumber = value.x509SerialNumber; - this.x509Subject = value.x509Subject; - this.x509Issuer = value.x509Issuer; - this.x509PublicKey = value.x509PublicKey; - this.x509SigAlgName = value.x509SigAlgName; - } - - public CertificateDetail( - String id, - String certificateApplyId, - LocalDateTime workStartTime, - LocalDateTime workEndTime, - Integer status, - String certFileContent, - Integer isUpChain, - String weid, - String privateKeyHexStr, - String x509SerialNumber, - String x509Subject, - String x509Issuer, - String x509PublicKey, - String x509SigAlgName - ) { - this.id = id; - this.certificateApplyId = certificateApplyId; - this.workStartTime = workStartTime; - this.workEndTime = workEndTime; - this.status = status; - this.certFileContent = certFileContent; - this.isUpChain = isUpChain; - this.weid = weid; - this.privateKeyHexStr = privateKeyHexStr; - this.x509SerialNumber = x509SerialNumber; - this.x509Subject = x509Subject; - this.x509Issuer = x509Issuer; - this.x509PublicKey = x509PublicKey; - this.x509SigAlgName = x509SigAlgName; - } - - /** - * Getter for public.certificate_detail.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.certificate_detail.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.certificate_detail.certificate_apply_id. - */ - public String getCertificateApplyId() { - return this.certificateApplyId; - } - - /** - * Setter for public.certificate_detail.certificate_apply_id. - */ - public void setCertificateApplyId(String certificateApplyId) { - this.certificateApplyId = certificateApplyId; - } - - /** - * Getter for public.certificate_detail.work_start_time. - */ - public LocalDateTime getWorkStartTime() { - return this.workStartTime; - } - - /** - * Setter for public.certificate_detail.work_start_time. - */ - public void setWorkStartTime(LocalDateTime workStartTime) { - this.workStartTime = workStartTime; - } - - /** - * Getter for public.certificate_detail.work_end_time. - */ - public LocalDateTime getWorkEndTime() { - return this.workEndTime; - } - - /** - * Setter for public.certificate_detail.work_end_time. - */ - public void setWorkEndTime(LocalDateTime workEndTime) { - this.workEndTime = workEndTime; - } - - /** - * Getter for public.certificate_detail.status. - */ - public Integer getStatus() { - return this.status; - } - - /** - * Setter for public.certificate_detail.status. - */ - public void setStatus(Integer status) { - this.status = status; - } - - /** - * Getter for public.certificate_detail.cert_file_content. - */ - public String getCertFileContent() { - return this.certFileContent; - } - - /** - * Setter for public.certificate_detail.cert_file_content. - */ - public void setCertFileContent(String certFileContent) { - this.certFileContent = certFileContent; - } - - /** - * Getter for public.certificate_detail.is_up_chain. - */ - public Integer getIsUpChain() { - return this.isUpChain; - } - - /** - * Setter for public.certificate_detail.is_up_chain. - */ - public void setIsUpChain(Integer isUpChain) { - this.isUpChain = isUpChain; - } - - /** - * Getter for public.certificate_detail.weid. - */ - public String getWeid() { - return this.weid; - } - - /** - * Setter for public.certificate_detail.weid. - */ - public void setWeid(String weid) { - this.weid = weid; - } - - /** - * Getter for public.certificate_detail.private_key_hex_str. - */ - public String getPrivateKeyHexStr() { - return this.privateKeyHexStr; - } - - /** - * Setter for public.certificate_detail.private_key_hex_str. - */ - public void setPrivateKeyHexStr(String privateKeyHexStr) { - this.privateKeyHexStr = privateKeyHexStr; - } - - /** - * Getter for public.certificate_detail.x509_serial_number. - */ - public String getX509SerialNumber() { - return this.x509SerialNumber; - } - - /** - * Setter for public.certificate_detail.x509_serial_number. - */ - public void setX509SerialNumber(String x509SerialNumber) { - this.x509SerialNumber = x509SerialNumber; - } - - /** - * Getter for public.certificate_detail.x509_subject. - */ - public String getX509Subject() { - return this.x509Subject; - } - - /** - * Setter for public.certificate_detail.x509_subject. - */ - public void setX509Subject(String x509Subject) { - this.x509Subject = x509Subject; - } - - /** - * Getter for public.certificate_detail.x509_issuer. - */ - public String getX509Issuer() { - return this.x509Issuer; - } - - /** - * Setter for public.certificate_detail.x509_issuer. - */ - public void setX509Issuer(String x509Issuer) { - this.x509Issuer = x509Issuer; - } - - /** - * Getter for public.certificate_detail.x509_public_key. - */ - public String getX509PublicKey() { - return this.x509PublicKey; - } - - /** - * Setter for public.certificate_detail.x509_public_key. - */ - public void setX509PublicKey(String x509PublicKey) { - this.x509PublicKey = x509PublicKey; - } - - /** - * Getter for public.certificate_detail.x509_sig_alg_name. - */ - public String getX509SigAlgName() { - return this.x509SigAlgName; - } - - /** - * Setter for public.certificate_detail.x509_sig_alg_name. - */ - public void setX509SigAlgName(String x509SigAlgName) { - this.x509SigAlgName = x509SigAlgName; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final CertificateDetail other = (CertificateDetail) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.certificateApplyId == null) { - if (other.certificateApplyId != null) - return false; - } - else if (!this.certificateApplyId.equals(other.certificateApplyId)) - return false; - if (this.workStartTime == null) { - if (other.workStartTime != null) - return false; - } - else if (!this.workStartTime.equals(other.workStartTime)) - return false; - if (this.workEndTime == null) { - if (other.workEndTime != null) - return false; - } - else if (!this.workEndTime.equals(other.workEndTime)) - return false; - if (this.status == null) { - if (other.status != null) - return false; - } - else if (!this.status.equals(other.status)) - return false; - if (this.certFileContent == null) { - if (other.certFileContent != null) - return false; - } - else if (!this.certFileContent.equals(other.certFileContent)) - return false; - if (this.isUpChain == null) { - if (other.isUpChain != null) - return false; - } - else if (!this.isUpChain.equals(other.isUpChain)) - return false; - if (this.weid == null) { - if (other.weid != null) - return false; - } - else if (!this.weid.equals(other.weid)) - return false; - if (this.privateKeyHexStr == null) { - if (other.privateKeyHexStr != null) - return false; - } - else if (!this.privateKeyHexStr.equals(other.privateKeyHexStr)) - return false; - if (this.x509SerialNumber == null) { - if (other.x509SerialNumber != null) - return false; - } - else if (!this.x509SerialNumber.equals(other.x509SerialNumber)) - return false; - if (this.x509Subject == null) { - if (other.x509Subject != null) - return false; - } - else if (!this.x509Subject.equals(other.x509Subject)) - return false; - if (this.x509Issuer == null) { - if (other.x509Issuer != null) - return false; - } - else if (!this.x509Issuer.equals(other.x509Issuer)) - return false; - if (this.x509PublicKey == null) { - if (other.x509PublicKey != null) - return false; - } - else if (!this.x509PublicKey.equals(other.x509PublicKey)) - return false; - if (this.x509SigAlgName == null) { - if (other.x509SigAlgName != null) - return false; - } - else if (!this.x509SigAlgName.equals(other.x509SigAlgName)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.certificateApplyId == null) ? 0 : this.certificateApplyId.hashCode()); - result = prime * result + ((this.workStartTime == null) ? 0 : this.workStartTime.hashCode()); - result = prime * result + ((this.workEndTime == null) ? 0 : this.workEndTime.hashCode()); - result = prime * result + ((this.status == null) ? 0 : this.status.hashCode()); - result = prime * result + ((this.certFileContent == null) ? 0 : this.certFileContent.hashCode()); - result = prime * result + ((this.isUpChain == null) ? 0 : this.isUpChain.hashCode()); - result = prime * result + ((this.weid == null) ? 0 : this.weid.hashCode()); - result = prime * result + ((this.privateKeyHexStr == null) ? 0 : this.privateKeyHexStr.hashCode()); - result = prime * result + ((this.x509SerialNumber == null) ? 0 : this.x509SerialNumber.hashCode()); - result = prime * result + ((this.x509Subject == null) ? 0 : this.x509Subject.hashCode()); - result = prime * result + ((this.x509Issuer == null) ? 0 : this.x509Issuer.hashCode()); - result = prime * result + ((this.x509PublicKey == null) ? 0 : this.x509PublicKey.hashCode()); - result = prime * result + ((this.x509SigAlgName == null) ? 0 : this.x509SigAlgName.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("CertificateDetail ("); - - sb.append(id); - sb.append(", ").append(certificateApplyId); - sb.append(", ").append(workStartTime); - sb.append(", ").append(workEndTime); - sb.append(", ").append(status); - sb.append(", ").append(certFileContent); - sb.append(", ").append(isUpChain); - sb.append(", ").append(weid); - sb.append(", ").append(privateKeyHexStr); - sb.append(", ").append(x509SerialNumber); - sb.append(", ").append(x509Subject); - sb.append(", ").append(x509Issuer); - sb.append(", ").append(x509PublicKey); - sb.append(", ").append(x509SigAlgName); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/DecryptLog.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/DecryptLog.java deleted file mode 100644 index aa37a2c..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/DecryptLog.java +++ /dev/null @@ -1,290 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - - -/** - * 解密情况 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DecryptLog implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String weid; - private Integer contentType; - private String contentId; - private LocalDateTime decTime; - private String location; - private String sm9hibeid; - private Integer status; - private String sign; - - public DecryptLog() {} - - public DecryptLog(DecryptLog value) { - this.id = value.id; - this.weid = value.weid; - this.contentType = value.contentType; - this.contentId = value.contentId; - this.decTime = value.decTime; - this.location = value.location; - this.sm9hibeid = value.sm9hibeid; - this.status = value.status; - this.sign = value.sign; - } - - public DecryptLog( - String id, - String weid, - Integer contentType, - String contentId, - LocalDateTime decTime, - String location, - String sm9hibeid, - Integer status, - String sign - ) { - this.id = id; - this.weid = weid; - this.contentType = contentType; - this.contentId = contentId; - this.decTime = decTime; - this.location = location; - this.sm9hibeid = sm9hibeid; - this.status = status; - this.sign = sign; - } - - /** - * Getter for public.decrypt_log.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.decrypt_log.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.decrypt_log.weid. 申请人id - */ - public String getWeid() { - return this.weid; - } - - /** - * Setter for public.decrypt_log.weid. 申请人id - */ - public void setWeid(String weid) { - this.weid = weid; - } - - /** - * Getter for public.decrypt_log.content_type. 档案类型(0件/1件内文件) - */ - public Integer getContentType() { - return this.contentType; - } - - /** - * Setter for public.decrypt_log.content_type. 档案类型(0件/1件内文件) - */ - public void setContentType(Integer contentType) { - this.contentType = contentType; - } - - /** - * Getter for public.decrypt_log.content_id. 档案id - */ - public String getContentId() { - return this.contentId; - } - - /** - * Setter for public.decrypt_log.content_id. 档案id - */ - public void setContentId(String contentId) { - this.contentId = contentId; - } - - /** - * Getter for public.decrypt_log.dec_time. 解密时间 - */ - public LocalDateTime getDecTime() { - return this.decTime; - } - - /** - * Setter for public.decrypt_log.dec_time. 解密时间 - */ - public void setDecTime(LocalDateTime decTime) { - this.decTime = decTime; - } - - /** - * Getter for public.decrypt_log.location. 区域 - */ - public String getLocation() { - return this.location; - } - - /** - * Setter for public.decrypt_log.location. 区域 - */ - public void setLocation(String location) { - this.location = location; - } - - /** - * Getter for public.decrypt_log.sm9hibeid. 秘钥id - */ - public String getSm9hibeid() { - return this.sm9hibeid; - } - - /** - * Setter for public.decrypt_log.sm9hibeid. 秘钥id - */ - public void setSm9hibeid(String sm9hibeid) { - this.sm9hibeid = sm9hibeid; - } - - /** - * Getter for public.decrypt_log.status. 解密结果(0失败1成功) - */ - public Integer getStatus() { - return this.status; - } - - /** - * Setter for public.decrypt_log.status. 解密结果(0失败1成功) - */ - public void setStatus(Integer status) { - this.status = status; - } - - /** - * Getter for public.decrypt_log.sign. 数字签名 - */ - public String getSign() { - return this.sign; - } - - /** - * Setter for public.decrypt_log.sign. 数字签名 - */ - public void setSign(String sign) { - this.sign = sign; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final DecryptLog other = (DecryptLog) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.weid == null) { - if (other.weid != null) - return false; - } - else if (!this.weid.equals(other.weid)) - return false; - if (this.contentType == null) { - if (other.contentType != null) - return false; - } - else if (!this.contentType.equals(other.contentType)) - return false; - if (this.contentId == null) { - if (other.contentId != null) - return false; - } - else if (!this.contentId.equals(other.contentId)) - return false; - if (this.decTime == null) { - if (other.decTime != null) - return false; - } - else if (!this.decTime.equals(other.decTime)) - return false; - if (this.location == null) { - if (other.location != null) - return false; - } - else if (!this.location.equals(other.location)) - return false; - if (this.sm9hibeid == null) { - if (other.sm9hibeid != null) - return false; - } - else if (!this.sm9hibeid.equals(other.sm9hibeid)) - return false; - if (this.status == null) { - if (other.status != null) - return false; - } - else if (!this.status.equals(other.status)) - return false; - if (this.sign == null) { - if (other.sign != null) - return false; - } - else if (!this.sign.equals(other.sign)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.weid == null) ? 0 : this.weid.hashCode()); - result = prime * result + ((this.contentType == null) ? 0 : this.contentType.hashCode()); - result = prime * result + ((this.contentId == null) ? 0 : this.contentId.hashCode()); - result = prime * result + ((this.decTime == null) ? 0 : this.decTime.hashCode()); - result = prime * result + ((this.location == null) ? 0 : this.location.hashCode()); - result = prime * result + ((this.sm9hibeid == null) ? 0 : this.sm9hibeid.hashCode()); - result = prime * result + ((this.status == null) ? 0 : this.status.hashCode()); - result = prime * result + ((this.sign == null) ? 0 : this.sign.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("DecryptLog ("); - - sb.append(id); - sb.append(", ").append(weid); - sb.append(", ").append(contentType); - sb.append(", ").append(contentId); - sb.append(", ").append(decTime); - sb.append(", ").append(location); - sb.append(", ").append(sm9hibeid); - sb.append(", ").append(status); - sb.append(", ").append(sign); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/DownloadLog.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/DownloadLog.java deleted file mode 100644 index 0101d9a..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/DownloadLog.java +++ /dev/null @@ -1,242 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - - -/** - * 下载行为记录 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DownloadLog implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String weid; - private LocalDateTime downloadtime; - private Integer filenum; - private Integer contentType; - private String contentid; - private String sign; - - public DownloadLog() {} - - public DownloadLog(DownloadLog value) { - this.id = value.id; - this.weid = value.weid; - this.downloadtime = value.downloadtime; - this.filenum = value.filenum; - this.contentType = value.contentType; - this.contentid = value.contentid; - this.sign = value.sign; - } - - public DownloadLog( - String id, - String weid, - LocalDateTime downloadtime, - Integer filenum, - Integer contentType, - String contentid, - String sign - ) { - this.id = id; - this.weid = weid; - this.downloadtime = downloadtime; - this.filenum = filenum; - this.contentType = contentType; - this.contentid = contentid; - this.sign = sign; - } - - /** - * Getter for public.download_log.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.download_log.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.download_log.weid. weid - */ - public String getWeid() { - return this.weid; - } - - /** - * Setter for public.download_log.weid. weid - */ - public void setWeid(String weid) { - this.weid = weid; - } - - /** - * Getter for public.download_log.downloadtime. 下载时间 - */ - public LocalDateTime getDownloadtime() { - return this.downloadtime; - } - - /** - * Setter for public.download_log.downloadtime. 下载时间 - */ - public void setDownloadtime(LocalDateTime downloadtime) { - this.downloadtime = downloadtime; - } - - /** - * Getter for public.download_log.filenum. 下载文件数 - */ - public Integer getFilenum() { - return this.filenum; - } - - /** - * Setter for public.download_log.filenum. 下载文件数 - */ - public void setFilenum(Integer filenum) { - this.filenum = filenum; - } - - /** - * Getter for public.download_log.content_type. - * 下载类型(1文件包/2单个附件(SyncFile)/3单个件(DirecotryFile)) - */ - public Integer getContentType() { - return this.contentType; - } - - /** - * Setter for public.download_log.content_type. - * 下载类型(1文件包/2单个附件(SyncFile)/3单个件(DirecotryFile)) - */ - public void setContentType(Integer contentType) { - this.contentType = contentType; - } - - /** - * Getter for public.download_log.contentid. - * 下载记录ID(如果是单个文件,就取ID,如果是包,就是包内包含的文件的ID列表) - */ - public String getContentid() { - return this.contentid; - } - - /** - * Setter for public.download_log.contentid. - * 下载记录ID(如果是单个文件,就取ID,如果是包,就是包内包含的文件的ID列表) - */ - public void setContentid(String contentid) { - this.contentid = contentid; - } - - /** - * Getter for public.download_log.sign. 数字签名 - */ - public String getSign() { - return this.sign; - } - - /** - * Setter for public.download_log.sign. 数字签名 - */ - public void setSign(String sign) { - this.sign = sign; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final DownloadLog other = (DownloadLog) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.weid == null) { - if (other.weid != null) - return false; - } - else if (!this.weid.equals(other.weid)) - return false; - if (this.downloadtime == null) { - if (other.downloadtime != null) - return false; - } - else if (!this.downloadtime.equals(other.downloadtime)) - return false; - if (this.filenum == null) { - if (other.filenum != null) - return false; - } - else if (!this.filenum.equals(other.filenum)) - return false; - if (this.contentType == null) { - if (other.contentType != null) - return false; - } - else if (!this.contentType.equals(other.contentType)) - return false; - if (this.contentid == null) { - if (other.contentid != null) - return false; - } - else if (!this.contentid.equals(other.contentid)) - return false; - if (this.sign == null) { - if (other.sign != null) - return false; - } - else if (!this.sign.equals(other.sign)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.weid == null) ? 0 : this.weid.hashCode()); - result = prime * result + ((this.downloadtime == null) ? 0 : this.downloadtime.hashCode()); - result = prime * result + ((this.filenum == null) ? 0 : this.filenum.hashCode()); - result = prime * result + ((this.contentType == null) ? 0 : this.contentType.hashCode()); - result = prime * result + ((this.contentid == null) ? 0 : this.contentid.hashCode()); - result = prime * result + ((this.sign == null) ? 0 : this.sign.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("DownloadLog ("); - - sb.append(id); - sb.append(", ").append(weid); - sb.append(", ").append(downloadtime); - sb.append(", ").append(filenum); - sb.append(", ").append(contentType); - sb.append(", ").append(contentid); - sb.append(", ").append(sign); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApply.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApply.java deleted file mode 100644 index 16432e8..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApply.java +++ /dev/null @@ -1,1282 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApply implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String applyUserId; - private String applyUserName; - private String applyUserPhone; - private String applyUserEmail; - private String applyOrgId; - private String applyOrgName; - private String applyInCheckUserId; - private String applyInCheckUserName; - private String applyInCheckOrgId; - private String applyInCheckOrgName; - private String applyNextCheckOrgId; - private String applyNextCheckOrgName; - private String applyEndCheckUserId; - private String applyEndCheckUserName; - private String applyEndCheckOrgId; - private String applyEndCheckOrgName; - private Integer applyDays; - private String applyFeedback; - private String applyReason; - private String applyCancelReason; - private Integer applyViewTypePrint; - private Integer applyViewTypeOnline; - private Integer applyFileNum; - private LocalDateTime applyTime; - private Integer applyCheckIsFinish; - private String providerOrgId; - private String providerOrgName; - private Integer providerFileProperties; - private LocalDateTime providerUseStartTime; - private LocalDateTime providerUseEndTime; - private String providerInCheckUserId; - private String providerInCheckUserName; - private String providerInCheckOrgId; - private String providerInCheckOrgName; - private String providerNextCheckRoleSignId; - private String providerNextCheckRoleSignName; - private String providerEndCheckUserId; - private String providerEndCheckUserName; - private String providerEndCheckOrgId; - private String providerEndCheckOrgName; - private Integer providerCheckIsFinish; - private String secretKey; - private Integer status; - private String projectId; - private String projectName; - private String sign; - - public FilesApply() {} - - public FilesApply(FilesApply value) { - this.id = value.id; - this.applyUserId = value.applyUserId; - this.applyUserName = value.applyUserName; - this.applyUserPhone = value.applyUserPhone; - this.applyUserEmail = value.applyUserEmail; - this.applyOrgId = value.applyOrgId; - this.applyOrgName = value.applyOrgName; - this.applyInCheckUserId = value.applyInCheckUserId; - this.applyInCheckUserName = value.applyInCheckUserName; - this.applyInCheckOrgId = value.applyInCheckOrgId; - this.applyInCheckOrgName = value.applyInCheckOrgName; - this.applyNextCheckOrgId = value.applyNextCheckOrgId; - this.applyNextCheckOrgName = value.applyNextCheckOrgName; - this.applyEndCheckUserId = value.applyEndCheckUserId; - this.applyEndCheckUserName = value.applyEndCheckUserName; - this.applyEndCheckOrgId = value.applyEndCheckOrgId; - this.applyEndCheckOrgName = value.applyEndCheckOrgName; - this.applyDays = value.applyDays; - this.applyFeedback = value.applyFeedback; - this.applyReason = value.applyReason; - this.applyCancelReason = value.applyCancelReason; - this.applyViewTypePrint = value.applyViewTypePrint; - this.applyViewTypeOnline = value.applyViewTypeOnline; - this.applyFileNum = value.applyFileNum; - this.applyTime = value.applyTime; - this.applyCheckIsFinish = value.applyCheckIsFinish; - this.providerOrgId = value.providerOrgId; - this.providerOrgName = value.providerOrgName; - this.providerFileProperties = value.providerFileProperties; - this.providerUseStartTime = value.providerUseStartTime; - this.providerUseEndTime = value.providerUseEndTime; - this.providerInCheckUserId = value.providerInCheckUserId; - this.providerInCheckUserName = value.providerInCheckUserName; - this.providerInCheckOrgId = value.providerInCheckOrgId; - this.providerInCheckOrgName = value.providerInCheckOrgName; - this.providerNextCheckRoleSignId = value.providerNextCheckRoleSignId; - this.providerNextCheckRoleSignName = value.providerNextCheckRoleSignName; - this.providerEndCheckUserId = value.providerEndCheckUserId; - this.providerEndCheckUserName = value.providerEndCheckUserName; - this.providerEndCheckOrgId = value.providerEndCheckOrgId; - this.providerEndCheckOrgName = value.providerEndCheckOrgName; - this.providerCheckIsFinish = value.providerCheckIsFinish; - this.secretKey = value.secretKey; - this.status = value.status; - this.projectId = value.projectId; - this.projectName = value.projectName; - this.sign = value.sign; - } - - public FilesApply( - String id, - String applyUserId, - String applyUserName, - String applyUserPhone, - String applyUserEmail, - String applyOrgId, - String applyOrgName, - String applyInCheckUserId, - String applyInCheckUserName, - String applyInCheckOrgId, - String applyInCheckOrgName, - String applyNextCheckOrgId, - String applyNextCheckOrgName, - String applyEndCheckUserId, - String applyEndCheckUserName, - String applyEndCheckOrgId, - String applyEndCheckOrgName, - Integer applyDays, - String applyFeedback, - String applyReason, - String applyCancelReason, - Integer applyViewTypePrint, - Integer applyViewTypeOnline, - Integer applyFileNum, - LocalDateTime applyTime, - Integer applyCheckIsFinish, - String providerOrgId, - String providerOrgName, - Integer providerFileProperties, - LocalDateTime providerUseStartTime, - LocalDateTime providerUseEndTime, - String providerInCheckUserId, - String providerInCheckUserName, - String providerInCheckOrgId, - String providerInCheckOrgName, - String providerNextCheckRoleSignId, - String providerNextCheckRoleSignName, - String providerEndCheckUserId, - String providerEndCheckUserName, - String providerEndCheckOrgId, - String providerEndCheckOrgName, - Integer providerCheckIsFinish, - String secretKey, - Integer status, - String projectId, - String projectName, - String sign - ) { - this.id = id; - this.applyUserId = applyUserId; - this.applyUserName = applyUserName; - this.applyUserPhone = applyUserPhone; - this.applyUserEmail = applyUserEmail; - this.applyOrgId = applyOrgId; - this.applyOrgName = applyOrgName; - this.applyInCheckUserId = applyInCheckUserId; - this.applyInCheckUserName = applyInCheckUserName; - this.applyInCheckOrgId = applyInCheckOrgId; - this.applyInCheckOrgName = applyInCheckOrgName; - this.applyNextCheckOrgId = applyNextCheckOrgId; - this.applyNextCheckOrgName = applyNextCheckOrgName; - this.applyEndCheckUserId = applyEndCheckUserId; - this.applyEndCheckUserName = applyEndCheckUserName; - this.applyEndCheckOrgId = applyEndCheckOrgId; - this.applyEndCheckOrgName = applyEndCheckOrgName; - this.applyDays = applyDays; - this.applyFeedback = applyFeedback; - this.applyReason = applyReason; - this.applyCancelReason = applyCancelReason; - this.applyViewTypePrint = applyViewTypePrint; - this.applyViewTypeOnline = applyViewTypeOnline; - this.applyFileNum = applyFileNum; - this.applyTime = applyTime; - this.applyCheckIsFinish = applyCheckIsFinish; - this.providerOrgId = providerOrgId; - this.providerOrgName = providerOrgName; - this.providerFileProperties = providerFileProperties; - this.providerUseStartTime = providerUseStartTime; - this.providerUseEndTime = providerUseEndTime; - this.providerInCheckUserId = providerInCheckUserId; - this.providerInCheckUserName = providerInCheckUserName; - this.providerInCheckOrgId = providerInCheckOrgId; - this.providerInCheckOrgName = providerInCheckOrgName; - this.providerNextCheckRoleSignId = providerNextCheckRoleSignId; - this.providerNextCheckRoleSignName = providerNextCheckRoleSignName; - this.providerEndCheckUserId = providerEndCheckUserId; - this.providerEndCheckUserName = providerEndCheckUserName; - this.providerEndCheckOrgId = providerEndCheckOrgId; - this.providerEndCheckOrgName = providerEndCheckOrgName; - this.providerCheckIsFinish = providerCheckIsFinish; - this.secretKey = secretKey; - this.status = status; - this.projectId = projectId; - this.projectName = projectName; - this.sign = sign; - } - - /** - * Getter for public.files_apply.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.files_apply.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.files_apply.apply_user_id. - */ - public String getApplyUserId() { - return this.applyUserId; - } - - /** - * Setter for public.files_apply.apply_user_id. - */ - public void setApplyUserId(String applyUserId) { - this.applyUserId = applyUserId; - } - - /** - * Getter for public.files_apply.apply_user_name. - */ - public String getApplyUserName() { - return this.applyUserName; - } - - /** - * Setter for public.files_apply.apply_user_name. - */ - public void setApplyUserName(String applyUserName) { - this.applyUserName = applyUserName; - } - - /** - * Getter for public.files_apply.apply_user_phone. - */ - public String getApplyUserPhone() { - return this.applyUserPhone; - } - - /** - * Setter for public.files_apply.apply_user_phone. - */ - public void setApplyUserPhone(String applyUserPhone) { - this.applyUserPhone = applyUserPhone; - } - - /** - * Getter for public.files_apply.apply_user_email. - */ - public String getApplyUserEmail() { - return this.applyUserEmail; - } - - /** - * Setter for public.files_apply.apply_user_email. - */ - public void setApplyUserEmail(String applyUserEmail) { - this.applyUserEmail = applyUserEmail; - } - - /** - * Getter for public.files_apply.apply_org_id. - */ - public String getApplyOrgId() { - return this.applyOrgId; - } - - /** - * Setter for public.files_apply.apply_org_id. - */ - public void setApplyOrgId(String applyOrgId) { - this.applyOrgId = applyOrgId; - } - - /** - * Getter for public.files_apply.apply_org_name. - */ - public String getApplyOrgName() { - return this.applyOrgName; - } - - /** - * Setter for public.files_apply.apply_org_name. - */ - public void setApplyOrgName(String applyOrgName) { - this.applyOrgName = applyOrgName; - } - - /** - * Getter for public.files_apply.apply_in_check_user_id. - */ - public String getApplyInCheckUserId() { - return this.applyInCheckUserId; - } - - /** - * Setter for public.files_apply.apply_in_check_user_id. - */ - public void setApplyInCheckUserId(String applyInCheckUserId) { - this.applyInCheckUserId = applyInCheckUserId; - } - - /** - * Getter for public.files_apply.apply_in_check_user_name. - */ - public String getApplyInCheckUserName() { - return this.applyInCheckUserName; - } - - /** - * Setter for public.files_apply.apply_in_check_user_name. - */ - public void setApplyInCheckUserName(String applyInCheckUserName) { - this.applyInCheckUserName = applyInCheckUserName; - } - - /** - * Getter for public.files_apply.apply_in_check_org_id. - */ - public String getApplyInCheckOrgId() { - return this.applyInCheckOrgId; - } - - /** - * Setter for public.files_apply.apply_in_check_org_id. - */ - public void setApplyInCheckOrgId(String applyInCheckOrgId) { - this.applyInCheckOrgId = applyInCheckOrgId; - } - - /** - * Getter for public.files_apply.apply_in_check_org_name. - */ - public String getApplyInCheckOrgName() { - return this.applyInCheckOrgName; - } - - /** - * Setter for public.files_apply.apply_in_check_org_name. - */ - public void setApplyInCheckOrgName(String applyInCheckOrgName) { - this.applyInCheckOrgName = applyInCheckOrgName; - } - - /** - * Getter for public.files_apply.apply_next_check_org_id. - */ - public String getApplyNextCheckOrgId() { - return this.applyNextCheckOrgId; - } - - /** - * Setter for public.files_apply.apply_next_check_org_id. - */ - public void setApplyNextCheckOrgId(String applyNextCheckOrgId) { - this.applyNextCheckOrgId = applyNextCheckOrgId; - } - - /** - * Getter for public.files_apply.apply_next_check_org_name. - */ - public String getApplyNextCheckOrgName() { - return this.applyNextCheckOrgName; - } - - /** - * Setter for public.files_apply.apply_next_check_org_name. - */ - public void setApplyNextCheckOrgName(String applyNextCheckOrgName) { - this.applyNextCheckOrgName = applyNextCheckOrgName; - } - - /** - * Getter for public.files_apply.apply_end_check_user_id. - */ - public String getApplyEndCheckUserId() { - return this.applyEndCheckUserId; - } - - /** - * Setter for public.files_apply.apply_end_check_user_id. - */ - public void setApplyEndCheckUserId(String applyEndCheckUserId) { - this.applyEndCheckUserId = applyEndCheckUserId; - } - - /** - * Getter for public.files_apply.apply_end_check_user_name. - */ - public String getApplyEndCheckUserName() { - return this.applyEndCheckUserName; - } - - /** - * Setter for public.files_apply.apply_end_check_user_name. - */ - public void setApplyEndCheckUserName(String applyEndCheckUserName) { - this.applyEndCheckUserName = applyEndCheckUserName; - } - - /** - * Getter for public.files_apply.apply_end_check_org_id. - */ - public String getApplyEndCheckOrgId() { - return this.applyEndCheckOrgId; - } - - /** - * Setter for public.files_apply.apply_end_check_org_id. - */ - public void setApplyEndCheckOrgId(String applyEndCheckOrgId) { - this.applyEndCheckOrgId = applyEndCheckOrgId; - } - - /** - * Getter for public.files_apply.apply_end_check_org_name. - */ - public String getApplyEndCheckOrgName() { - return this.applyEndCheckOrgName; - } - - /** - * Setter for public.files_apply.apply_end_check_org_name. - */ - public void setApplyEndCheckOrgName(String applyEndCheckOrgName) { - this.applyEndCheckOrgName = applyEndCheckOrgName; - } - - /** - * Getter for public.files_apply.apply_days. - */ - public Integer getApplyDays() { - return this.applyDays; - } - - /** - * Setter for public.files_apply.apply_days. - */ - public void setApplyDays(Integer applyDays) { - this.applyDays = applyDays; - } - - /** - * Getter for public.files_apply.apply_feedback. - */ - public String getApplyFeedback() { - return this.applyFeedback; - } - - /** - * Setter for public.files_apply.apply_feedback. - */ - public void setApplyFeedback(String applyFeedback) { - this.applyFeedback = applyFeedback; - } - - /** - * Getter for public.files_apply.apply_reason. - */ - public String getApplyReason() { - return this.applyReason; - } - - /** - * Setter for public.files_apply.apply_reason. - */ - public void setApplyReason(String applyReason) { - this.applyReason = applyReason; - } - - /** - * Getter for public.files_apply.apply_cancel_reason. - */ - public String getApplyCancelReason() { - return this.applyCancelReason; - } - - /** - * Setter for public.files_apply.apply_cancel_reason. - */ - public void setApplyCancelReason(String applyCancelReason) { - this.applyCancelReason = applyCancelReason; - } - - /** - * Getter for public.files_apply.apply_view_type_print. - */ - public Integer getApplyViewTypePrint() { - return this.applyViewTypePrint; - } - - /** - * Setter for public.files_apply.apply_view_type_print. - */ - public void setApplyViewTypePrint(Integer applyViewTypePrint) { - this.applyViewTypePrint = applyViewTypePrint; - } - - /** - * Getter for public.files_apply.apply_view_type_online. - */ - public Integer getApplyViewTypeOnline() { - return this.applyViewTypeOnline; - } - - /** - * Setter for public.files_apply.apply_view_type_online. - */ - public void setApplyViewTypeOnline(Integer applyViewTypeOnline) { - this.applyViewTypeOnline = applyViewTypeOnline; - } - - /** - * Getter for public.files_apply.apply_file_num. - */ - public Integer getApplyFileNum() { - return this.applyFileNum; - } - - /** - * Setter for public.files_apply.apply_file_num. - */ - public void setApplyFileNum(Integer applyFileNum) { - this.applyFileNum = applyFileNum; - } - - /** - * Getter for public.files_apply.apply_time. - */ - public LocalDateTime getApplyTime() { - return this.applyTime; - } - - /** - * Setter for public.files_apply.apply_time. - */ - public void setApplyTime(LocalDateTime applyTime) { - this.applyTime = applyTime; - } - - /** - * Getter for public.files_apply.apply_check_is_finish. - */ - public Integer getApplyCheckIsFinish() { - return this.applyCheckIsFinish; - } - - /** - * Setter for public.files_apply.apply_check_is_finish. - */ - public void setApplyCheckIsFinish(Integer applyCheckIsFinish) { - this.applyCheckIsFinish = applyCheckIsFinish; - } - - /** - * Getter for public.files_apply.provider_org_id. - */ - public String getProviderOrgId() { - return this.providerOrgId; - } - - /** - * Setter for public.files_apply.provider_org_id. - */ - public void setProviderOrgId(String providerOrgId) { - this.providerOrgId = providerOrgId; - } - - /** - * Getter for public.files_apply.provider_org_name. - */ - public String getProviderOrgName() { - return this.providerOrgName; - } - - /** - * Setter for public.files_apply.provider_org_name. - */ - public void setProviderOrgName(String providerOrgName) { - this.providerOrgName = providerOrgName; - } - - /** - * Getter for public.files_apply.provider_file_properties. - */ - public Integer getProviderFileProperties() { - return this.providerFileProperties; - } - - /** - * Setter for public.files_apply.provider_file_properties. - */ - public void setProviderFileProperties(Integer providerFileProperties) { - this.providerFileProperties = providerFileProperties; - } - - /** - * Getter for public.files_apply.provider_use_start_time. - */ - public LocalDateTime getProviderUseStartTime() { - return this.providerUseStartTime; - } - - /** - * Setter for public.files_apply.provider_use_start_time. - */ - public void setProviderUseStartTime(LocalDateTime providerUseStartTime) { - this.providerUseStartTime = providerUseStartTime; - } - - /** - * Getter for public.files_apply.provider_use_end_time. - */ - public LocalDateTime getProviderUseEndTime() { - return this.providerUseEndTime; - } - - /** - * Setter for public.files_apply.provider_use_end_time. - */ - public void setProviderUseEndTime(LocalDateTime providerUseEndTime) { - this.providerUseEndTime = providerUseEndTime; - } - - /** - * Getter for public.files_apply.provider_in_check_user_id. - */ - public String getProviderInCheckUserId() { - return this.providerInCheckUserId; - } - - /** - * Setter for public.files_apply.provider_in_check_user_id. - */ - public void setProviderInCheckUserId(String providerInCheckUserId) { - this.providerInCheckUserId = providerInCheckUserId; - } - - /** - * Getter for public.files_apply.provider_in_check_user_name. - */ - public String getProviderInCheckUserName() { - return this.providerInCheckUserName; - } - - /** - * Setter for public.files_apply.provider_in_check_user_name. - */ - public void setProviderInCheckUserName(String providerInCheckUserName) { - this.providerInCheckUserName = providerInCheckUserName; - } - - /** - * Getter for public.files_apply.provider_in_check_org_id. - */ - public String getProviderInCheckOrgId() { - return this.providerInCheckOrgId; - } - - /** - * Setter for public.files_apply.provider_in_check_org_id. - */ - public void setProviderInCheckOrgId(String providerInCheckOrgId) { - this.providerInCheckOrgId = providerInCheckOrgId; - } - - /** - * Getter for public.files_apply.provider_in_check_org_name. - */ - public String getProviderInCheckOrgName() { - return this.providerInCheckOrgName; - } - - /** - * Setter for public.files_apply.provider_in_check_org_name. - */ - public void setProviderInCheckOrgName(String providerInCheckOrgName) { - this.providerInCheckOrgName = providerInCheckOrgName; - } - - /** - * Getter for - * public.files_apply.provider_next_check_role_sign_id. - */ - public String getProviderNextCheckRoleSignId() { - return this.providerNextCheckRoleSignId; - } - - /** - * Setter for - * public.files_apply.provider_next_check_role_sign_id. - */ - public void setProviderNextCheckRoleSignId(String providerNextCheckRoleSignId) { - this.providerNextCheckRoleSignId = providerNextCheckRoleSignId; - } - - /** - * Getter for - * public.files_apply.provider_next_check_role_sign_name. - */ - public String getProviderNextCheckRoleSignName() { - return this.providerNextCheckRoleSignName; - } - - /** - * Setter for - * public.files_apply.provider_next_check_role_sign_name. - */ - public void setProviderNextCheckRoleSignName(String providerNextCheckRoleSignName) { - this.providerNextCheckRoleSignName = providerNextCheckRoleSignName; - } - - /** - * Getter for public.files_apply.provider_end_check_user_id. - */ - public String getProviderEndCheckUserId() { - return this.providerEndCheckUserId; - } - - /** - * Setter for public.files_apply.provider_end_check_user_id. - */ - public void setProviderEndCheckUserId(String providerEndCheckUserId) { - this.providerEndCheckUserId = providerEndCheckUserId; - } - - /** - * Getter for public.files_apply.provider_end_check_user_name. - */ - public String getProviderEndCheckUserName() { - return this.providerEndCheckUserName; - } - - /** - * Setter for public.files_apply.provider_end_check_user_name. - */ - public void setProviderEndCheckUserName(String providerEndCheckUserName) { - this.providerEndCheckUserName = providerEndCheckUserName; - } - - /** - * Getter for public.files_apply.provider_end_check_org_id. - */ - public String getProviderEndCheckOrgId() { - return this.providerEndCheckOrgId; - } - - /** - * Setter for public.files_apply.provider_end_check_org_id. - */ - public void setProviderEndCheckOrgId(String providerEndCheckOrgId) { - this.providerEndCheckOrgId = providerEndCheckOrgId; - } - - /** - * Getter for public.files_apply.provider_end_check_org_name. - */ - public String getProviderEndCheckOrgName() { - return this.providerEndCheckOrgName; - } - - /** - * Setter for public.files_apply.provider_end_check_org_name. - */ - public void setProviderEndCheckOrgName(String providerEndCheckOrgName) { - this.providerEndCheckOrgName = providerEndCheckOrgName; - } - - /** - * Getter for public.files_apply.provider_check_is_finish. - */ - public Integer getProviderCheckIsFinish() { - return this.providerCheckIsFinish; - } - - /** - * Setter for public.files_apply.provider_check_is_finish. - */ - public void setProviderCheckIsFinish(Integer providerCheckIsFinish) { - this.providerCheckIsFinish = providerCheckIsFinish; - } - - /** - * Getter for public.files_apply.secret_key. - */ - public String getSecretKey() { - return this.secretKey; - } - - /** - * Setter for public.files_apply.secret_key. - */ - public void setSecretKey(String secretKey) { - this.secretKey = secretKey; - } - - /** - * Getter for public.files_apply.status. - */ - public Integer getStatus() { - return this.status; - } - - /** - * Setter for public.files_apply.status. - */ - public void setStatus(Integer status) { - this.status = status; - } - - /** - * Getter for public.files_apply.project_id. - */ - public String getProjectId() { - return this.projectId; - } - - /** - * Setter for public.files_apply.project_id. - */ - public void setProjectId(String projectId) { - this.projectId = projectId; - } - - /** - * Getter for public.files_apply.project_name. - */ - public String getProjectName() { - return this.projectName; - } - - /** - * Setter for public.files_apply.project_name. - */ - public void setProjectName(String projectName) { - this.projectName = projectName; - } - - /** - * Getter for public.files_apply.sign. 签名 - */ - public String getSign() { - return this.sign; - } - - /** - * Setter for public.files_apply.sign. 签名 - */ - public void setSign(String sign) { - this.sign = sign; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final FilesApply other = (FilesApply) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.applyUserId == null) { - if (other.applyUserId != null) - return false; - } - else if (!this.applyUserId.equals(other.applyUserId)) - return false; - if (this.applyUserName == null) { - if (other.applyUserName != null) - return false; - } - else if (!this.applyUserName.equals(other.applyUserName)) - return false; - if (this.applyUserPhone == null) { - if (other.applyUserPhone != null) - return false; - } - else if (!this.applyUserPhone.equals(other.applyUserPhone)) - return false; - if (this.applyUserEmail == null) { - if (other.applyUserEmail != null) - return false; - } - else if (!this.applyUserEmail.equals(other.applyUserEmail)) - return false; - if (this.applyOrgId == null) { - if (other.applyOrgId != null) - return false; - } - else if (!this.applyOrgId.equals(other.applyOrgId)) - return false; - if (this.applyOrgName == null) { - if (other.applyOrgName != null) - return false; - } - else if (!this.applyOrgName.equals(other.applyOrgName)) - return false; - if (this.applyInCheckUserId == null) { - if (other.applyInCheckUserId != null) - return false; - } - else if (!this.applyInCheckUserId.equals(other.applyInCheckUserId)) - return false; - if (this.applyInCheckUserName == null) { - if (other.applyInCheckUserName != null) - return false; - } - else if (!this.applyInCheckUserName.equals(other.applyInCheckUserName)) - return false; - if (this.applyInCheckOrgId == null) { - if (other.applyInCheckOrgId != null) - return false; - } - else if (!this.applyInCheckOrgId.equals(other.applyInCheckOrgId)) - return false; - if (this.applyInCheckOrgName == null) { - if (other.applyInCheckOrgName != null) - return false; - } - else if (!this.applyInCheckOrgName.equals(other.applyInCheckOrgName)) - return false; - if (this.applyNextCheckOrgId == null) { - if (other.applyNextCheckOrgId != null) - return false; - } - else if (!this.applyNextCheckOrgId.equals(other.applyNextCheckOrgId)) - return false; - if (this.applyNextCheckOrgName == null) { - if (other.applyNextCheckOrgName != null) - return false; - } - else if (!this.applyNextCheckOrgName.equals(other.applyNextCheckOrgName)) - return false; - if (this.applyEndCheckUserId == null) { - if (other.applyEndCheckUserId != null) - return false; - } - else if (!this.applyEndCheckUserId.equals(other.applyEndCheckUserId)) - return false; - if (this.applyEndCheckUserName == null) { - if (other.applyEndCheckUserName != null) - return false; - } - else if (!this.applyEndCheckUserName.equals(other.applyEndCheckUserName)) - return false; - if (this.applyEndCheckOrgId == null) { - if (other.applyEndCheckOrgId != null) - return false; - } - else if (!this.applyEndCheckOrgId.equals(other.applyEndCheckOrgId)) - return false; - if (this.applyEndCheckOrgName == null) { - if (other.applyEndCheckOrgName != null) - return false; - } - else if (!this.applyEndCheckOrgName.equals(other.applyEndCheckOrgName)) - return false; - if (this.applyDays == null) { - if (other.applyDays != null) - return false; - } - else if (!this.applyDays.equals(other.applyDays)) - return false; - if (this.applyFeedback == null) { - if (other.applyFeedback != null) - return false; - } - else if (!this.applyFeedback.equals(other.applyFeedback)) - return false; - if (this.applyReason == null) { - if (other.applyReason != null) - return false; - } - else if (!this.applyReason.equals(other.applyReason)) - return false; - if (this.applyCancelReason == null) { - if (other.applyCancelReason != null) - return false; - } - else if (!this.applyCancelReason.equals(other.applyCancelReason)) - return false; - if (this.applyViewTypePrint == null) { - if (other.applyViewTypePrint != null) - return false; - } - else if (!this.applyViewTypePrint.equals(other.applyViewTypePrint)) - return false; - if (this.applyViewTypeOnline == null) { - if (other.applyViewTypeOnline != null) - return false; - } - else if (!this.applyViewTypeOnline.equals(other.applyViewTypeOnline)) - return false; - if (this.applyFileNum == null) { - if (other.applyFileNum != null) - return false; - } - else if (!this.applyFileNum.equals(other.applyFileNum)) - return false; - if (this.applyTime == null) { - if (other.applyTime != null) - return false; - } - else if (!this.applyTime.equals(other.applyTime)) - return false; - if (this.applyCheckIsFinish == null) { - if (other.applyCheckIsFinish != null) - return false; - } - else if (!this.applyCheckIsFinish.equals(other.applyCheckIsFinish)) - return false; - if (this.providerOrgId == null) { - if (other.providerOrgId != null) - return false; - } - else if (!this.providerOrgId.equals(other.providerOrgId)) - return false; - if (this.providerOrgName == null) { - if (other.providerOrgName != null) - return false; - } - else if (!this.providerOrgName.equals(other.providerOrgName)) - return false; - if (this.providerFileProperties == null) { - if (other.providerFileProperties != null) - return false; - } - else if (!this.providerFileProperties.equals(other.providerFileProperties)) - return false; - if (this.providerUseStartTime == null) { - if (other.providerUseStartTime != null) - return false; - } - else if (!this.providerUseStartTime.equals(other.providerUseStartTime)) - return false; - if (this.providerUseEndTime == null) { - if (other.providerUseEndTime != null) - return false; - } - else if (!this.providerUseEndTime.equals(other.providerUseEndTime)) - return false; - if (this.providerInCheckUserId == null) { - if (other.providerInCheckUserId != null) - return false; - } - else if (!this.providerInCheckUserId.equals(other.providerInCheckUserId)) - return false; - if (this.providerInCheckUserName == null) { - if (other.providerInCheckUserName != null) - return false; - } - else if (!this.providerInCheckUserName.equals(other.providerInCheckUserName)) - return false; - if (this.providerInCheckOrgId == null) { - if (other.providerInCheckOrgId != null) - return false; - } - else if (!this.providerInCheckOrgId.equals(other.providerInCheckOrgId)) - return false; - if (this.providerInCheckOrgName == null) { - if (other.providerInCheckOrgName != null) - return false; - } - else if (!this.providerInCheckOrgName.equals(other.providerInCheckOrgName)) - return false; - if (this.providerNextCheckRoleSignId == null) { - if (other.providerNextCheckRoleSignId != null) - return false; - } - else if (!this.providerNextCheckRoleSignId.equals(other.providerNextCheckRoleSignId)) - return false; - if (this.providerNextCheckRoleSignName == null) { - if (other.providerNextCheckRoleSignName != null) - return false; - } - else if (!this.providerNextCheckRoleSignName.equals(other.providerNextCheckRoleSignName)) - return false; - if (this.providerEndCheckUserId == null) { - if (other.providerEndCheckUserId != null) - return false; - } - else if (!this.providerEndCheckUserId.equals(other.providerEndCheckUserId)) - return false; - if (this.providerEndCheckUserName == null) { - if (other.providerEndCheckUserName != null) - return false; - } - else if (!this.providerEndCheckUserName.equals(other.providerEndCheckUserName)) - return false; - if (this.providerEndCheckOrgId == null) { - if (other.providerEndCheckOrgId != null) - return false; - } - else if (!this.providerEndCheckOrgId.equals(other.providerEndCheckOrgId)) - return false; - if (this.providerEndCheckOrgName == null) { - if (other.providerEndCheckOrgName != null) - return false; - } - else if (!this.providerEndCheckOrgName.equals(other.providerEndCheckOrgName)) - return false; - if (this.providerCheckIsFinish == null) { - if (other.providerCheckIsFinish != null) - return false; - } - else if (!this.providerCheckIsFinish.equals(other.providerCheckIsFinish)) - return false; - if (this.secretKey == null) { - if (other.secretKey != null) - return false; - } - else if (!this.secretKey.equals(other.secretKey)) - return false; - if (this.status == null) { - if (other.status != null) - return false; - } - else if (!this.status.equals(other.status)) - return false; - if (this.projectId == null) { - if (other.projectId != null) - return false; - } - else if (!this.projectId.equals(other.projectId)) - return false; - if (this.projectName == null) { - if (other.projectName != null) - return false; - } - else if (!this.projectName.equals(other.projectName)) - return false; - if (this.sign == null) { - if (other.sign != null) - return false; - } - else if (!this.sign.equals(other.sign)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.applyUserId == null) ? 0 : this.applyUserId.hashCode()); - result = prime * result + ((this.applyUserName == null) ? 0 : this.applyUserName.hashCode()); - result = prime * result + ((this.applyUserPhone == null) ? 0 : this.applyUserPhone.hashCode()); - result = prime * result + ((this.applyUserEmail == null) ? 0 : this.applyUserEmail.hashCode()); - result = prime * result + ((this.applyOrgId == null) ? 0 : this.applyOrgId.hashCode()); - result = prime * result + ((this.applyOrgName == null) ? 0 : this.applyOrgName.hashCode()); - result = prime * result + ((this.applyInCheckUserId == null) ? 0 : this.applyInCheckUserId.hashCode()); - result = prime * result + ((this.applyInCheckUserName == null) ? 0 : this.applyInCheckUserName.hashCode()); - result = prime * result + ((this.applyInCheckOrgId == null) ? 0 : this.applyInCheckOrgId.hashCode()); - result = prime * result + ((this.applyInCheckOrgName == null) ? 0 : this.applyInCheckOrgName.hashCode()); - result = prime * result + ((this.applyNextCheckOrgId == null) ? 0 : this.applyNextCheckOrgId.hashCode()); - result = prime * result + ((this.applyNextCheckOrgName == null) ? 0 : this.applyNextCheckOrgName.hashCode()); - result = prime * result + ((this.applyEndCheckUserId == null) ? 0 : this.applyEndCheckUserId.hashCode()); - result = prime * result + ((this.applyEndCheckUserName == null) ? 0 : this.applyEndCheckUserName.hashCode()); - result = prime * result + ((this.applyEndCheckOrgId == null) ? 0 : this.applyEndCheckOrgId.hashCode()); - result = prime * result + ((this.applyEndCheckOrgName == null) ? 0 : this.applyEndCheckOrgName.hashCode()); - result = prime * result + ((this.applyDays == null) ? 0 : this.applyDays.hashCode()); - result = prime * result + ((this.applyFeedback == null) ? 0 : this.applyFeedback.hashCode()); - result = prime * result + ((this.applyReason == null) ? 0 : this.applyReason.hashCode()); - result = prime * result + ((this.applyCancelReason == null) ? 0 : this.applyCancelReason.hashCode()); - result = prime * result + ((this.applyViewTypePrint == null) ? 0 : this.applyViewTypePrint.hashCode()); - result = prime * result + ((this.applyViewTypeOnline == null) ? 0 : this.applyViewTypeOnline.hashCode()); - result = prime * result + ((this.applyFileNum == null) ? 0 : this.applyFileNum.hashCode()); - result = prime * result + ((this.applyTime == null) ? 0 : this.applyTime.hashCode()); - result = prime * result + ((this.applyCheckIsFinish == null) ? 0 : this.applyCheckIsFinish.hashCode()); - result = prime * result + ((this.providerOrgId == null) ? 0 : this.providerOrgId.hashCode()); - result = prime * result + ((this.providerOrgName == null) ? 0 : this.providerOrgName.hashCode()); - result = prime * result + ((this.providerFileProperties == null) ? 0 : this.providerFileProperties.hashCode()); - result = prime * result + ((this.providerUseStartTime == null) ? 0 : this.providerUseStartTime.hashCode()); - result = prime * result + ((this.providerUseEndTime == null) ? 0 : this.providerUseEndTime.hashCode()); - result = prime * result + ((this.providerInCheckUserId == null) ? 0 : this.providerInCheckUserId.hashCode()); - result = prime * result + ((this.providerInCheckUserName == null) ? 0 : this.providerInCheckUserName.hashCode()); - result = prime * result + ((this.providerInCheckOrgId == null) ? 0 : this.providerInCheckOrgId.hashCode()); - result = prime * result + ((this.providerInCheckOrgName == null) ? 0 : this.providerInCheckOrgName.hashCode()); - result = prime * result + ((this.providerNextCheckRoleSignId == null) ? 0 : this.providerNextCheckRoleSignId.hashCode()); - result = prime * result + ((this.providerNextCheckRoleSignName == null) ? 0 : this.providerNextCheckRoleSignName.hashCode()); - result = prime * result + ((this.providerEndCheckUserId == null) ? 0 : this.providerEndCheckUserId.hashCode()); - result = prime * result + ((this.providerEndCheckUserName == null) ? 0 : this.providerEndCheckUserName.hashCode()); - result = prime * result + ((this.providerEndCheckOrgId == null) ? 0 : this.providerEndCheckOrgId.hashCode()); - result = prime * result + ((this.providerEndCheckOrgName == null) ? 0 : this.providerEndCheckOrgName.hashCode()); - result = prime * result + ((this.providerCheckIsFinish == null) ? 0 : this.providerCheckIsFinish.hashCode()); - result = prime * result + ((this.secretKey == null) ? 0 : this.secretKey.hashCode()); - result = prime * result + ((this.status == null) ? 0 : this.status.hashCode()); - result = prime * result + ((this.projectId == null) ? 0 : this.projectId.hashCode()); - result = prime * result + ((this.projectName == null) ? 0 : this.projectName.hashCode()); - result = prime * result + ((this.sign == null) ? 0 : this.sign.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("FilesApply ("); - - sb.append(id); - sb.append(", ").append(applyUserId); - sb.append(", ").append(applyUserName); - sb.append(", ").append(applyUserPhone); - sb.append(", ").append(applyUserEmail); - sb.append(", ").append(applyOrgId); - sb.append(", ").append(applyOrgName); - sb.append(", ").append(applyInCheckUserId); - sb.append(", ").append(applyInCheckUserName); - sb.append(", ").append(applyInCheckOrgId); - sb.append(", ").append(applyInCheckOrgName); - sb.append(", ").append(applyNextCheckOrgId); - sb.append(", ").append(applyNextCheckOrgName); - sb.append(", ").append(applyEndCheckUserId); - sb.append(", ").append(applyEndCheckUserName); - sb.append(", ").append(applyEndCheckOrgId); - sb.append(", ").append(applyEndCheckOrgName); - sb.append(", ").append(applyDays); - sb.append(", ").append(applyFeedback); - sb.append(", ").append(applyReason); - sb.append(", ").append(applyCancelReason); - sb.append(", ").append(applyViewTypePrint); - sb.append(", ").append(applyViewTypeOnline); - sb.append(", ").append(applyFileNum); - sb.append(", ").append(applyTime); - sb.append(", ").append(applyCheckIsFinish); - sb.append(", ").append(providerOrgId); - sb.append(", ").append(providerOrgName); - sb.append(", ").append(providerFileProperties); - sb.append(", ").append(providerUseStartTime); - sb.append(", ").append(providerUseEndTime); - sb.append(", ").append(providerInCheckUserId); - sb.append(", ").append(providerInCheckUserName); - sb.append(", ").append(providerInCheckOrgId); - sb.append(", ").append(providerInCheckOrgName); - sb.append(", ").append(providerNextCheckRoleSignId); - sb.append(", ").append(providerNextCheckRoleSignName); - sb.append(", ").append(providerEndCheckUserId); - sb.append(", ").append(providerEndCheckUserName); - sb.append(", ").append(providerEndCheckOrgId); - sb.append(", ").append(providerEndCheckOrgName); - sb.append(", ").append(providerCheckIsFinish); - sb.append(", ").append(secretKey); - sb.append(", ").append(status); - sb.append(", ").append(projectId); - sb.append(", ").append(projectName); - sb.append(", ").append(sign); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyCheckRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyCheckRecord.java deleted file mode 100644 index 2b538aa..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyCheckRecord.java +++ /dev/null @@ -1,456 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyCheckRecord implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String filesApplyId; - private Integer isApplyProvider; - private String checkUserId; - private String checkUserName; - private String checkOrgId; - private String checkOrgName; - private String nextCheckOrgId; - private String nextCheckOrgName; - private String checkDescribe; - private Integer checkStatus; - private LocalDateTime checkTime; - private String providerNextCheckRoleSignId; - private String providerNextCheckRoleSignName; - private String sign; - - public FilesApplyCheckRecord() {} - - public FilesApplyCheckRecord(FilesApplyCheckRecord value) { - this.id = value.id; - this.filesApplyId = value.filesApplyId; - this.isApplyProvider = value.isApplyProvider; - this.checkUserId = value.checkUserId; - this.checkUserName = value.checkUserName; - this.checkOrgId = value.checkOrgId; - this.checkOrgName = value.checkOrgName; - this.nextCheckOrgId = value.nextCheckOrgId; - this.nextCheckOrgName = value.nextCheckOrgName; - this.checkDescribe = value.checkDescribe; - this.checkStatus = value.checkStatus; - this.checkTime = value.checkTime; - this.providerNextCheckRoleSignId = value.providerNextCheckRoleSignId; - this.providerNextCheckRoleSignName = value.providerNextCheckRoleSignName; - this.sign = value.sign; - } - - public FilesApplyCheckRecord( - String id, - String filesApplyId, - Integer isApplyProvider, - String checkUserId, - String checkUserName, - String checkOrgId, - String checkOrgName, - String nextCheckOrgId, - String nextCheckOrgName, - String checkDescribe, - Integer checkStatus, - LocalDateTime checkTime, - String providerNextCheckRoleSignId, - String providerNextCheckRoleSignName, - String sign - ) { - this.id = id; - this.filesApplyId = filesApplyId; - this.isApplyProvider = isApplyProvider; - this.checkUserId = checkUserId; - this.checkUserName = checkUserName; - this.checkOrgId = checkOrgId; - this.checkOrgName = checkOrgName; - this.nextCheckOrgId = nextCheckOrgId; - this.nextCheckOrgName = nextCheckOrgName; - this.checkDescribe = checkDescribe; - this.checkStatus = checkStatus; - this.checkTime = checkTime; - this.providerNextCheckRoleSignId = providerNextCheckRoleSignId; - this.providerNextCheckRoleSignName = providerNextCheckRoleSignName; - this.sign = sign; - } - - /** - * Getter for public.files_apply_check_record.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.files_apply_check_record.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.files_apply_check_record.files_apply_id. - */ - public String getFilesApplyId() { - return this.filesApplyId; - } - - /** - * Setter for public.files_apply_check_record.files_apply_id. - */ - public void setFilesApplyId(String filesApplyId) { - this.filesApplyId = filesApplyId; - } - - /** - * Getter for - * public.files_apply_check_record.is_apply_provider. - */ - public Integer getIsApplyProvider() { - return this.isApplyProvider; - } - - /** - * Setter for - * public.files_apply_check_record.is_apply_provider. - */ - public void setIsApplyProvider(Integer isApplyProvider) { - this.isApplyProvider = isApplyProvider; - } - - /** - * Getter for public.files_apply_check_record.check_user_id. - */ - public String getCheckUserId() { - return this.checkUserId; - } - - /** - * Setter for public.files_apply_check_record.check_user_id. - */ - public void setCheckUserId(String checkUserId) { - this.checkUserId = checkUserId; - } - - /** - * Getter for public.files_apply_check_record.check_user_name. - */ - public String getCheckUserName() { - return this.checkUserName; - } - - /** - * Setter for public.files_apply_check_record.check_user_name. - */ - public void setCheckUserName(String checkUserName) { - this.checkUserName = checkUserName; - } - - /** - * Getter for public.files_apply_check_record.check_org_id. - */ - public String getCheckOrgId() { - return this.checkOrgId; - } - - /** - * Setter for public.files_apply_check_record.check_org_id. - */ - public void setCheckOrgId(String checkOrgId) { - this.checkOrgId = checkOrgId; - } - - /** - * Getter for public.files_apply_check_record.check_org_name. - */ - public String getCheckOrgName() { - return this.checkOrgName; - } - - /** - * Setter for public.files_apply_check_record.check_org_name. - */ - public void setCheckOrgName(String checkOrgName) { - this.checkOrgName = checkOrgName; - } - - /** - * Getter for - * public.files_apply_check_record.next_check_org_id. - */ - public String getNextCheckOrgId() { - return this.nextCheckOrgId; - } - - /** - * Setter for - * public.files_apply_check_record.next_check_org_id. - */ - public void setNextCheckOrgId(String nextCheckOrgId) { - this.nextCheckOrgId = nextCheckOrgId; - } - - /** - * Getter for - * public.files_apply_check_record.next_check_org_name. - */ - public String getNextCheckOrgName() { - return this.nextCheckOrgName; - } - - /** - * Setter for - * public.files_apply_check_record.next_check_org_name. - */ - public void setNextCheckOrgName(String nextCheckOrgName) { - this.nextCheckOrgName = nextCheckOrgName; - } - - /** - * Getter for public.files_apply_check_record.check_describe. - */ - public String getCheckDescribe() { - return this.checkDescribe; - } - - /** - * Setter for public.files_apply_check_record.check_describe. - */ - public void setCheckDescribe(String checkDescribe) { - this.checkDescribe = checkDescribe; - } - - /** - * Getter for public.files_apply_check_record.check_status. - */ - public Integer getCheckStatus() { - return this.checkStatus; - } - - /** - * Setter for public.files_apply_check_record.check_status. - */ - public void setCheckStatus(Integer checkStatus) { - this.checkStatus = checkStatus; - } - - /** - * Getter for public.files_apply_check_record.check_time. - */ - public LocalDateTime getCheckTime() { - return this.checkTime; - } - - /** - * Setter for public.files_apply_check_record.check_time. - */ - public void setCheckTime(LocalDateTime checkTime) { - this.checkTime = checkTime; - } - - /** - * Getter for - * public.files_apply_check_record.provider_next_check_role_sign_id. - */ - public String getProviderNextCheckRoleSignId() { - return this.providerNextCheckRoleSignId; - } - - /** - * Setter for - * public.files_apply_check_record.provider_next_check_role_sign_id. - */ - public void setProviderNextCheckRoleSignId(String providerNextCheckRoleSignId) { - this.providerNextCheckRoleSignId = providerNextCheckRoleSignId; - } - - /** - * Getter for - * public.files_apply_check_record.provider_next_check_role_sign_name. - */ - public String getProviderNextCheckRoleSignName() { - return this.providerNextCheckRoleSignName; - } - - /** - * Setter for - * public.files_apply_check_record.provider_next_check_role_sign_name. - */ - public void setProviderNextCheckRoleSignName(String providerNextCheckRoleSignName) { - this.providerNextCheckRoleSignName = providerNextCheckRoleSignName; - } - - /** - * Getter for public.files_apply_check_record.sign. - */ - public String getSign() { - return this.sign; - } - - /** - * Setter for public.files_apply_check_record.sign. - */ - public void setSign(String sign) { - this.sign = sign; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final FilesApplyCheckRecord other = (FilesApplyCheckRecord) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.filesApplyId == null) { - if (other.filesApplyId != null) - return false; - } - else if (!this.filesApplyId.equals(other.filesApplyId)) - return false; - if (this.isApplyProvider == null) { - if (other.isApplyProvider != null) - return false; - } - else if (!this.isApplyProvider.equals(other.isApplyProvider)) - return false; - if (this.checkUserId == null) { - if (other.checkUserId != null) - return false; - } - else if (!this.checkUserId.equals(other.checkUserId)) - return false; - if (this.checkUserName == null) { - if (other.checkUserName != null) - return false; - } - else if (!this.checkUserName.equals(other.checkUserName)) - return false; - if (this.checkOrgId == null) { - if (other.checkOrgId != null) - return false; - } - else if (!this.checkOrgId.equals(other.checkOrgId)) - return false; - if (this.checkOrgName == null) { - if (other.checkOrgName != null) - return false; - } - else if (!this.checkOrgName.equals(other.checkOrgName)) - return false; - if (this.nextCheckOrgId == null) { - if (other.nextCheckOrgId != null) - return false; - } - else if (!this.nextCheckOrgId.equals(other.nextCheckOrgId)) - return false; - if (this.nextCheckOrgName == null) { - if (other.nextCheckOrgName != null) - return false; - } - else if (!this.nextCheckOrgName.equals(other.nextCheckOrgName)) - return false; - if (this.checkDescribe == null) { - if (other.checkDescribe != null) - return false; - } - else if (!this.checkDescribe.equals(other.checkDescribe)) - return false; - if (this.checkStatus == null) { - if (other.checkStatus != null) - return false; - } - else if (!this.checkStatus.equals(other.checkStatus)) - return false; - if (this.checkTime == null) { - if (other.checkTime != null) - return false; - } - else if (!this.checkTime.equals(other.checkTime)) - return false; - if (this.providerNextCheckRoleSignId == null) { - if (other.providerNextCheckRoleSignId != null) - return false; - } - else if (!this.providerNextCheckRoleSignId.equals(other.providerNextCheckRoleSignId)) - return false; - if (this.providerNextCheckRoleSignName == null) { - if (other.providerNextCheckRoleSignName != null) - return false; - } - else if (!this.providerNextCheckRoleSignName.equals(other.providerNextCheckRoleSignName)) - return false; - if (this.sign == null) { - if (other.sign != null) - return false; - } - else if (!this.sign.equals(other.sign)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.filesApplyId == null) ? 0 : this.filesApplyId.hashCode()); - result = prime * result + ((this.isApplyProvider == null) ? 0 : this.isApplyProvider.hashCode()); - result = prime * result + ((this.checkUserId == null) ? 0 : this.checkUserId.hashCode()); - result = prime * result + ((this.checkUserName == null) ? 0 : this.checkUserName.hashCode()); - result = prime * result + ((this.checkOrgId == null) ? 0 : this.checkOrgId.hashCode()); - result = prime * result + ((this.checkOrgName == null) ? 0 : this.checkOrgName.hashCode()); - result = prime * result + ((this.nextCheckOrgId == null) ? 0 : this.nextCheckOrgId.hashCode()); - result = prime * result + ((this.nextCheckOrgName == null) ? 0 : this.nextCheckOrgName.hashCode()); - result = prime * result + ((this.checkDescribe == null) ? 0 : this.checkDescribe.hashCode()); - result = prime * result + ((this.checkStatus == null) ? 0 : this.checkStatus.hashCode()); - result = prime * result + ((this.checkTime == null) ? 0 : this.checkTime.hashCode()); - result = prime * result + ((this.providerNextCheckRoleSignId == null) ? 0 : this.providerNextCheckRoleSignId.hashCode()); - result = prime * result + ((this.providerNextCheckRoleSignName == null) ? 0 : this.providerNextCheckRoleSignName.hashCode()); - result = prime * result + ((this.sign == null) ? 0 : this.sign.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("FilesApplyCheckRecord ("); - - sb.append(id); - sb.append(", ").append(filesApplyId); - sb.append(", ").append(isApplyProvider); - sb.append(", ").append(checkUserId); - sb.append(", ").append(checkUserName); - sb.append(", ").append(checkOrgId); - sb.append(", ").append(checkOrgName); - sb.append(", ").append(nextCheckOrgId); - sb.append(", ").append(nextCheckOrgName); - sb.append(", ").append(checkDescribe); - sb.append(", ").append(checkStatus); - sb.append(", ").append(checkTime); - sb.append(", ").append(providerNextCheckRoleSignId); - sb.append(", ").append(providerNextCheckRoleSignName); - sb.append(", ").append(sign); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyDirectoryDocs.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyDirectoryDocs.java deleted file mode 100644 index ac24c10..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyDirectoryDocs.java +++ /dev/null @@ -1,657 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyDirectoryDocs implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String filesApplyId; - private String directoryFileId; - private String directoryFilePId; - private String filesuper; - private Integer filecount; - private String dutyperson; - private String eweavedate; - private Integer filepage; - private String sortorder; - private String bpeg; - private String epeg; - private String filenum; - private String remark; - private String recordnum; - private String piecenumber; - private String adddate; - private String editdate; - private String timeStamp; - private Integer isdel; - private String catalogpdfurl; - private String signtag; - private String collecttag; - - public FilesApplyDirectoryDocs() {} - - public FilesApplyDirectoryDocs(FilesApplyDirectoryDocs value) { - this.id = value.id; - this.filesApplyId = value.filesApplyId; - this.directoryFileId = value.directoryFileId; - this.directoryFilePId = value.directoryFilePId; - this.filesuper = value.filesuper; - this.filecount = value.filecount; - this.dutyperson = value.dutyperson; - this.eweavedate = value.eweavedate; - this.filepage = value.filepage; - this.sortorder = value.sortorder; - this.bpeg = value.bpeg; - this.epeg = value.epeg; - this.filenum = value.filenum; - this.remark = value.remark; - this.recordnum = value.recordnum; - this.piecenumber = value.piecenumber; - this.adddate = value.adddate; - this.editdate = value.editdate; - this.timeStamp = value.timeStamp; - this.isdel = value.isdel; - this.catalogpdfurl = value.catalogpdfurl; - this.signtag = value.signtag; - this.collecttag = value.collecttag; - } - - public FilesApplyDirectoryDocs( - String id, - String filesApplyId, - String directoryFileId, - String directoryFilePId, - String filesuper, - Integer filecount, - String dutyperson, - String eweavedate, - Integer filepage, - String sortorder, - String bpeg, - String epeg, - String filenum, - String remark, - String recordnum, - String piecenumber, - String adddate, - String editdate, - String timeStamp, - Integer isdel, - String catalogpdfurl, - String signtag, - String collecttag - ) { - this.id = id; - this.filesApplyId = filesApplyId; - this.directoryFileId = directoryFileId; - this.directoryFilePId = directoryFilePId; - this.filesuper = filesuper; - this.filecount = filecount; - this.dutyperson = dutyperson; - this.eweavedate = eweavedate; - this.filepage = filepage; - this.sortorder = sortorder; - this.bpeg = bpeg; - this.epeg = epeg; - this.filenum = filenum; - this.remark = remark; - this.recordnum = recordnum; - this.piecenumber = piecenumber; - this.adddate = adddate; - this.editdate = editdate; - this.timeStamp = timeStamp; - this.isdel = isdel; - this.catalogpdfurl = catalogpdfurl; - this.signtag = signtag; - this.collecttag = collecttag; - } - - /** - * Getter for public.files_apply_directory_docs.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.files_apply_directory_docs.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.files_apply_directory_docs.files_apply_id. - */ - public String getFilesApplyId() { - return this.filesApplyId; - } - - /** - * Setter for public.files_apply_directory_docs.files_apply_id. - */ - public void setFilesApplyId(String filesApplyId) { - this.filesApplyId = filesApplyId; - } - - /** - * Getter for - * public.files_apply_directory_docs.directory_file_id. - */ - public String getDirectoryFileId() { - return this.directoryFileId; - } - - /** - * Setter for - * public.files_apply_directory_docs.directory_file_id. - */ - public void setDirectoryFileId(String directoryFileId) { - this.directoryFileId = directoryFileId; - } - - /** - * Getter for - * public.files_apply_directory_docs.directory_file_p_id. - */ - public String getDirectoryFilePId() { - return this.directoryFilePId; - } - - /** - * Setter for - * public.files_apply_directory_docs.directory_file_p_id. - */ - public void setDirectoryFilePId(String directoryFilePId) { - this.directoryFilePId = directoryFilePId; - } - - /** - * Getter for public.files_apply_directory_docs.filesuper. - */ - public String getFilesuper() { - return this.filesuper; - } - - /** - * Setter for public.files_apply_directory_docs.filesuper. - */ - public void setFilesuper(String filesuper) { - this.filesuper = filesuper; - } - - /** - * Getter for public.files_apply_directory_docs.filecount. - */ - public Integer getFilecount() { - return this.filecount; - } - - /** - * Setter for public.files_apply_directory_docs.filecount. - */ - public void setFilecount(Integer filecount) { - this.filecount = filecount; - } - - /** - * Getter for public.files_apply_directory_docs.dutyperson. - */ - public String getDutyperson() { - return this.dutyperson; - } - - /** - * Setter for public.files_apply_directory_docs.dutyperson. - */ - public void setDutyperson(String dutyperson) { - this.dutyperson = dutyperson; - } - - /** - * Getter for public.files_apply_directory_docs.eweavedate. - */ - public String getEweavedate() { - return this.eweavedate; - } - - /** - * Setter for public.files_apply_directory_docs.eweavedate. - */ - public void setEweavedate(String eweavedate) { - this.eweavedate = eweavedate; - } - - /** - * Getter for public.files_apply_directory_docs.filepage. - */ - public Integer getFilepage() { - return this.filepage; - } - - /** - * Setter for public.files_apply_directory_docs.filepage. - */ - public void setFilepage(Integer filepage) { - this.filepage = filepage; - } - - /** - * Getter for public.files_apply_directory_docs.sortorder. - */ - public String getSortorder() { - return this.sortorder; - } - - /** - * Setter for public.files_apply_directory_docs.sortorder. - */ - public void setSortorder(String sortorder) { - this.sortorder = sortorder; - } - - /** - * Getter for public.files_apply_directory_docs.bpeg. - */ - public String getBpeg() { - return this.bpeg; - } - - /** - * Setter for public.files_apply_directory_docs.bpeg. - */ - public void setBpeg(String bpeg) { - this.bpeg = bpeg; - } - - /** - * Getter for public.files_apply_directory_docs.epeg. - */ - public String getEpeg() { - return this.epeg; - } - - /** - * Setter for public.files_apply_directory_docs.epeg. - */ - public void setEpeg(String epeg) { - this.epeg = epeg; - } - - /** - * Getter for public.files_apply_directory_docs.filenum. - */ - public String getFilenum() { - return this.filenum; - } - - /** - * Setter for public.files_apply_directory_docs.filenum. - */ - public void setFilenum(String filenum) { - this.filenum = filenum; - } - - /** - * Getter for public.files_apply_directory_docs.remark. - */ - public String getRemark() { - return this.remark; - } - - /** - * Setter for public.files_apply_directory_docs.remark. - */ - public void setRemark(String remark) { - this.remark = remark; - } - - /** - * Getter for public.files_apply_directory_docs.recordnum. - */ - public String getRecordnum() { - return this.recordnum; - } - - /** - * Setter for public.files_apply_directory_docs.recordnum. - */ - public void setRecordnum(String recordnum) { - this.recordnum = recordnum; - } - - /** - * Getter for public.files_apply_directory_docs.piecenumber. - */ - public String getPiecenumber() { - return this.piecenumber; - } - - /** - * Setter for public.files_apply_directory_docs.piecenumber. - */ - public void setPiecenumber(String piecenumber) { - this.piecenumber = piecenumber; - } - - /** - * Getter for public.files_apply_directory_docs.adddate. - */ - public String getAdddate() { - return this.adddate; - } - - /** - * Setter for public.files_apply_directory_docs.adddate. - */ - public void setAdddate(String adddate) { - this.adddate = adddate; - } - - /** - * Getter for public.files_apply_directory_docs.editdate. - */ - public String getEditdate() { - return this.editdate; - } - - /** - * Setter for public.files_apply_directory_docs.editdate. - */ - public void setEditdate(String editdate) { - this.editdate = editdate; - } - - /** - * Getter for public.files_apply_directory_docs.time_stamp. - */ - public String getTimeStamp() { - return this.timeStamp; - } - - /** - * Setter for public.files_apply_directory_docs.time_stamp. - */ - public void setTimeStamp(String timeStamp) { - this.timeStamp = timeStamp; - } - - /** - * Getter for public.files_apply_directory_docs.isdel. - */ - public Integer getIsdel() { - return this.isdel; - } - - /** - * Setter for public.files_apply_directory_docs.isdel. - */ - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - /** - * Getter for public.files_apply_directory_docs.catalogpdfurl. - */ - public String getCatalogpdfurl() { - return this.catalogpdfurl; - } - - /** - * Setter for public.files_apply_directory_docs.catalogpdfurl. - */ - public void setCatalogpdfurl(String catalogpdfurl) { - this.catalogpdfurl = catalogpdfurl; - } - - /** - * Getter for public.files_apply_directory_docs.signtag. - */ - public String getSigntag() { - return this.signtag; - } - - /** - * Setter for public.files_apply_directory_docs.signtag. - */ - public void setSigntag(String signtag) { - this.signtag = signtag; - } - - /** - * Getter for public.files_apply_directory_docs.collecttag. - */ - public String getCollecttag() { - return this.collecttag; - } - - /** - * Setter for public.files_apply_directory_docs.collecttag. - */ - public void setCollecttag(String collecttag) { - this.collecttag = collecttag; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final FilesApplyDirectoryDocs other = (FilesApplyDirectoryDocs) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.filesApplyId == null) { - if (other.filesApplyId != null) - return false; - } - else if (!this.filesApplyId.equals(other.filesApplyId)) - return false; - if (this.directoryFileId == null) { - if (other.directoryFileId != null) - return false; - } - else if (!this.directoryFileId.equals(other.directoryFileId)) - return false; - if (this.directoryFilePId == null) { - if (other.directoryFilePId != null) - return false; - } - else if (!this.directoryFilePId.equals(other.directoryFilePId)) - return false; - if (this.filesuper == null) { - if (other.filesuper != null) - return false; - } - else if (!this.filesuper.equals(other.filesuper)) - return false; - if (this.filecount == null) { - if (other.filecount != null) - return false; - } - else if (!this.filecount.equals(other.filecount)) - return false; - if (this.dutyperson == null) { - if (other.dutyperson != null) - return false; - } - else if (!this.dutyperson.equals(other.dutyperson)) - return false; - if (this.eweavedate == null) { - if (other.eweavedate != null) - return false; - } - else if (!this.eweavedate.equals(other.eweavedate)) - return false; - if (this.filepage == null) { - if (other.filepage != null) - return false; - } - else if (!this.filepage.equals(other.filepage)) - return false; - if (this.sortorder == null) { - if (other.sortorder != null) - return false; - } - else if (!this.sortorder.equals(other.sortorder)) - return false; - if (this.bpeg == null) { - if (other.bpeg != null) - return false; - } - else if (!this.bpeg.equals(other.bpeg)) - return false; - if (this.epeg == null) { - if (other.epeg != null) - return false; - } - else if (!this.epeg.equals(other.epeg)) - return false; - if (this.filenum == null) { - if (other.filenum != null) - return false; - } - else if (!this.filenum.equals(other.filenum)) - return false; - if (this.remark == null) { - if (other.remark != null) - return false; - } - else if (!this.remark.equals(other.remark)) - return false; - if (this.recordnum == null) { - if (other.recordnum != null) - return false; - } - else if (!this.recordnum.equals(other.recordnum)) - return false; - if (this.piecenumber == null) { - if (other.piecenumber != null) - return false; - } - else if (!this.piecenumber.equals(other.piecenumber)) - return false; - if (this.adddate == null) { - if (other.adddate != null) - return false; - } - else if (!this.adddate.equals(other.adddate)) - return false; - if (this.editdate == null) { - if (other.editdate != null) - return false; - } - else if (!this.editdate.equals(other.editdate)) - return false; - if (this.timeStamp == null) { - if (other.timeStamp != null) - return false; - } - else if (!this.timeStamp.equals(other.timeStamp)) - return false; - if (this.isdel == null) { - if (other.isdel != null) - return false; - } - else if (!this.isdel.equals(other.isdel)) - return false; - if (this.catalogpdfurl == null) { - if (other.catalogpdfurl != null) - return false; - } - else if (!this.catalogpdfurl.equals(other.catalogpdfurl)) - return false; - if (this.signtag == null) { - if (other.signtag != null) - return false; - } - else if (!this.signtag.equals(other.signtag)) - return false; - if (this.collecttag == null) { - if (other.collecttag != null) - return false; - } - else if (!this.collecttag.equals(other.collecttag)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.filesApplyId == null) ? 0 : this.filesApplyId.hashCode()); - result = prime * result + ((this.directoryFileId == null) ? 0 : this.directoryFileId.hashCode()); - result = prime * result + ((this.directoryFilePId == null) ? 0 : this.directoryFilePId.hashCode()); - result = prime * result + ((this.filesuper == null) ? 0 : this.filesuper.hashCode()); - result = prime * result + ((this.filecount == null) ? 0 : this.filecount.hashCode()); - result = prime * result + ((this.dutyperson == null) ? 0 : this.dutyperson.hashCode()); - result = prime * result + ((this.eweavedate == null) ? 0 : this.eweavedate.hashCode()); - result = prime * result + ((this.filepage == null) ? 0 : this.filepage.hashCode()); - result = prime * result + ((this.sortorder == null) ? 0 : this.sortorder.hashCode()); - result = prime * result + ((this.bpeg == null) ? 0 : this.bpeg.hashCode()); - result = prime * result + ((this.epeg == null) ? 0 : this.epeg.hashCode()); - result = prime * result + ((this.filenum == null) ? 0 : this.filenum.hashCode()); - result = prime * result + ((this.remark == null) ? 0 : this.remark.hashCode()); - result = prime * result + ((this.recordnum == null) ? 0 : this.recordnum.hashCode()); - result = prime * result + ((this.piecenumber == null) ? 0 : this.piecenumber.hashCode()); - result = prime * result + ((this.adddate == null) ? 0 : this.adddate.hashCode()); - result = prime * result + ((this.editdate == null) ? 0 : this.editdate.hashCode()); - result = prime * result + ((this.timeStamp == null) ? 0 : this.timeStamp.hashCode()); - result = prime * result + ((this.isdel == null) ? 0 : this.isdel.hashCode()); - result = prime * result + ((this.catalogpdfurl == null) ? 0 : this.catalogpdfurl.hashCode()); - result = prime * result + ((this.signtag == null) ? 0 : this.signtag.hashCode()); - result = prime * result + ((this.collecttag == null) ? 0 : this.collecttag.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("FilesApplyDirectoryDocs ("); - - sb.append(id); - sb.append(", ").append(filesApplyId); - sb.append(", ").append(directoryFileId); - sb.append(", ").append(directoryFilePId); - sb.append(", ").append(filesuper); - sb.append(", ").append(filecount); - sb.append(", ").append(dutyperson); - sb.append(", ").append(eweavedate); - sb.append(", ").append(filepage); - sb.append(", ").append(sortorder); - sb.append(", ").append(bpeg); - sb.append(", ").append(epeg); - sb.append(", ").append(filenum); - sb.append(", ").append(remark); - sb.append(", ").append(recordnum); - sb.append(", ").append(piecenumber); - sb.append(", ").append(adddate); - sb.append(", ").append(editdate); - sb.append(", ").append(timeStamp); - sb.append(", ").append(isdel); - sb.append(", ").append(catalogpdfurl); - sb.append(", ").append(signtag); - sb.append(", ").append(collecttag); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyDocs.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyDocs.java deleted file mode 100644 index dcc21e8..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyDocs.java +++ /dev/null @@ -1,601 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyDocs implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String filesApplyId; - private String synFileId; - private String synFilePId; - private String tablenumber; - private String annexname; - private String projectname; - private String eweavedate; - private String checkdate; - private Integer annexpage; - private String sortorder; - private String filefrom; - private String archivestag; - private String adddate; - private String editdate; - private String timeStamp; - private Integer isdel; - private String downurl; - private Integer filesize; - private Integer applyViewTypePrint; - private Integer applyViewTypeOnline; - - public FilesApplyDocs() {} - - public FilesApplyDocs(FilesApplyDocs value) { - this.id = value.id; - this.filesApplyId = value.filesApplyId; - this.synFileId = value.synFileId; - this.synFilePId = value.synFilePId; - this.tablenumber = value.tablenumber; - this.annexname = value.annexname; - this.projectname = value.projectname; - this.eweavedate = value.eweavedate; - this.checkdate = value.checkdate; - this.annexpage = value.annexpage; - this.sortorder = value.sortorder; - this.filefrom = value.filefrom; - this.archivestag = value.archivestag; - this.adddate = value.adddate; - this.editdate = value.editdate; - this.timeStamp = value.timeStamp; - this.isdel = value.isdel; - this.downurl = value.downurl; - this.filesize = value.filesize; - this.applyViewTypePrint = value.applyViewTypePrint; - this.applyViewTypeOnline = value.applyViewTypeOnline; - } - - public FilesApplyDocs( - String id, - String filesApplyId, - String synFileId, - String synFilePId, - String tablenumber, - String annexname, - String projectname, - String eweavedate, - String checkdate, - Integer annexpage, - String sortorder, - String filefrom, - String archivestag, - String adddate, - String editdate, - String timeStamp, - Integer isdel, - String downurl, - Integer filesize, - Integer applyViewTypePrint, - Integer applyViewTypeOnline - ) { - this.id = id; - this.filesApplyId = filesApplyId; - this.synFileId = synFileId; - this.synFilePId = synFilePId; - this.tablenumber = tablenumber; - this.annexname = annexname; - this.projectname = projectname; - this.eweavedate = eweavedate; - this.checkdate = checkdate; - this.annexpage = annexpage; - this.sortorder = sortorder; - this.filefrom = filefrom; - this.archivestag = archivestag; - this.adddate = adddate; - this.editdate = editdate; - this.timeStamp = timeStamp; - this.isdel = isdel; - this.downurl = downurl; - this.filesize = filesize; - this.applyViewTypePrint = applyViewTypePrint; - this.applyViewTypeOnline = applyViewTypeOnline; - } - - /** - * Getter for public.files_apply_docs.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.files_apply_docs.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.files_apply_docs.files_apply_id. - */ - public String getFilesApplyId() { - return this.filesApplyId; - } - - /** - * Setter for public.files_apply_docs.files_apply_id. - */ - public void setFilesApplyId(String filesApplyId) { - this.filesApplyId = filesApplyId; - } - - /** - * Getter for public.files_apply_docs.syn_file_id. - */ - public String getSynFileId() { - return this.synFileId; - } - - /** - * Setter for public.files_apply_docs.syn_file_id. - */ - public void setSynFileId(String synFileId) { - this.synFileId = synFileId; - } - - /** - * Getter for public.files_apply_docs.syn_file_p_id. - */ - public String getSynFilePId() { - return this.synFilePId; - } - - /** - * Setter for public.files_apply_docs.syn_file_p_id. - */ - public void setSynFilePId(String synFilePId) { - this.synFilePId = synFilePId; - } - - /** - * Getter for public.files_apply_docs.tablenumber. - */ - public String getTablenumber() { - return this.tablenumber; - } - - /** - * Setter for public.files_apply_docs.tablenumber. - */ - public void setTablenumber(String tablenumber) { - this.tablenumber = tablenumber; - } - - /** - * Getter for public.files_apply_docs.annexname. - */ - public String getAnnexname() { - return this.annexname; - } - - /** - * Setter for public.files_apply_docs.annexname. - */ - public void setAnnexname(String annexname) { - this.annexname = annexname; - } - - /** - * Getter for public.files_apply_docs.projectname. - */ - public String getProjectname() { - return this.projectname; - } - - /** - * Setter for public.files_apply_docs.projectname. - */ - public void setProjectname(String projectname) { - this.projectname = projectname; - } - - /** - * Getter for public.files_apply_docs.eweavedate. - */ - public String getEweavedate() { - return this.eweavedate; - } - - /** - * Setter for public.files_apply_docs.eweavedate. - */ - public void setEweavedate(String eweavedate) { - this.eweavedate = eweavedate; - } - - /** - * Getter for public.files_apply_docs.checkdate. - */ - public String getCheckdate() { - return this.checkdate; - } - - /** - * Setter for public.files_apply_docs.checkdate. - */ - public void setCheckdate(String checkdate) { - this.checkdate = checkdate; - } - - /** - * Getter for public.files_apply_docs.annexpage. - */ - public Integer getAnnexpage() { - return this.annexpage; - } - - /** - * Setter for public.files_apply_docs.annexpage. - */ - public void setAnnexpage(Integer annexpage) { - this.annexpage = annexpage; - } - - /** - * Getter for public.files_apply_docs.sortorder. - */ - public String getSortorder() { - return this.sortorder; - } - - /** - * Setter for public.files_apply_docs.sortorder. - */ - public void setSortorder(String sortorder) { - this.sortorder = sortorder; - } - - /** - * Getter for public.files_apply_docs.filefrom. - */ - public String getFilefrom() { - return this.filefrom; - } - - /** - * Setter for public.files_apply_docs.filefrom. - */ - public void setFilefrom(String filefrom) { - this.filefrom = filefrom; - } - - /** - * Getter for public.files_apply_docs.archivestag. - */ - public String getArchivestag() { - return this.archivestag; - } - - /** - * Setter for public.files_apply_docs.archivestag. - */ - public void setArchivestag(String archivestag) { - this.archivestag = archivestag; - } - - /** - * Getter for public.files_apply_docs.adddate. - */ - public String getAdddate() { - return this.adddate; - } - - /** - * Setter for public.files_apply_docs.adddate. - */ - public void setAdddate(String adddate) { - this.adddate = adddate; - } - - /** - * Getter for public.files_apply_docs.editdate. - */ - public String getEditdate() { - return this.editdate; - } - - /** - * Setter for public.files_apply_docs.editdate. - */ - public void setEditdate(String editdate) { - this.editdate = editdate; - } - - /** - * Getter for public.files_apply_docs.time_stamp. - */ - public String getTimeStamp() { - return this.timeStamp; - } - - /** - * Setter for public.files_apply_docs.time_stamp. - */ - public void setTimeStamp(String timeStamp) { - this.timeStamp = timeStamp; - } - - /** - * Getter for public.files_apply_docs.isdel. - */ - public Integer getIsdel() { - return this.isdel; - } - - /** - * Setter for public.files_apply_docs.isdel. - */ - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - /** - * Getter for public.files_apply_docs.downurl. - */ - public String getDownurl() { - return this.downurl; - } - - /** - * Setter for public.files_apply_docs.downurl. - */ - public void setDownurl(String downurl) { - this.downurl = downurl; - } - - /** - * Getter for public.files_apply_docs.filesize. - */ - public Integer getFilesize() { - return this.filesize; - } - - /** - * Setter for public.files_apply_docs.filesize. - */ - public void setFilesize(Integer filesize) { - this.filesize = filesize; - } - - /** - * Getter for public.files_apply_docs.apply_view_type_print. - */ - public Integer getApplyViewTypePrint() { - return this.applyViewTypePrint; - } - - /** - * Setter for public.files_apply_docs.apply_view_type_print. - */ - public void setApplyViewTypePrint(Integer applyViewTypePrint) { - this.applyViewTypePrint = applyViewTypePrint; - } - - /** - * Getter for public.files_apply_docs.apply_view_type_online. - */ - public Integer getApplyViewTypeOnline() { - return this.applyViewTypeOnline; - } - - /** - * Setter for public.files_apply_docs.apply_view_type_online. - */ - public void setApplyViewTypeOnline(Integer applyViewTypeOnline) { - this.applyViewTypeOnline = applyViewTypeOnline; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final FilesApplyDocs other = (FilesApplyDocs) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.filesApplyId == null) { - if (other.filesApplyId != null) - return false; - } - else if (!this.filesApplyId.equals(other.filesApplyId)) - return false; - if (this.synFileId == null) { - if (other.synFileId != null) - return false; - } - else if (!this.synFileId.equals(other.synFileId)) - return false; - if (this.synFilePId == null) { - if (other.synFilePId != null) - return false; - } - else if (!this.synFilePId.equals(other.synFilePId)) - return false; - if (this.tablenumber == null) { - if (other.tablenumber != null) - return false; - } - else if (!this.tablenumber.equals(other.tablenumber)) - return false; - if (this.annexname == null) { - if (other.annexname != null) - return false; - } - else if (!this.annexname.equals(other.annexname)) - return false; - if (this.projectname == null) { - if (other.projectname != null) - return false; - } - else if (!this.projectname.equals(other.projectname)) - return false; - if (this.eweavedate == null) { - if (other.eweavedate != null) - return false; - } - else if (!this.eweavedate.equals(other.eweavedate)) - return false; - if (this.checkdate == null) { - if (other.checkdate != null) - return false; - } - else if (!this.checkdate.equals(other.checkdate)) - return false; - if (this.annexpage == null) { - if (other.annexpage != null) - return false; - } - else if (!this.annexpage.equals(other.annexpage)) - return false; - if (this.sortorder == null) { - if (other.sortorder != null) - return false; - } - else if (!this.sortorder.equals(other.sortorder)) - return false; - if (this.filefrom == null) { - if (other.filefrom != null) - return false; - } - else if (!this.filefrom.equals(other.filefrom)) - return false; - if (this.archivestag == null) { - if (other.archivestag != null) - return false; - } - else if (!this.archivestag.equals(other.archivestag)) - return false; - if (this.adddate == null) { - if (other.adddate != null) - return false; - } - else if (!this.adddate.equals(other.adddate)) - return false; - if (this.editdate == null) { - if (other.editdate != null) - return false; - } - else if (!this.editdate.equals(other.editdate)) - return false; - if (this.timeStamp == null) { - if (other.timeStamp != null) - return false; - } - else if (!this.timeStamp.equals(other.timeStamp)) - return false; - if (this.isdel == null) { - if (other.isdel != null) - return false; - } - else if (!this.isdel.equals(other.isdel)) - return false; - if (this.downurl == null) { - if (other.downurl != null) - return false; - } - else if (!this.downurl.equals(other.downurl)) - return false; - if (this.filesize == null) { - if (other.filesize != null) - return false; - } - else if (!this.filesize.equals(other.filesize)) - return false; - if (this.applyViewTypePrint == null) { - if (other.applyViewTypePrint != null) - return false; - } - else if (!this.applyViewTypePrint.equals(other.applyViewTypePrint)) - return false; - if (this.applyViewTypeOnline == null) { - if (other.applyViewTypeOnline != null) - return false; - } - else if (!this.applyViewTypeOnline.equals(other.applyViewTypeOnline)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.filesApplyId == null) ? 0 : this.filesApplyId.hashCode()); - result = prime * result + ((this.synFileId == null) ? 0 : this.synFileId.hashCode()); - result = prime * result + ((this.synFilePId == null) ? 0 : this.synFilePId.hashCode()); - result = prime * result + ((this.tablenumber == null) ? 0 : this.tablenumber.hashCode()); - result = prime * result + ((this.annexname == null) ? 0 : this.annexname.hashCode()); - result = prime * result + ((this.projectname == null) ? 0 : this.projectname.hashCode()); - result = prime * result + ((this.eweavedate == null) ? 0 : this.eweavedate.hashCode()); - result = prime * result + ((this.checkdate == null) ? 0 : this.checkdate.hashCode()); - result = prime * result + ((this.annexpage == null) ? 0 : this.annexpage.hashCode()); - result = prime * result + ((this.sortorder == null) ? 0 : this.sortorder.hashCode()); - result = prime * result + ((this.filefrom == null) ? 0 : this.filefrom.hashCode()); - result = prime * result + ((this.archivestag == null) ? 0 : this.archivestag.hashCode()); - result = prime * result + ((this.adddate == null) ? 0 : this.adddate.hashCode()); - result = prime * result + ((this.editdate == null) ? 0 : this.editdate.hashCode()); - result = prime * result + ((this.timeStamp == null) ? 0 : this.timeStamp.hashCode()); - result = prime * result + ((this.isdel == null) ? 0 : this.isdel.hashCode()); - result = prime * result + ((this.downurl == null) ? 0 : this.downurl.hashCode()); - result = prime * result + ((this.filesize == null) ? 0 : this.filesize.hashCode()); - result = prime * result + ((this.applyViewTypePrint == null) ? 0 : this.applyViewTypePrint.hashCode()); - result = prime * result + ((this.applyViewTypeOnline == null) ? 0 : this.applyViewTypeOnline.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("FilesApplyDocs ("); - - sb.append(id); - sb.append(", ").append(filesApplyId); - sb.append(", ").append(synFileId); - sb.append(", ").append(synFilePId); - sb.append(", ").append(tablenumber); - sb.append(", ").append(annexname); - sb.append(", ").append(projectname); - sb.append(", ").append(eweavedate); - sb.append(", ").append(checkdate); - sb.append(", ").append(annexpage); - sb.append(", ").append(sortorder); - sb.append(", ").append(filefrom); - sb.append(", ").append(archivestag); - sb.append(", ").append(adddate); - sb.append(", ").append(editdate); - sb.append(", ").append(timeStamp); - sb.append(", ").append(isdel); - sb.append(", ").append(downurl); - sb.append(", ").append(filesize); - sb.append(", ").append(applyViewTypePrint); - sb.append(", ").append(applyViewTypeOnline); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyDownloadRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyDownloadRecord.java deleted file mode 100644 index d8eb959..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/FilesApplyDownloadRecord.java +++ /dev/null @@ -1,344 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyDownloadRecord implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String filesApplyId; - private Integer isDirFile; - private String synFileId; - private String synFilePId; - private String synFileName; - private String userId; - private String userName; - private String orgId; - private String orgName; - private LocalDateTime downloadTime; - - public FilesApplyDownloadRecord() {} - - public FilesApplyDownloadRecord(FilesApplyDownloadRecord value) { - this.id = value.id; - this.filesApplyId = value.filesApplyId; - this.isDirFile = value.isDirFile; - this.synFileId = value.synFileId; - this.synFilePId = value.synFilePId; - this.synFileName = value.synFileName; - this.userId = value.userId; - this.userName = value.userName; - this.orgId = value.orgId; - this.orgName = value.orgName; - this.downloadTime = value.downloadTime; - } - - public FilesApplyDownloadRecord( - String id, - String filesApplyId, - Integer isDirFile, - String synFileId, - String synFilePId, - String synFileName, - String userId, - String userName, - String orgId, - String orgName, - LocalDateTime downloadTime - ) { - this.id = id; - this.filesApplyId = filesApplyId; - this.isDirFile = isDirFile; - this.synFileId = synFileId; - this.synFilePId = synFilePId; - this.synFileName = synFileName; - this.userId = userId; - this.userName = userName; - this.orgId = orgId; - this.orgName = orgName; - this.downloadTime = downloadTime; - } - - /** - * Getter for public.files_apply_download_record.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.files_apply_download_record.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for - * public.files_apply_download_record.files_apply_id. - */ - public String getFilesApplyId() { - return this.filesApplyId; - } - - /** - * Setter for - * public.files_apply_download_record.files_apply_id. - */ - public void setFilesApplyId(String filesApplyId) { - this.filesApplyId = filesApplyId; - } - - /** - * Getter for public.files_apply_download_record.is_dir_file. - */ - public Integer getIsDirFile() { - return this.isDirFile; - } - - /** - * Setter for public.files_apply_download_record.is_dir_file. - */ - public void setIsDirFile(Integer isDirFile) { - this.isDirFile = isDirFile; - } - - /** - * Getter for public.files_apply_download_record.syn_file_id. - */ - public String getSynFileId() { - return this.synFileId; - } - - /** - * Setter for public.files_apply_download_record.syn_file_id. - */ - public void setSynFileId(String synFileId) { - this.synFileId = synFileId; - } - - /** - * Getter for public.files_apply_download_record.syn_file_p_id. - */ - public String getSynFilePId() { - return this.synFilePId; - } - - /** - * Setter for public.files_apply_download_record.syn_file_p_id. - */ - public void setSynFilePId(String synFilePId) { - this.synFilePId = synFilePId; - } - - /** - * Getter for public.files_apply_download_record.syn_file_name. - */ - public String getSynFileName() { - return this.synFileName; - } - - /** - * Setter for public.files_apply_download_record.syn_file_name. - */ - public void setSynFileName(String synFileName) { - this.synFileName = synFileName; - } - - /** - * Getter for public.files_apply_download_record.user_id. - */ - public String getUserId() { - return this.userId; - } - - /** - * Setter for public.files_apply_download_record.user_id. - */ - public void setUserId(String userId) { - this.userId = userId; - } - - /** - * Getter for public.files_apply_download_record.user_name. - */ - public String getUserName() { - return this.userName; - } - - /** - * Setter for public.files_apply_download_record.user_name. - */ - public void setUserName(String userName) { - this.userName = userName; - } - - /** - * Getter for public.files_apply_download_record.org_id. - */ - public String getOrgId() { - return this.orgId; - } - - /** - * Setter for public.files_apply_download_record.org_id. - */ - public void setOrgId(String orgId) { - this.orgId = orgId; - } - - /** - * Getter for public.files_apply_download_record.org_name. - */ - public String getOrgName() { - return this.orgName; - } - - /** - * Setter for public.files_apply_download_record.org_name. - */ - public void setOrgName(String orgName) { - this.orgName = orgName; - } - - /** - * Getter for public.files_apply_download_record.download_time. - */ - public LocalDateTime getDownloadTime() { - return this.downloadTime; - } - - /** - * Setter for public.files_apply_download_record.download_time. - */ - public void setDownloadTime(LocalDateTime downloadTime) { - this.downloadTime = downloadTime; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final FilesApplyDownloadRecord other = (FilesApplyDownloadRecord) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.filesApplyId == null) { - if (other.filesApplyId != null) - return false; - } - else if (!this.filesApplyId.equals(other.filesApplyId)) - return false; - if (this.isDirFile == null) { - if (other.isDirFile != null) - return false; - } - else if (!this.isDirFile.equals(other.isDirFile)) - return false; - if (this.synFileId == null) { - if (other.synFileId != null) - return false; - } - else if (!this.synFileId.equals(other.synFileId)) - return false; - if (this.synFilePId == null) { - if (other.synFilePId != null) - return false; - } - else if (!this.synFilePId.equals(other.synFilePId)) - return false; - if (this.synFileName == null) { - if (other.synFileName != null) - return false; - } - else if (!this.synFileName.equals(other.synFileName)) - return false; - if (this.userId == null) { - if (other.userId != null) - return false; - } - else if (!this.userId.equals(other.userId)) - return false; - if (this.userName == null) { - if (other.userName != null) - return false; - } - else if (!this.userName.equals(other.userName)) - return false; - if (this.orgId == null) { - if (other.orgId != null) - return false; - } - else if (!this.orgId.equals(other.orgId)) - return false; - if (this.orgName == null) { - if (other.orgName != null) - return false; - } - else if (!this.orgName.equals(other.orgName)) - return false; - if (this.downloadTime == null) { - if (other.downloadTime != null) - return false; - } - else if (!this.downloadTime.equals(other.downloadTime)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.filesApplyId == null) ? 0 : this.filesApplyId.hashCode()); - result = prime * result + ((this.isDirFile == null) ? 0 : this.isDirFile.hashCode()); - result = prime * result + ((this.synFileId == null) ? 0 : this.synFileId.hashCode()); - result = prime * result + ((this.synFilePId == null) ? 0 : this.synFilePId.hashCode()); - result = prime * result + ((this.synFileName == null) ? 0 : this.synFileName.hashCode()); - result = prime * result + ((this.userId == null) ? 0 : this.userId.hashCode()); - result = prime * result + ((this.userName == null) ? 0 : this.userName.hashCode()); - result = prime * result + ((this.orgId == null) ? 0 : this.orgId.hashCode()); - result = prime * result + ((this.orgName == null) ? 0 : this.orgName.hashCode()); - result = prime * result + ((this.downloadTime == null) ? 0 : this.downloadTime.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("FilesApplyDownloadRecord ("); - - sb.append(id); - sb.append(", ").append(filesApplyId); - sb.append(", ").append(isDirFile); - sb.append(", ").append(synFileId); - sb.append(", ").append(synFilePId); - sb.append(", ").append(synFileName); - sb.append(", ").append(userId); - sb.append(", ").append(userName); - sb.append(", ").append(orgId); - sb.append(", ").append(orgName); - sb.append(", ").append(downloadTime); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/Project.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/Project.java deleted file mode 100644 index 5e32e43..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/Project.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Project implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String projectName; - private String orgId; - private String orgName; - - public Project() {} - - public Project(Project value) { - this.id = value.id; - this.projectName = value.projectName; - this.orgId = value.orgId; - this.orgName = value.orgName; - } - - public Project( - String id, - String projectName, - String orgId, - String orgName - ) { - this.id = id; - this.projectName = projectName; - this.orgId = orgId; - this.orgName = orgName; - } - - /** - * Getter for public.project.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.project.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.project.project_name. - */ - public String getProjectName() { - return this.projectName; - } - - /** - * Setter for public.project.project_name. - */ - public void setProjectName(String projectName) { - this.projectName = projectName; - } - - /** - * Getter for public.project.org_id. - */ - public String getOrgId() { - return this.orgId; - } - - /** - * Setter for public.project.org_id. - */ - public void setOrgId(String orgId) { - this.orgId = orgId; - } - - /** - * Getter for public.project.org_name. - */ - public String getOrgName() { - return this.orgName; - } - - /** - * Setter for public.project.org_name. - */ - public void setOrgName(String orgName) { - this.orgName = orgName; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final Project other = (Project) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.projectName == null) { - if (other.projectName != null) - return false; - } - else if (!this.projectName.equals(other.projectName)) - return false; - if (this.orgId == null) { - if (other.orgId != null) - return false; - } - else if (!this.orgId.equals(other.orgId)) - return false; - if (this.orgName == null) { - if (other.orgName != null) - return false; - } - else if (!this.orgName.equals(other.orgName)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.projectName == null) ? 0 : this.projectName.hashCode()); - result = prime * result + ((this.orgId == null) ? 0 : this.orgId.hashCode()); - result = prime * result + ((this.orgName == null) ? 0 : this.orgName.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("Project ("); - - sb.append(id); - sb.append(", ").append(projectName); - sb.append(", ").append(orgId); - sb.append(", ").append(orgName); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/ReadLog.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/ReadLog.java deleted file mode 100644 index 3ca6334..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/ReadLog.java +++ /dev/null @@ -1,394 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - - -/** - * 阅读情况 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ReadLog implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String weid; - private String contentId; - private LocalDateTime starttime; - private LocalDateTime endtime; - private String ip; - private String location; - private Integer downloadtype; - private String sign; - private String readid; - private String sm9hibeid; - private Integer contentType; - private Integer ischeck; - - public ReadLog() {} - - public ReadLog(ReadLog value) { - this.id = value.id; - this.weid = value.weid; - this.contentId = value.contentId; - this.starttime = value.starttime; - this.endtime = value.endtime; - this.ip = value.ip; - this.location = value.location; - this.downloadtype = value.downloadtype; - this.sign = value.sign; - this.readid = value.readid; - this.sm9hibeid = value.sm9hibeid; - this.contentType = value.contentType; - this.ischeck = value.ischeck; - } - - public ReadLog( - String id, - String weid, - String contentId, - LocalDateTime starttime, - LocalDateTime endtime, - String ip, - String location, - Integer downloadtype, - String sign, - String readid, - String sm9hibeid, - Integer contentType, - Integer ischeck - ) { - this.id = id; - this.weid = weid; - this.contentId = contentId; - this.starttime = starttime; - this.endtime = endtime; - this.ip = ip; - this.location = location; - this.downloadtype = downloadtype; - this.sign = sign; - this.readid = readid; - this.sm9hibeid = sm9hibeid; - this.contentType = contentType; - this.ischeck = ischeck; - } - - /** - * Getter for public.read_log.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.read_log.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.read_log.weid. 申请人id - */ - public String getWeid() { - return this.weid; - } - - /** - * Setter for public.read_log.weid. 申请人id - */ - public void setWeid(String weid) { - this.weid = weid; - } - - /** - * Getter for public.read_log.content_id. 档案id - */ - public String getContentId() { - return this.contentId; - } - - /** - * Setter for public.read_log.content_id. 档案id - */ - public void setContentId(String contentId) { - this.contentId = contentId; - } - - /** - * Getter for public.read_log.starttime. 开始时间 - */ - public LocalDateTime getStarttime() { - return this.starttime; - } - - /** - * Setter for public.read_log.starttime. 开始时间 - */ - public void setStarttime(LocalDateTime starttime) { - this.starttime = starttime; - } - - /** - * Getter for public.read_log.endtime. 结束时间 - */ - public LocalDateTime getEndtime() { - return this.endtime; - } - - /** - * Setter for public.read_log.endtime. 结束时间 - */ - public void setEndtime(LocalDateTime endtime) { - this.endtime = endtime; - } - - /** - * Getter for public.read_log.ip. ip地址 - */ - public String getIp() { - return this.ip; - } - - /** - * Setter for public.read_log.ip. ip地址 - */ - public void setIp(String ip) { - this.ip = ip; - } - - /** - * Getter for public.read_log.location. 区域 - */ - public String getLocation() { - return this.location; - } - - /** - * Setter for public.read_log.location. 区域 - */ - public void setLocation(String location) { - this.location = location; - } - - /** - * Getter for public.read_log.downloadtype. 下载类型(1文件包/0单文件) - */ - public Integer getDownloadtype() { - return this.downloadtype; - } - - /** - * Setter for public.read_log.downloadtype. 下载类型(1文件包/0单文件) - */ - public void setDownloadtype(Integer downloadtype) { - this.downloadtype = downloadtype; - } - - /** - * Getter for public.read_log.sign. 数字签名 - */ - public String getSign() { - return this.sign; - } - - /** - * Setter for public.read_log.sign. 数字签名 - */ - public void setSign(String sign) { - this.sign = sign; - } - - /** - * Getter for public.read_log.readid. 一次阅读凭证id - */ - public String getReadid() { - return this.readid; - } - - /** - * Setter for public.read_log.readid. 一次阅读凭证id - */ - public void setReadid(String readid) { - this.readid = readid; - } - - /** - * Getter for public.read_log.sm9hibeid. 秘钥id - */ - public String getSm9hibeid() { - return this.sm9hibeid; - } - - /** - * Setter for public.read_log.sm9hibeid. 秘钥id - */ - public void setSm9hibeid(String sm9hibeid) { - this.sm9hibeid = sm9hibeid; - } - - /** - * Getter for public.read_log.content_type. 档案类型 - */ - public Integer getContentType() { - return this.contentType; - } - - /** - * Setter for public.read_log.content_type. 档案类型 - */ - public void setContentType(Integer contentType) { - this.contentType = contentType; - } - - /** - * Getter for public.read_log.ischeck. 是否上链(1是,0否) - */ - public Integer getIscheck() { - return this.ischeck; - } - - /** - * Setter for public.read_log.ischeck. 是否上链(1是,0否) - */ - public void setIscheck(Integer ischeck) { - this.ischeck = ischeck; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final ReadLog other = (ReadLog) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.weid == null) { - if (other.weid != null) - return false; - } - else if (!this.weid.equals(other.weid)) - return false; - if (this.contentId == null) { - if (other.contentId != null) - return false; - } - else if (!this.contentId.equals(other.contentId)) - return false; - if (this.starttime == null) { - if (other.starttime != null) - return false; - } - else if (!this.starttime.equals(other.starttime)) - return false; - if (this.endtime == null) { - if (other.endtime != null) - return false; - } - else if (!this.endtime.equals(other.endtime)) - return false; - if (this.ip == null) { - if (other.ip != null) - return false; - } - else if (!this.ip.equals(other.ip)) - return false; - if (this.location == null) { - if (other.location != null) - return false; - } - else if (!this.location.equals(other.location)) - return false; - if (this.downloadtype == null) { - if (other.downloadtype != null) - return false; - } - else if (!this.downloadtype.equals(other.downloadtype)) - return false; - if (this.sign == null) { - if (other.sign != null) - return false; - } - else if (!this.sign.equals(other.sign)) - return false; - if (this.readid == null) { - if (other.readid != null) - return false; - } - else if (!this.readid.equals(other.readid)) - return false; - if (this.sm9hibeid == null) { - if (other.sm9hibeid != null) - return false; - } - else if (!this.sm9hibeid.equals(other.sm9hibeid)) - return false; - if (this.contentType == null) { - if (other.contentType != null) - return false; - } - else if (!this.contentType.equals(other.contentType)) - return false; - if (this.ischeck == null) { - if (other.ischeck != null) - return false; - } - else if (!this.ischeck.equals(other.ischeck)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.weid == null) ? 0 : this.weid.hashCode()); - result = prime * result + ((this.contentId == null) ? 0 : this.contentId.hashCode()); - result = prime * result + ((this.starttime == null) ? 0 : this.starttime.hashCode()); - result = prime * result + ((this.endtime == null) ? 0 : this.endtime.hashCode()); - result = prime * result + ((this.ip == null) ? 0 : this.ip.hashCode()); - result = prime * result + ((this.location == null) ? 0 : this.location.hashCode()); - result = prime * result + ((this.downloadtype == null) ? 0 : this.downloadtype.hashCode()); - result = prime * result + ((this.sign == null) ? 0 : this.sign.hashCode()); - result = prime * result + ((this.readid == null) ? 0 : this.readid.hashCode()); - result = prime * result + ((this.sm9hibeid == null) ? 0 : this.sm9hibeid.hashCode()); - result = prime * result + ((this.contentType == null) ? 0 : this.contentType.hashCode()); - result = prime * result + ((this.ischeck == null) ? 0 : this.ischeck.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("ReadLog ("); - - sb.append(id); - sb.append(", ").append(weid); - sb.append(", ").append(contentId); - sb.append(", ").append(starttime); - sb.append(", ").append(endtime); - sb.append(", ").append(ip); - sb.append(", ").append(location); - sb.append(", ").append(downloadtype); - sb.append(", ").append(sign); - sb.append(", ").append(readid); - sb.append(", ").append(sm9hibeid); - sb.append(", ").append(contentType); - sb.append(", ").append(ischeck); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SharedRuleConfig.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SharedRuleConfig.java deleted file mode 100644 index 836d415..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SharedRuleConfig.java +++ /dev/null @@ -1,211 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SharedRuleConfig implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String name; - private String describe; - private Integer status; - private Integer sort; - private String projectName; - - public SharedRuleConfig() {} - - public SharedRuleConfig(SharedRuleConfig value) { - this.id = value.id; - this.name = value.name; - this.describe = value.describe; - this.status = value.status; - this.sort = value.sort; - this.projectName = value.projectName; - } - - public SharedRuleConfig( - String id, - String name, - String describe, - Integer status, - Integer sort, - String projectName - ) { - this.id = id; - this.name = name; - this.describe = describe; - this.status = status; - this.sort = sort; - this.projectName = projectName; - } - - /** - * Getter for public.shared_rule_config.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.shared_rule_config.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.shared_rule_config.name. - */ - public String getName() { - return this.name; - } - - /** - * Setter for public.shared_rule_config.name. - */ - public void setName(String name) { - this.name = name; - } - - /** - * Getter for public.shared_rule_config.describe. - */ - public String getDescribe() { - return this.describe; - } - - /** - * Setter for public.shared_rule_config.describe. - */ - public void setDescribe(String describe) { - this.describe = describe; - } - - /** - * Getter for public.shared_rule_config.status. - */ - public Integer getStatus() { - return this.status; - } - - /** - * Setter for public.shared_rule_config.status. - */ - public void setStatus(Integer status) { - this.status = status; - } - - /** - * Getter for public.shared_rule_config.sort. - */ - public Integer getSort() { - return this.sort; - } - - /** - * Setter for public.shared_rule_config.sort. - */ - public void setSort(Integer sort) { - this.sort = sort; - } - - /** - * Getter for public.shared_rule_config.project_name. - */ - public String getProjectName() { - return this.projectName; - } - - /** - * Setter for public.shared_rule_config.project_name. - */ - public void setProjectName(String projectName) { - this.projectName = projectName; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final SharedRuleConfig other = (SharedRuleConfig) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.name == null) { - if (other.name != null) - return false; - } - else if (!this.name.equals(other.name)) - return false; - if (this.describe == null) { - if (other.describe != null) - return false; - } - else if (!this.describe.equals(other.describe)) - return false; - if (this.status == null) { - if (other.status != null) - return false; - } - else if (!this.status.equals(other.status)) - return false; - if (this.sort == null) { - if (other.sort != null) - return false; - } - else if (!this.sort.equals(other.sort)) - return false; - if (this.projectName == null) { - if (other.projectName != null) - return false; - } - else if (!this.projectName.equals(other.projectName)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.name == null) ? 0 : this.name.hashCode()); - result = prime * result + ((this.describe == null) ? 0 : this.describe.hashCode()); - result = prime * result + ((this.status == null) ? 0 : this.status.hashCode()); - result = prime * result + ((this.sort == null) ? 0 : this.sort.hashCode()); - result = prime * result + ((this.projectName == null) ? 0 : this.projectName.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("SharedRuleConfig ("); - - sb.append(id); - sb.append(", ").append(name); - sb.append(", ").append(describe); - sb.append(", ").append(status); - sb.append(", ").append(sort); - sb.append(", ").append(projectName); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SharedSynAll.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SharedSynAll.java deleted file mode 100644 index e836fd6..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SharedSynAll.java +++ /dev/null @@ -1,289 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SharedSynAll implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String synId; - private Integer synType; - private Integer isConfigRule; - private Integer sharedStatus; - private Integer synStatus; - private String blockNumber; - private String blockHash; - private String blockTime; - - public SharedSynAll() {} - - public SharedSynAll(SharedSynAll value) { - this.id = value.id; - this.synId = value.synId; - this.synType = value.synType; - this.isConfigRule = value.isConfigRule; - this.sharedStatus = value.sharedStatus; - this.synStatus = value.synStatus; - this.blockNumber = value.blockNumber; - this.blockHash = value.blockHash; - this.blockTime = value.blockTime; - } - - public SharedSynAll( - String id, - String synId, - Integer synType, - Integer isConfigRule, - Integer sharedStatus, - Integer synStatus, - String blockNumber, - String blockHash, - String blockTime - ) { - this.id = id; - this.synId = synId; - this.synType = synType; - this.isConfigRule = isConfigRule; - this.sharedStatus = sharedStatus; - this.synStatus = synStatus; - this.blockNumber = blockNumber; - this.blockHash = blockHash; - this.blockTime = blockTime; - } - - /** - * Getter for public.shared_syn_all.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.shared_syn_all.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.shared_syn_all.syn_id. - */ - public String getSynId() { - return this.synId; - } - - /** - * Setter for public.shared_syn_all.syn_id. - */ - public void setSynId(String synId) { - this.synId = synId; - } - - /** - * Getter for public.shared_syn_all.syn_type. - */ - public Integer getSynType() { - return this.synType; - } - - /** - * Setter for public.shared_syn_all.syn_type. - */ - public void setSynType(Integer synType) { - this.synType = synType; - } - - /** - * Getter for public.shared_syn_all.is_config_rule. - */ - public Integer getIsConfigRule() { - return this.isConfigRule; - } - - /** - * Setter for public.shared_syn_all.is_config_rule. - */ - public void setIsConfigRule(Integer isConfigRule) { - this.isConfigRule = isConfigRule; - } - - /** - * Getter for public.shared_syn_all.shared_status. - */ - public Integer getSharedStatus() { - return this.sharedStatus; - } - - /** - * Setter for public.shared_syn_all.shared_status. - */ - public void setSharedStatus(Integer sharedStatus) { - this.sharedStatus = sharedStatus; - } - - /** - * Getter for public.shared_syn_all.syn_status. - */ - public Integer getSynStatus() { - return this.synStatus; - } - - /** - * Setter for public.shared_syn_all.syn_status. - */ - public void setSynStatus(Integer synStatus) { - this.synStatus = synStatus; - } - - /** - * Getter for public.shared_syn_all.block_number. - */ - public String getBlockNumber() { - return this.blockNumber; - } - - /** - * Setter for public.shared_syn_all.block_number. - */ - public void setBlockNumber(String blockNumber) { - this.blockNumber = blockNumber; - } - - /** - * Getter for public.shared_syn_all.block_hash. - */ - public String getBlockHash() { - return this.blockHash; - } - - /** - * Setter for public.shared_syn_all.block_hash. - */ - public void setBlockHash(String blockHash) { - this.blockHash = blockHash; - } - - /** - * Getter for public.shared_syn_all.block_time. - */ - public String getBlockTime() { - return this.blockTime; - } - - /** - * Setter for public.shared_syn_all.block_time. - */ - public void setBlockTime(String blockTime) { - this.blockTime = blockTime; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final SharedSynAll other = (SharedSynAll) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.synId == null) { - if (other.synId != null) - return false; - } - else if (!this.synId.equals(other.synId)) - return false; - if (this.synType == null) { - if (other.synType != null) - return false; - } - else if (!this.synType.equals(other.synType)) - return false; - if (this.isConfigRule == null) { - if (other.isConfigRule != null) - return false; - } - else if (!this.isConfigRule.equals(other.isConfigRule)) - return false; - if (this.sharedStatus == null) { - if (other.sharedStatus != null) - return false; - } - else if (!this.sharedStatus.equals(other.sharedStatus)) - return false; - if (this.synStatus == null) { - if (other.synStatus != null) - return false; - } - else if (!this.synStatus.equals(other.synStatus)) - return false; - if (this.blockNumber == null) { - if (other.blockNumber != null) - return false; - } - else if (!this.blockNumber.equals(other.blockNumber)) - return false; - if (this.blockHash == null) { - if (other.blockHash != null) - return false; - } - else if (!this.blockHash.equals(other.blockHash)) - return false; - if (this.blockTime == null) { - if (other.blockTime != null) - return false; - } - else if (!this.blockTime.equals(other.blockTime)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.synId == null) ? 0 : this.synId.hashCode()); - result = prime * result + ((this.synType == null) ? 0 : this.synType.hashCode()); - result = prime * result + ((this.isConfigRule == null) ? 0 : this.isConfigRule.hashCode()); - result = prime * result + ((this.sharedStatus == null) ? 0 : this.sharedStatus.hashCode()); - result = prime * result + ((this.synStatus == null) ? 0 : this.synStatus.hashCode()); - result = prime * result + ((this.blockNumber == null) ? 0 : this.blockNumber.hashCode()); - result = prime * result + ((this.blockHash == null) ? 0 : this.blockHash.hashCode()); - result = prime * result + ((this.blockTime == null) ? 0 : this.blockTime.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("SharedSynAll ("); - - sb.append(id); - sb.append(", ").append(synId); - sb.append(", ").append(synType); - sb.append(", ").append(isConfigRule); - sb.append(", ").append(sharedStatus); - sb.append(", ").append(synStatus); - sb.append(", ").append(blockNumber); - sb.append(", ").append(blockHash); - sb.append(", ").append(blockTime); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SynDirectory.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SynDirectory.java deleted file mode 100644 index 8c957d3..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SynDirectory.java +++ /dev/null @@ -1,263 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SynDirectory implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String pId; - private String wbsId; - private String timeStamp; - private Integer sortorder; - private String tname; - private Integer subjoin; - private Integer isdel; - - public SynDirectory() {} - - public SynDirectory(SynDirectory value) { - this.id = value.id; - this.pId = value.pId; - this.wbsId = value.wbsId; - this.timeStamp = value.timeStamp; - this.sortorder = value.sortorder; - this.tname = value.tname; - this.subjoin = value.subjoin; - this.isdel = value.isdel; - } - - public SynDirectory( - String id, - String pId, - String wbsId, - String timeStamp, - Integer sortorder, - String tname, - Integer subjoin, - Integer isdel - ) { - this.id = id; - this.pId = pId; - this.wbsId = wbsId; - this.timeStamp = timeStamp; - this.sortorder = sortorder; - this.tname = tname; - this.subjoin = subjoin; - this.isdel = isdel; - } - - /** - * Getter for public.syn_directory.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.syn_directory.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.syn_directory.p_id. - */ - public String getPId() { - return this.pId; - } - - /** - * Setter for public.syn_directory.p_id. - */ - public void setPId(String pId) { - this.pId = pId; - } - - /** - * Getter for public.syn_directory.wbs_id. - */ - public String getWbsId() { - return this.wbsId; - } - - /** - * Setter for public.syn_directory.wbs_id. - */ - public void setWbsId(String wbsId) { - this.wbsId = wbsId; - } - - /** - * Getter for public.syn_directory.time_stamp. - */ - public String getTimeStamp() { - return this.timeStamp; - } - - /** - * Setter for public.syn_directory.time_stamp. - */ - public void setTimeStamp(String timeStamp) { - this.timeStamp = timeStamp; - } - - /** - * Getter for public.syn_directory.sortorder. - */ - public Integer getSortorder() { - return this.sortorder; - } - - /** - * Setter for public.syn_directory.sortorder. - */ - public void setSortorder(Integer sortorder) { - this.sortorder = sortorder; - } - - /** - * Getter for public.syn_directory.tname. - */ - public String getTname() { - return this.tname; - } - - /** - * Setter for public.syn_directory.tname. - */ - public void setTname(String tname) { - this.tname = tname; - } - - /** - * Getter for public.syn_directory.subjoin. - */ - public Integer getSubjoin() { - return this.subjoin; - } - - /** - * Setter for public.syn_directory.subjoin. - */ - public void setSubjoin(Integer subjoin) { - this.subjoin = subjoin; - } - - /** - * Getter for public.syn_directory.isdel. - */ - public Integer getIsdel() { - return this.isdel; - } - - /** - * Setter for public.syn_directory.isdel. - */ - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final SynDirectory other = (SynDirectory) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.pId == null) { - if (other.pId != null) - return false; - } - else if (!this.pId.equals(other.pId)) - return false; - if (this.wbsId == null) { - if (other.wbsId != null) - return false; - } - else if (!this.wbsId.equals(other.wbsId)) - return false; - if (this.timeStamp == null) { - if (other.timeStamp != null) - return false; - } - else if (!this.timeStamp.equals(other.timeStamp)) - return false; - if (this.sortorder == null) { - if (other.sortorder != null) - return false; - } - else if (!this.sortorder.equals(other.sortorder)) - return false; - if (this.tname == null) { - if (other.tname != null) - return false; - } - else if (!this.tname.equals(other.tname)) - return false; - if (this.subjoin == null) { - if (other.subjoin != null) - return false; - } - else if (!this.subjoin.equals(other.subjoin)) - return false; - if (this.isdel == null) { - if (other.isdel != null) - return false; - } - else if (!this.isdel.equals(other.isdel)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.pId == null) ? 0 : this.pId.hashCode()); - result = prime * result + ((this.wbsId == null) ? 0 : this.wbsId.hashCode()); - result = prime * result + ((this.timeStamp == null) ? 0 : this.timeStamp.hashCode()); - result = prime * result + ((this.sortorder == null) ? 0 : this.sortorder.hashCode()); - result = prime * result + ((this.tname == null) ? 0 : this.tname.hashCode()); - result = prime * result + ((this.subjoin == null) ? 0 : this.subjoin.hashCode()); - result = prime * result + ((this.isdel == null) ? 0 : this.isdel.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("SynDirectory ("); - - sb.append(id); - sb.append(", ").append(pId); - sb.append(", ").append(wbsId); - sb.append(", ").append(timeStamp); - sb.append(", ").append(sortorder); - sb.append(", ").append(tname); - sb.append(", ").append(subjoin); - sb.append(", ").append(isdel); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SynDirectoryFile.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SynDirectoryFile.java deleted file mode 100644 index d680cce..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SynDirectoryFile.java +++ /dev/null @@ -1,601 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SynDirectoryFile implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String pId; - private String filesuper; - private Integer filecount; - private String dutyperson; - private String eweavedate; - private Integer filepage; - private String sortorder; - private String bpeg; - private String epeg; - private String filenum; - private String remark; - private String recordnum; - private String piecenumber; - private String adddate; - private String editdate; - private String timeStamp; - private Integer isdel; - private String catalogpdfurl; - private String signtag; - private String collecttag; - - public SynDirectoryFile() {} - - public SynDirectoryFile(SynDirectoryFile value) { - this.id = value.id; - this.pId = value.pId; - this.filesuper = value.filesuper; - this.filecount = value.filecount; - this.dutyperson = value.dutyperson; - this.eweavedate = value.eweavedate; - this.filepage = value.filepage; - this.sortorder = value.sortorder; - this.bpeg = value.bpeg; - this.epeg = value.epeg; - this.filenum = value.filenum; - this.remark = value.remark; - this.recordnum = value.recordnum; - this.piecenumber = value.piecenumber; - this.adddate = value.adddate; - this.editdate = value.editdate; - this.timeStamp = value.timeStamp; - this.isdel = value.isdel; - this.catalogpdfurl = value.catalogpdfurl; - this.signtag = value.signtag; - this.collecttag = value.collecttag; - } - - public SynDirectoryFile( - String id, - String pId, - String filesuper, - Integer filecount, - String dutyperson, - String eweavedate, - Integer filepage, - String sortorder, - String bpeg, - String epeg, - String filenum, - String remark, - String recordnum, - String piecenumber, - String adddate, - String editdate, - String timeStamp, - Integer isdel, - String catalogpdfurl, - String signtag, - String collecttag - ) { - this.id = id; - this.pId = pId; - this.filesuper = filesuper; - this.filecount = filecount; - this.dutyperson = dutyperson; - this.eweavedate = eweavedate; - this.filepage = filepage; - this.sortorder = sortorder; - this.bpeg = bpeg; - this.epeg = epeg; - this.filenum = filenum; - this.remark = remark; - this.recordnum = recordnum; - this.piecenumber = piecenumber; - this.adddate = adddate; - this.editdate = editdate; - this.timeStamp = timeStamp; - this.isdel = isdel; - this.catalogpdfurl = catalogpdfurl; - this.signtag = signtag; - this.collecttag = collecttag; - } - - /** - * Getter for public.syn_directory_file.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.syn_directory_file.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.syn_directory_file.p_id. - */ - public String getPId() { - return this.pId; - } - - /** - * Setter for public.syn_directory_file.p_id. - */ - public void setPId(String pId) { - this.pId = pId; - } - - /** - * Getter for public.syn_directory_file.filesuper. - */ - public String getFilesuper() { - return this.filesuper; - } - - /** - * Setter for public.syn_directory_file.filesuper. - */ - public void setFilesuper(String filesuper) { - this.filesuper = filesuper; - } - - /** - * Getter for public.syn_directory_file.filecount. - */ - public Integer getFilecount() { - return this.filecount; - } - - /** - * Setter for public.syn_directory_file.filecount. - */ - public void setFilecount(Integer filecount) { - this.filecount = filecount; - } - - /** - * Getter for public.syn_directory_file.dutyperson. - */ - public String getDutyperson() { - return this.dutyperson; - } - - /** - * Setter for public.syn_directory_file.dutyperson. - */ - public void setDutyperson(String dutyperson) { - this.dutyperson = dutyperson; - } - - /** - * Getter for public.syn_directory_file.eweavedate. - */ - public String getEweavedate() { - return this.eweavedate; - } - - /** - * Setter for public.syn_directory_file.eweavedate. - */ - public void setEweavedate(String eweavedate) { - this.eweavedate = eweavedate; - } - - /** - * Getter for public.syn_directory_file.filepage. - */ - public Integer getFilepage() { - return this.filepage; - } - - /** - * Setter for public.syn_directory_file.filepage. - */ - public void setFilepage(Integer filepage) { - this.filepage = filepage; - } - - /** - * Getter for public.syn_directory_file.sortorder. - */ - public String getSortorder() { - return this.sortorder; - } - - /** - * Setter for public.syn_directory_file.sortorder. - */ - public void setSortorder(String sortorder) { - this.sortorder = sortorder; - } - - /** - * Getter for public.syn_directory_file.bpeg. - */ - public String getBpeg() { - return this.bpeg; - } - - /** - * Setter for public.syn_directory_file.bpeg. - */ - public void setBpeg(String bpeg) { - this.bpeg = bpeg; - } - - /** - * Getter for public.syn_directory_file.epeg. - */ - public String getEpeg() { - return this.epeg; - } - - /** - * Setter for public.syn_directory_file.epeg. - */ - public void setEpeg(String epeg) { - this.epeg = epeg; - } - - /** - * Getter for public.syn_directory_file.filenum. - */ - public String getFilenum() { - return this.filenum; - } - - /** - * Setter for public.syn_directory_file.filenum. - */ - public void setFilenum(String filenum) { - this.filenum = filenum; - } - - /** - * Getter for public.syn_directory_file.remark. - */ - public String getRemark() { - return this.remark; - } - - /** - * Setter for public.syn_directory_file.remark. - */ - public void setRemark(String remark) { - this.remark = remark; - } - - /** - * Getter for public.syn_directory_file.recordnum. - */ - public String getRecordnum() { - return this.recordnum; - } - - /** - * Setter for public.syn_directory_file.recordnum. - */ - public void setRecordnum(String recordnum) { - this.recordnum = recordnum; - } - - /** - * Getter for public.syn_directory_file.piecenumber. - */ - public String getPiecenumber() { - return this.piecenumber; - } - - /** - * Setter for public.syn_directory_file.piecenumber. - */ - public void setPiecenumber(String piecenumber) { - this.piecenumber = piecenumber; - } - - /** - * Getter for public.syn_directory_file.adddate. - */ - public String getAdddate() { - return this.adddate; - } - - /** - * Setter for public.syn_directory_file.adddate. - */ - public void setAdddate(String adddate) { - this.adddate = adddate; - } - - /** - * Getter for public.syn_directory_file.editdate. - */ - public String getEditdate() { - return this.editdate; - } - - /** - * Setter for public.syn_directory_file.editdate. - */ - public void setEditdate(String editdate) { - this.editdate = editdate; - } - - /** - * Getter for public.syn_directory_file.time_stamp. - */ - public String getTimeStamp() { - return this.timeStamp; - } - - /** - * Setter for public.syn_directory_file.time_stamp. - */ - public void setTimeStamp(String timeStamp) { - this.timeStamp = timeStamp; - } - - /** - * Getter for public.syn_directory_file.isdel. - */ - public Integer getIsdel() { - return this.isdel; - } - - /** - * Setter for public.syn_directory_file.isdel. - */ - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - /** - * Getter for public.syn_directory_file.catalogpdfurl. - */ - public String getCatalogpdfurl() { - return this.catalogpdfurl; - } - - /** - * Setter for public.syn_directory_file.catalogpdfurl. - */ - public void setCatalogpdfurl(String catalogpdfurl) { - this.catalogpdfurl = catalogpdfurl; - } - - /** - * Getter for public.syn_directory_file.signtag. - */ - public String getSigntag() { - return this.signtag; - } - - /** - * Setter for public.syn_directory_file.signtag. - */ - public void setSigntag(String signtag) { - this.signtag = signtag; - } - - /** - * Getter for public.syn_directory_file.collecttag. - */ - public String getCollecttag() { - return this.collecttag; - } - - /** - * Setter for public.syn_directory_file.collecttag. - */ - public void setCollecttag(String collecttag) { - this.collecttag = collecttag; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final SynDirectoryFile other = (SynDirectoryFile) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.pId == null) { - if (other.pId != null) - return false; - } - else if (!this.pId.equals(other.pId)) - return false; - if (this.filesuper == null) { - if (other.filesuper != null) - return false; - } - else if (!this.filesuper.equals(other.filesuper)) - return false; - if (this.filecount == null) { - if (other.filecount != null) - return false; - } - else if (!this.filecount.equals(other.filecount)) - return false; - if (this.dutyperson == null) { - if (other.dutyperson != null) - return false; - } - else if (!this.dutyperson.equals(other.dutyperson)) - return false; - if (this.eweavedate == null) { - if (other.eweavedate != null) - return false; - } - else if (!this.eweavedate.equals(other.eweavedate)) - return false; - if (this.filepage == null) { - if (other.filepage != null) - return false; - } - else if (!this.filepage.equals(other.filepage)) - return false; - if (this.sortorder == null) { - if (other.sortorder != null) - return false; - } - else if (!this.sortorder.equals(other.sortorder)) - return false; - if (this.bpeg == null) { - if (other.bpeg != null) - return false; - } - else if (!this.bpeg.equals(other.bpeg)) - return false; - if (this.epeg == null) { - if (other.epeg != null) - return false; - } - else if (!this.epeg.equals(other.epeg)) - return false; - if (this.filenum == null) { - if (other.filenum != null) - return false; - } - else if (!this.filenum.equals(other.filenum)) - return false; - if (this.remark == null) { - if (other.remark != null) - return false; - } - else if (!this.remark.equals(other.remark)) - return false; - if (this.recordnum == null) { - if (other.recordnum != null) - return false; - } - else if (!this.recordnum.equals(other.recordnum)) - return false; - if (this.piecenumber == null) { - if (other.piecenumber != null) - return false; - } - else if (!this.piecenumber.equals(other.piecenumber)) - return false; - if (this.adddate == null) { - if (other.adddate != null) - return false; - } - else if (!this.adddate.equals(other.adddate)) - return false; - if (this.editdate == null) { - if (other.editdate != null) - return false; - } - else if (!this.editdate.equals(other.editdate)) - return false; - if (this.timeStamp == null) { - if (other.timeStamp != null) - return false; - } - else if (!this.timeStamp.equals(other.timeStamp)) - return false; - if (this.isdel == null) { - if (other.isdel != null) - return false; - } - else if (!this.isdel.equals(other.isdel)) - return false; - if (this.catalogpdfurl == null) { - if (other.catalogpdfurl != null) - return false; - } - else if (!this.catalogpdfurl.equals(other.catalogpdfurl)) - return false; - if (this.signtag == null) { - if (other.signtag != null) - return false; - } - else if (!this.signtag.equals(other.signtag)) - return false; - if (this.collecttag == null) { - if (other.collecttag != null) - return false; - } - else if (!this.collecttag.equals(other.collecttag)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.pId == null) ? 0 : this.pId.hashCode()); - result = prime * result + ((this.filesuper == null) ? 0 : this.filesuper.hashCode()); - result = prime * result + ((this.filecount == null) ? 0 : this.filecount.hashCode()); - result = prime * result + ((this.dutyperson == null) ? 0 : this.dutyperson.hashCode()); - result = prime * result + ((this.eweavedate == null) ? 0 : this.eweavedate.hashCode()); - result = prime * result + ((this.filepage == null) ? 0 : this.filepage.hashCode()); - result = prime * result + ((this.sortorder == null) ? 0 : this.sortorder.hashCode()); - result = prime * result + ((this.bpeg == null) ? 0 : this.bpeg.hashCode()); - result = prime * result + ((this.epeg == null) ? 0 : this.epeg.hashCode()); - result = prime * result + ((this.filenum == null) ? 0 : this.filenum.hashCode()); - result = prime * result + ((this.remark == null) ? 0 : this.remark.hashCode()); - result = prime * result + ((this.recordnum == null) ? 0 : this.recordnum.hashCode()); - result = prime * result + ((this.piecenumber == null) ? 0 : this.piecenumber.hashCode()); - result = prime * result + ((this.adddate == null) ? 0 : this.adddate.hashCode()); - result = prime * result + ((this.editdate == null) ? 0 : this.editdate.hashCode()); - result = prime * result + ((this.timeStamp == null) ? 0 : this.timeStamp.hashCode()); - result = prime * result + ((this.isdel == null) ? 0 : this.isdel.hashCode()); - result = prime * result + ((this.catalogpdfurl == null) ? 0 : this.catalogpdfurl.hashCode()); - result = prime * result + ((this.signtag == null) ? 0 : this.signtag.hashCode()); - result = prime * result + ((this.collecttag == null) ? 0 : this.collecttag.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("SynDirectoryFile ("); - - sb.append(id); - sb.append(", ").append(pId); - sb.append(", ").append(filesuper); - sb.append(", ").append(filecount); - sb.append(", ").append(dutyperson); - sb.append(", ").append(eweavedate); - sb.append(", ").append(filepage); - sb.append(", ").append(sortorder); - sb.append(", ").append(bpeg); - sb.append(", ").append(epeg); - sb.append(", ").append(filenum); - sb.append(", ").append(remark); - sb.append(", ").append(recordnum); - sb.append(", ").append(piecenumber); - sb.append(", ").append(adddate); - sb.append(", ").append(editdate); - sb.append(", ").append(timeStamp); - sb.append(", ").append(isdel); - sb.append(", ").append(catalogpdfurl); - sb.append(", ").append(signtag); - sb.append(", ").append(collecttag); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SynFile.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SynFile.java deleted file mode 100644 index 4ed47ec..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SynFile.java +++ /dev/null @@ -1,497 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SynFile implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String pId; - private String tablenumber; - private String annexname; - private String projectname; - private String eweavedate; - private String checkdate; - private Integer annexpage; - private String sortorder; - private String filefrom; - private String archivestag; - private String adddate; - private String editdate; - private String timeStamp; - private Integer isdel; - private String downurl; - private Integer filesize; - - public SynFile() {} - - public SynFile(SynFile value) { - this.id = value.id; - this.pId = value.pId; - this.tablenumber = value.tablenumber; - this.annexname = value.annexname; - this.projectname = value.projectname; - this.eweavedate = value.eweavedate; - this.checkdate = value.checkdate; - this.annexpage = value.annexpage; - this.sortorder = value.sortorder; - this.filefrom = value.filefrom; - this.archivestag = value.archivestag; - this.adddate = value.adddate; - this.editdate = value.editdate; - this.timeStamp = value.timeStamp; - this.isdel = value.isdel; - this.downurl = value.downurl; - this.filesize = value.filesize; - } - - public SynFile( - String id, - String pId, - String tablenumber, - String annexname, - String projectname, - String eweavedate, - String checkdate, - Integer annexpage, - String sortorder, - String filefrom, - String archivestag, - String adddate, - String editdate, - String timeStamp, - Integer isdel, - String downurl, - Integer filesize - ) { - this.id = id; - this.pId = pId; - this.tablenumber = tablenumber; - this.annexname = annexname; - this.projectname = projectname; - this.eweavedate = eweavedate; - this.checkdate = checkdate; - this.annexpage = annexpage; - this.sortorder = sortorder; - this.filefrom = filefrom; - this.archivestag = archivestag; - this.adddate = adddate; - this.editdate = editdate; - this.timeStamp = timeStamp; - this.isdel = isdel; - this.downurl = downurl; - this.filesize = filesize; - } - - /** - * Getter for public.syn_file.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.syn_file.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.syn_file.p_id. - */ - public String getPId() { - return this.pId; - } - - /** - * Setter for public.syn_file.p_id. - */ - public void setPId(String pId) { - this.pId = pId; - } - - /** - * Getter for public.syn_file.tablenumber. - */ - public String getTablenumber() { - return this.tablenumber; - } - - /** - * Setter for public.syn_file.tablenumber. - */ - public void setTablenumber(String tablenumber) { - this.tablenumber = tablenumber; - } - - /** - * Getter for public.syn_file.annexname. - */ - public String getAnnexname() { - return this.annexname; - } - - /** - * Setter for public.syn_file.annexname. - */ - public void setAnnexname(String annexname) { - this.annexname = annexname; - } - - /** - * Getter for public.syn_file.projectname. - */ - public String getProjectname() { - return this.projectname; - } - - /** - * Setter for public.syn_file.projectname. - */ - public void setProjectname(String projectname) { - this.projectname = projectname; - } - - /** - * Getter for public.syn_file.eweavedate. - */ - public String getEweavedate() { - return this.eweavedate; - } - - /** - * Setter for public.syn_file.eweavedate. - */ - public void setEweavedate(String eweavedate) { - this.eweavedate = eweavedate; - } - - /** - * Getter for public.syn_file.checkdate. - */ - public String getCheckdate() { - return this.checkdate; - } - - /** - * Setter for public.syn_file.checkdate. - */ - public void setCheckdate(String checkdate) { - this.checkdate = checkdate; - } - - /** - * Getter for public.syn_file.annexpage. - */ - public Integer getAnnexpage() { - return this.annexpage; - } - - /** - * Setter for public.syn_file.annexpage. - */ - public void setAnnexpage(Integer annexpage) { - this.annexpage = annexpage; - } - - /** - * Getter for public.syn_file.sortorder. - */ - public String getSortorder() { - return this.sortorder; - } - - /** - * Setter for public.syn_file.sortorder. - */ - public void setSortorder(String sortorder) { - this.sortorder = sortorder; - } - - /** - * Getter for public.syn_file.filefrom. - */ - public String getFilefrom() { - return this.filefrom; - } - - /** - * Setter for public.syn_file.filefrom. - */ - public void setFilefrom(String filefrom) { - this.filefrom = filefrom; - } - - /** - * Getter for public.syn_file.archivestag. - */ - public String getArchivestag() { - return this.archivestag; - } - - /** - * Setter for public.syn_file.archivestag. - */ - public void setArchivestag(String archivestag) { - this.archivestag = archivestag; - } - - /** - * Getter for public.syn_file.adddate. - */ - public String getAdddate() { - return this.adddate; - } - - /** - * Setter for public.syn_file.adddate. - */ - public void setAdddate(String adddate) { - this.adddate = adddate; - } - - /** - * Getter for public.syn_file.editdate. - */ - public String getEditdate() { - return this.editdate; - } - - /** - * Setter for public.syn_file.editdate. - */ - public void setEditdate(String editdate) { - this.editdate = editdate; - } - - /** - * Getter for public.syn_file.time_stamp. - */ - public String getTimeStamp() { - return this.timeStamp; - } - - /** - * Setter for public.syn_file.time_stamp. - */ - public void setTimeStamp(String timeStamp) { - this.timeStamp = timeStamp; - } - - /** - * Getter for public.syn_file.isdel. - */ - public Integer getIsdel() { - return this.isdel; - } - - /** - * Setter for public.syn_file.isdel. - */ - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - /** - * Getter for public.syn_file.downurl. - */ - public String getDownurl() { - return this.downurl; - } - - /** - * Setter for public.syn_file.downurl. - */ - public void setDownurl(String downurl) { - this.downurl = downurl; - } - - /** - * Getter for public.syn_file.filesize. - */ - public Integer getFilesize() { - return this.filesize; - } - - /** - * Setter for public.syn_file.filesize. - */ - public void setFilesize(Integer filesize) { - this.filesize = filesize; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final SynFile other = (SynFile) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.pId == null) { - if (other.pId != null) - return false; - } - else if (!this.pId.equals(other.pId)) - return false; - if (this.tablenumber == null) { - if (other.tablenumber != null) - return false; - } - else if (!this.tablenumber.equals(other.tablenumber)) - return false; - if (this.annexname == null) { - if (other.annexname != null) - return false; - } - else if (!this.annexname.equals(other.annexname)) - return false; - if (this.projectname == null) { - if (other.projectname != null) - return false; - } - else if (!this.projectname.equals(other.projectname)) - return false; - if (this.eweavedate == null) { - if (other.eweavedate != null) - return false; - } - else if (!this.eweavedate.equals(other.eweavedate)) - return false; - if (this.checkdate == null) { - if (other.checkdate != null) - return false; - } - else if (!this.checkdate.equals(other.checkdate)) - return false; - if (this.annexpage == null) { - if (other.annexpage != null) - return false; - } - else if (!this.annexpage.equals(other.annexpage)) - return false; - if (this.sortorder == null) { - if (other.sortorder != null) - return false; - } - else if (!this.sortorder.equals(other.sortorder)) - return false; - if (this.filefrom == null) { - if (other.filefrom != null) - return false; - } - else if (!this.filefrom.equals(other.filefrom)) - return false; - if (this.archivestag == null) { - if (other.archivestag != null) - return false; - } - else if (!this.archivestag.equals(other.archivestag)) - return false; - if (this.adddate == null) { - if (other.adddate != null) - return false; - } - else if (!this.adddate.equals(other.adddate)) - return false; - if (this.editdate == null) { - if (other.editdate != null) - return false; - } - else if (!this.editdate.equals(other.editdate)) - return false; - if (this.timeStamp == null) { - if (other.timeStamp != null) - return false; - } - else if (!this.timeStamp.equals(other.timeStamp)) - return false; - if (this.isdel == null) { - if (other.isdel != null) - return false; - } - else if (!this.isdel.equals(other.isdel)) - return false; - if (this.downurl == null) { - if (other.downurl != null) - return false; - } - else if (!this.downurl.equals(other.downurl)) - return false; - if (this.filesize == null) { - if (other.filesize != null) - return false; - } - else if (!this.filesize.equals(other.filesize)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.pId == null) ? 0 : this.pId.hashCode()); - result = prime * result + ((this.tablenumber == null) ? 0 : this.tablenumber.hashCode()); - result = prime * result + ((this.annexname == null) ? 0 : this.annexname.hashCode()); - result = prime * result + ((this.projectname == null) ? 0 : this.projectname.hashCode()); - result = prime * result + ((this.eweavedate == null) ? 0 : this.eweavedate.hashCode()); - result = prime * result + ((this.checkdate == null) ? 0 : this.checkdate.hashCode()); - result = prime * result + ((this.annexpage == null) ? 0 : this.annexpage.hashCode()); - result = prime * result + ((this.sortorder == null) ? 0 : this.sortorder.hashCode()); - result = prime * result + ((this.filefrom == null) ? 0 : this.filefrom.hashCode()); - result = prime * result + ((this.archivestag == null) ? 0 : this.archivestag.hashCode()); - result = prime * result + ((this.adddate == null) ? 0 : this.adddate.hashCode()); - result = prime * result + ((this.editdate == null) ? 0 : this.editdate.hashCode()); - result = prime * result + ((this.timeStamp == null) ? 0 : this.timeStamp.hashCode()); - result = prime * result + ((this.isdel == null) ? 0 : this.isdel.hashCode()); - result = prime * result + ((this.downurl == null) ? 0 : this.downurl.hashCode()); - result = prime * result + ((this.filesize == null) ? 0 : this.filesize.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("SynFile ("); - - sb.append(id); - sb.append(", ").append(pId); - sb.append(", ").append(tablenumber); - sb.append(", ").append(annexname); - sb.append(", ").append(projectname); - sb.append(", ").append(eweavedate); - sb.append(", ").append(checkdate); - sb.append(", ").append(annexpage); - sb.append(", ").append(sortorder); - sb.append(", ").append(filefrom); - sb.append(", ").append(archivestag); - sb.append(", ").append(adddate); - sb.append(", ").append(editdate); - sb.append(", ").append(timeStamp); - sb.append(", ").append(isdel); - sb.append(", ").append(downurl); - sb.append(", ").append(filesize); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdmin.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdmin.java index 586ca50..19a2b96 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdmin.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdmin.java @@ -17,264 +17,138 @@ public class SysAdmin implements Serializable { private String id; private String orgId; + private Integer type; private String realname; private String username; private String password; - private String phone; - private String email; - private String job; - private Integer gender; private Integer islock; - private Integer type; - private Integer sort; - private String cerId; - private String companyId; public SysAdmin() {} public SysAdmin(SysAdmin value) { this.id = value.id; this.orgId = value.orgId; + this.type = value.type; this.realname = value.realname; this.username = value.username; this.password = value.password; - this.phone = value.phone; - this.email = value.email; - this.job = value.job; - this.gender = value.gender; this.islock = value.islock; - this.type = value.type; - this.sort = value.sort; - this.cerId = value.cerId; - this.companyId = value.companyId; } public SysAdmin( String id, String orgId, + Integer type, String realname, String username, String password, - String phone, - String email, - String job, - Integer gender, - Integer islock, - Integer type, - Integer sort, - String cerId, - String companyId + Integer islock ) { this.id = id; this.orgId = orgId; + this.type = type; this.realname = realname; this.username = username; this.password = password; - this.phone = phone; - this.email = email; - this.job = job; - this.gender = gender; this.islock = islock; - this.type = type; - this.sort = sort; - this.cerId = cerId; - this.companyId = companyId; } /** - * Getter for public.sys_admin.id. + * Getter for yx.sys_admin.id. */ public String getId() { return this.id; } /** - * Setter for public.sys_admin.id. + * Setter for yx.sys_admin.id. */ public void setId(String id) { this.id = id; } /** - * Getter for public.sys_admin.org_id. + * Getter for yx.sys_admin.org_id. */ public String getOrgId() { return this.orgId; } /** - * Setter for public.sys_admin.org_id. + * Setter for yx.sys_admin.org_id. */ public void setOrgId(String orgId) { this.orgId = orgId; } /** - * Getter for public.sys_admin.realname. - */ - public String getRealname() { - return this.realname; - } - - /** - * Setter for public.sys_admin.realname. - */ - public void setRealname(String realname) { - this.realname = realname; - } - - /** - * Getter for public.sys_admin.username. - */ - public String getUsername() { - return this.username; - } - - /** - * Setter for public.sys_admin.username. - */ - public void setUsername(String username) { - this.username = username; - } - - /** - * Getter for public.sys_admin.password. - */ - public String getPassword() { - return this.password; - } - - /** - * Setter for public.sys_admin.password. - */ - public void setPassword(String password) { - this.password = password; - } - - /** - * Getter for public.sys_admin.phone. - */ - public String getPhone() { - return this.phone; - } - - /** - * Setter for public.sys_admin.phone. - */ - public void setPhone(String phone) { - this.phone = phone; - } - - /** - * Getter for public.sys_admin.email. - */ - public String getEmail() { - return this.email; - } - - /** - * Setter for public.sys_admin.email. - */ - public void setEmail(String email) { - this.email = email; - } - - /** - * Getter for public.sys_admin.job. - */ - public String getJob() { - return this.job; - } - - /** - * Setter for public.sys_admin.job. - */ - public void setJob(String job) { - this.job = job; - } - - /** - * Getter for public.sys_admin.gender. - */ - public Integer getGender() { - return this.gender; - } - - /** - * Setter for public.sys_admin.gender. - */ - public void setGender(Integer gender) { - this.gender = gender; - } - - /** - * Getter for public.sys_admin.islock. - */ - public Integer getIslock() { - return this.islock; - } - - /** - * Setter for public.sys_admin.islock. - */ - public void setIslock(Integer islock) { - this.islock = islock; - } - - /** - * Getter for public.sys_admin.type. + * Getter for yx.sys_admin.type. 0管理员,1普通用户 */ public Integer getType() { return this.type; } /** - * Setter for public.sys_admin.type. + * Setter for yx.sys_admin.type. 0管理员,1普通用户 */ public void setType(Integer type) { this.type = type; } /** - * Getter for public.sys_admin.sort. + * Getter for yx.sys_admin.realname. */ - public Integer getSort() { - return this.sort; + public String getRealname() { + return this.realname; } /** - * Setter for public.sys_admin.sort. + * Setter for yx.sys_admin.realname. */ - public void setSort(Integer sort) { - this.sort = sort; + public void setRealname(String realname) { + this.realname = realname; } /** - * Getter for public.sys_admin.cer_id. + * Getter for yx.sys_admin.username. */ - public String getCerId() { - return this.cerId; + public String getUsername() { + return this.username; } /** - * Setter for public.sys_admin.cer_id. + * Setter for yx.sys_admin.username. */ - public void setCerId(String cerId) { - this.cerId = cerId; + public void setUsername(String username) { + this.username = username; } /** - * Getter for public.sys_admin.company_id. 公司ID,组织ID的最高级 + * Getter for yx.sys_admin.password. sha3_256hex */ - public String getCompanyId() { - return this.companyId; + public String getPassword() { + return this.password; } /** - * Setter for public.sys_admin.company_id. 公司ID,组织ID的最高级 + * Setter for yx.sys_admin.password. sha3_256hex */ - public void setCompanyId(String companyId) { - this.companyId = companyId; + public void setPassword(String password) { + this.password = password; + } + + /** + * Getter for yx.sys_admin.islock. 0正常,1锁定 + */ + public Integer getIslock() { + return this.islock; + } + + /** + * Setter for yx.sys_admin.islock. 0正常,1锁定 + */ + public void setIslock(Integer islock) { + this.islock = islock; } @Override @@ -298,6 +172,12 @@ public class SysAdmin implements Serializable { } else if (!this.orgId.equals(other.orgId)) return false; + if (this.type == null) { + if (other.type != null) + return false; + } + else if (!this.type.equals(other.type)) + return false; if (this.realname == null) { if (other.realname != null) return false; @@ -316,60 +196,12 @@ public class SysAdmin implements Serializable { } else if (!this.password.equals(other.password)) return false; - if (this.phone == null) { - if (other.phone != null) - return false; - } - else if (!this.phone.equals(other.phone)) - return false; - if (this.email == null) { - if (other.email != null) - return false; - } - else if (!this.email.equals(other.email)) - return false; - if (this.job == null) { - if (other.job != null) - return false; - } - else if (!this.job.equals(other.job)) - return false; - if (this.gender == null) { - if (other.gender != null) - return false; - } - else if (!this.gender.equals(other.gender)) - return false; if (this.islock == null) { if (other.islock != null) return false; } else if (!this.islock.equals(other.islock)) return false; - if (this.type == null) { - if (other.type != null) - return false; - } - else if (!this.type.equals(other.type)) - return false; - if (this.sort == null) { - if (other.sort != null) - return false; - } - else if (!this.sort.equals(other.sort)) - return false; - if (this.cerId == null) { - if (other.cerId != null) - return false; - } - else if (!this.cerId.equals(other.cerId)) - return false; - if (this.companyId == null) { - if (other.companyId != null) - return false; - } - else if (!this.companyId.equals(other.companyId)) - return false; return true; } @@ -379,18 +211,11 @@ public class SysAdmin implements Serializable { int result = 1; result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); result = prime * result + ((this.orgId == null) ? 0 : this.orgId.hashCode()); + result = prime * result + ((this.type == null) ? 0 : this.type.hashCode()); result = prime * result + ((this.realname == null) ? 0 : this.realname.hashCode()); result = prime * result + ((this.username == null) ? 0 : this.username.hashCode()); result = prime * result + ((this.password == null) ? 0 : this.password.hashCode()); - result = prime * result + ((this.phone == null) ? 0 : this.phone.hashCode()); - result = prime * result + ((this.email == null) ? 0 : this.email.hashCode()); - result = prime * result + ((this.job == null) ? 0 : this.job.hashCode()); - result = prime * result + ((this.gender == null) ? 0 : this.gender.hashCode()); result = prime * result + ((this.islock == null) ? 0 : this.islock.hashCode()); - result = prime * result + ((this.type == null) ? 0 : this.type.hashCode()); - result = prime * result + ((this.sort == null) ? 0 : this.sort.hashCode()); - result = prime * result + ((this.cerId == null) ? 0 : this.cerId.hashCode()); - result = prime * result + ((this.companyId == null) ? 0 : this.companyId.hashCode()); return result; } @@ -400,18 +225,11 @@ public class SysAdmin implements Serializable { sb.append(id); sb.append(", ").append(orgId); + sb.append(", ").append(type); sb.append(", ").append(realname); sb.append(", ").append(username); sb.append(", ").append(password); - sb.append(", ").append(phone); - sb.append(", ").append(email); - sb.append(", ").append(job); - sb.append(", ").append(gender); sb.append(", ").append(islock); - sb.append(", ").append(type); - sb.append(", ").append(sort); - sb.append(", ").append(cerId); - sb.append(", ").append(companyId); sb.append(")"); return sb.toString(); diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminMenu.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminMenu.java new file mode 100644 index 0000000..d1c694d --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminMenu.java @@ -0,0 +1,133 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.pojos; + + +import java.io.Serializable; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SysAdminMenu implements Serializable { + + private static final long serialVersionUID = 1L; + + private String id; + private String adminid; + private String memuid; + + public SysAdminMenu() {} + + public SysAdminMenu(SysAdminMenu value) { + this.id = value.id; + this.adminid = value.adminid; + this.memuid = value.memuid; + } + + public SysAdminMenu( + String id, + String adminid, + String memuid + ) { + this.id = id; + this.adminid = adminid; + this.memuid = memuid; + } + + /** + * Getter for yx.sys_admin_menu.id. + */ + public String getId() { + return this.id; + } + + /** + * Setter for yx.sys_admin_menu.id. + */ + public void setId(String id) { + this.id = id; + } + + /** + * Getter for yx.sys_admin_menu.adminid. + */ + public String getAdminid() { + return this.adminid; + } + + /** + * Setter for yx.sys_admin_menu.adminid. + */ + public void setAdminid(String adminid) { + this.adminid = adminid; + } + + /** + * Getter for yx.sys_admin_menu.memuid. + */ + public String getMemuid() { + return this.memuid; + } + + /** + * Setter for yx.sys_admin_menu.memuid. + */ + public void setMemuid(String memuid) { + this.memuid = memuid; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + final SysAdminMenu other = (SysAdminMenu) obj; + if (this.id == null) { + if (other.id != null) + return false; + } + else if (!this.id.equals(other.id)) + return false; + if (this.adminid == null) { + if (other.adminid != null) + return false; + } + else if (!this.adminid.equals(other.adminid)) + return false; + if (this.memuid == null) { + if (other.memuid != null) + return false; + } + else if (!this.memuid.equals(other.memuid)) + return false; + return true; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); + result = prime * result + ((this.adminid == null) ? 0 : this.adminid.hashCode()); + result = prime * result + ((this.memuid == null) ? 0 : this.memuid.hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("SysAdminMenu ("); + + sb.append(id); + sb.append(", ").append(adminid); + sb.append(", ").append(memuid); + + sb.append(")"); + return sb.toString(); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminRole.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminRole.java index e4b6ba5..184f123 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminRole.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminRole.java @@ -16,67 +16,67 @@ public class SysAdminRole implements Serializable { private static final long serialVersionUID = 1L; private String id; - private String adminid; - private String roleid; + private String adminId; + private Integer roleId; public SysAdminRole() {} public SysAdminRole(SysAdminRole value) { this.id = value.id; - this.adminid = value.adminid; - this.roleid = value.roleid; + this.adminId = value.adminId; + this.roleId = value.roleId; } public SysAdminRole( String id, - String adminid, - String roleid + String adminId, + Integer roleId ) { this.id = id; - this.adminid = adminid; - this.roleid = roleid; + this.adminId = adminId; + this.roleId = roleId; } /** - * Getter for public.sys_admin_role.id. + * Getter for yx.sys_admin_role.id. */ public String getId() { return this.id; } /** - * Setter for public.sys_admin_role.id. + * Setter for yx.sys_admin_role.id. */ public void setId(String id) { this.id = id; } /** - * Getter for public.sys_admin_role.adminid. + * Getter for yx.sys_admin_role.admin_id. */ - public String getAdminid() { - return this.adminid; + public String getAdminId() { + return this.adminId; } /** - * Setter for public.sys_admin_role.adminid. + * Setter for yx.sys_admin_role.admin_id. */ - public void setAdminid(String adminid) { - this.adminid = adminid; + public void setAdminId(String adminId) { + this.adminId = adminId; } /** - * Getter for public.sys_admin_role.roleid. + * Getter for yx.sys_admin_role.role_id. */ - public String getRoleid() { - return this.roleid; + public Integer getRoleId() { + return this.roleId; } /** - * Setter for public.sys_admin_role.roleid. + * Setter for yx.sys_admin_role.role_id. */ - public void setRoleid(String roleid) { - this.roleid = roleid; + public void setRoleId(Integer roleId) { + this.roleId = roleId; } @Override @@ -94,17 +94,17 @@ public class SysAdminRole implements Serializable { } else if (!this.id.equals(other.id)) return false; - if (this.adminid == null) { - if (other.adminid != null) + if (this.adminId == null) { + if (other.adminId != null) return false; } - else if (!this.adminid.equals(other.adminid)) + else if (!this.adminId.equals(other.adminId)) return false; - if (this.roleid == null) { - if (other.roleid != null) + if (this.roleId == null) { + if (other.roleId != null) return false; } - else if (!this.roleid.equals(other.roleid)) + else if (!this.roleId.equals(other.roleId)) return false; return true; } @@ -114,8 +114,8 @@ public class SysAdminRole implements Serializable { final int prime = 31; int result = 1; result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.adminid == null) ? 0 : this.adminid.hashCode()); - result = prime * result + ((this.roleid == null) ? 0 : this.roleid.hashCode()); + result = prime * result + ((this.adminId == null) ? 0 : this.adminId.hashCode()); + result = prime * result + ((this.roleId == null) ? 0 : this.roleId.hashCode()); return result; } @@ -124,8 +124,8 @@ public class SysAdminRole implements Serializable { StringBuilder sb = new StringBuilder("SysAdminRole ("); sb.append(id); - sb.append(", ").append(adminid); - sb.append(", ").append(roleid); + sb.append(", ").append(adminId); + sb.append(", ").append(roleId); sb.append(")"); return sb.toString(); diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminWeid.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminWeid.java deleted file mode 100644 index 1b650bd..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminWeid.java +++ /dev/null @@ -1,238 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysAdminWeid implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String adminId; - private String wid; - private String wprivateKey; - private LocalDateTime addTime; - private String certificateHash; - private String chainBlock; - - public SysAdminWeid() {} - - public SysAdminWeid(SysAdminWeid value) { - this.id = value.id; - this.adminId = value.adminId; - this.wid = value.wid; - this.wprivateKey = value.wprivateKey; - this.addTime = value.addTime; - this.certificateHash = value.certificateHash; - this.chainBlock = value.chainBlock; - } - - public SysAdminWeid( - String id, - String adminId, - String wid, - String wprivateKey, - LocalDateTime addTime, - String certificateHash, - String chainBlock - ) { - this.id = id; - this.adminId = adminId; - this.wid = wid; - this.wprivateKey = wprivateKey; - this.addTime = addTime; - this.certificateHash = certificateHash; - this.chainBlock = chainBlock; - } - - /** - * Getter for public.sys_admin_weid.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.sys_admin_weid.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.sys_admin_weid.admin_id. - */ - public String getAdminId() { - return this.adminId; - } - - /** - * Setter for public.sys_admin_weid.admin_id. - */ - public void setAdminId(String adminId) { - this.adminId = adminId; - } - - /** - * Getter for public.sys_admin_weid.wid. - */ - public String getWid() { - return this.wid; - } - - /** - * Setter for public.sys_admin_weid.wid. - */ - public void setWid(String wid) { - this.wid = wid; - } - - /** - * Getter for public.sys_admin_weid.wprivate_key. - */ - public String getWprivateKey() { - return this.wprivateKey; - } - - /** - * Setter for public.sys_admin_weid.wprivate_key. - */ - public void setWprivateKey(String wprivateKey) { - this.wprivateKey = wprivateKey; - } - - /** - * Getter for public.sys_admin_weid.add_time. - */ - public LocalDateTime getAddTime() { - return this.addTime; - } - - /** - * Setter for public.sys_admin_weid.add_time. - */ - public void setAddTime(LocalDateTime addTime) { - this.addTime = addTime; - } - - /** - * Getter for public.sys_admin_weid.certificate_hash. 存证哈希 - */ - public String getCertificateHash() { - return this.certificateHash; - } - - /** - * Setter for public.sys_admin_weid.certificate_hash. 存证哈希 - */ - public void setCertificateHash(String certificateHash) { - this.certificateHash = certificateHash; - } - - /** - * Getter for public.sys_admin_weid.chain_block. - */ - public String getChainBlock() { - return this.chainBlock; - } - - /** - * Setter for public.sys_admin_weid.chain_block. - */ - public void setChainBlock(String chainBlock) { - this.chainBlock = chainBlock; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final SysAdminWeid other = (SysAdminWeid) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.adminId == null) { - if (other.adminId != null) - return false; - } - else if (!this.adminId.equals(other.adminId)) - return false; - if (this.wid == null) { - if (other.wid != null) - return false; - } - else if (!this.wid.equals(other.wid)) - return false; - if (this.wprivateKey == null) { - if (other.wprivateKey != null) - return false; - } - else if (!this.wprivateKey.equals(other.wprivateKey)) - return false; - if (this.addTime == null) { - if (other.addTime != null) - return false; - } - else if (!this.addTime.equals(other.addTime)) - return false; - if (this.certificateHash == null) { - if (other.certificateHash != null) - return false; - } - else if (!this.certificateHash.equals(other.certificateHash)) - return false; - if (this.chainBlock == null) { - if (other.chainBlock != null) - return false; - } - else if (!this.chainBlock.equals(other.chainBlock)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.adminId == null) ? 0 : this.adminId.hashCode()); - result = prime * result + ((this.wid == null) ? 0 : this.wid.hashCode()); - result = prime * result + ((this.wprivateKey == null) ? 0 : this.wprivateKey.hashCode()); - result = prime * result + ((this.addTime == null) ? 0 : this.addTime.hashCode()); - result = prime * result + ((this.certificateHash == null) ? 0 : this.certificateHash.hashCode()); - result = prime * result + ((this.chainBlock == null) ? 0 : this.chainBlock.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("SysAdminWeid ("); - - sb.append(id); - sb.append(", ").append(adminId); - sb.append(", ").append(wid); - sb.append(", ").append(wprivateKey); - sb.append(", ").append(addTime); - sb.append(", ").append(certificateHash); - sb.append(", ").append(chainBlock); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysArea.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysArea.java deleted file mode 100644 index cf97620..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysArea.java +++ /dev/null @@ -1,237 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysArea implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private Short levelCode; - private String parentCode; - private String areaCode; - private String name; - private String pid; - private String pids; - - public SysArea() {} - - public SysArea(SysArea value) { - this.id = value.id; - this.levelCode = value.levelCode; - this.parentCode = value.parentCode; - this.areaCode = value.areaCode; - this.name = value.name; - this.pid = value.pid; - this.pids = value.pids; - } - - public SysArea( - String id, - Short levelCode, - String parentCode, - String areaCode, - String name, - String pid, - String pids - ) { - this.id = id; - this.levelCode = levelCode; - this.parentCode = parentCode; - this.areaCode = areaCode; - this.name = name; - this.pid = pid; - this.pids = pids; - } - - /** - * Getter for public.sys_area.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.sys_area.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.sys_area.level_code. - */ - public Short getLevelCode() { - return this.levelCode; - } - - /** - * Setter for public.sys_area.level_code. - */ - public void setLevelCode(Short levelCode) { - this.levelCode = levelCode; - } - - /** - * Getter for public.sys_area.parent_code. - */ - public String getParentCode() { - return this.parentCode; - } - - /** - * Setter for public.sys_area.parent_code. - */ - public void setParentCode(String parentCode) { - this.parentCode = parentCode; - } - - /** - * Getter for public.sys_area.area_code. - */ - public String getAreaCode() { - return this.areaCode; - } - - /** - * Setter for public.sys_area.area_code. - */ - public void setAreaCode(String areaCode) { - this.areaCode = areaCode; - } - - /** - * Getter for public.sys_area.name. - */ - public String getName() { - return this.name; - } - - /** - * Setter for public.sys_area.name. - */ - public void setName(String name) { - this.name = name; - } - - /** - * Getter for public.sys_area.pid. - */ - public String getPid() { - return this.pid; - } - - /** - * Setter for public.sys_area.pid. - */ - public void setPid(String pid) { - this.pid = pid; - } - - /** - * Getter for public.sys_area.pids. - */ - public String getPids() { - return this.pids; - } - - /** - * Setter for public.sys_area.pids. - */ - public void setPids(String pids) { - this.pids = pids; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final SysArea other = (SysArea) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.levelCode == null) { - if (other.levelCode != null) - return false; - } - else if (!this.levelCode.equals(other.levelCode)) - return false; - if (this.parentCode == null) { - if (other.parentCode != null) - return false; - } - else if (!this.parentCode.equals(other.parentCode)) - return false; - if (this.areaCode == null) { - if (other.areaCode != null) - return false; - } - else if (!this.areaCode.equals(other.areaCode)) - return false; - if (this.name == null) { - if (other.name != null) - return false; - } - else if (!this.name.equals(other.name)) - return false; - if (this.pid == null) { - if (other.pid != null) - return false; - } - else if (!this.pid.equals(other.pid)) - return false; - if (this.pids == null) { - if (other.pids != null) - return false; - } - else if (!this.pids.equals(other.pids)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.levelCode == null) ? 0 : this.levelCode.hashCode()); - result = prime * result + ((this.parentCode == null) ? 0 : this.parentCode.hashCode()); - result = prime * result + ((this.areaCode == null) ? 0 : this.areaCode.hashCode()); - result = prime * result + ((this.name == null) ? 0 : this.name.hashCode()); - result = prime * result + ((this.pid == null) ? 0 : this.pid.hashCode()); - result = prime * result + ((this.pids == null) ? 0 : this.pids.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("SysArea ("); - - sb.append(id); - sb.append(", ").append(levelCode); - sb.append(", ").append(parentCode); - sb.append(", ").append(areaCode); - sb.append(", ").append(name); - sb.append(", ").append(pid); - sb.append(", ").append(pids); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysConfig.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysConfig.java index 59f9419..4946aa0 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysConfig.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysConfig.java @@ -18,7 +18,7 @@ public class SysConfig implements Serializable { private String id; private String subgroup; - private String keys; + private String k; private String val; private String adminId; private String adminname; @@ -29,7 +29,7 @@ public class SysConfig implements Serializable { public SysConfig(SysConfig value) { this.id = value.id; this.subgroup = value.subgroup; - this.keys = value.keys; + this.k = value.k; this.val = value.val; this.adminId = value.adminId; this.adminname = value.adminname; @@ -39,7 +39,7 @@ public class SysConfig implements Serializable { public SysConfig( String id, String subgroup, - String keys, + String k, String val, String adminId, String adminname, @@ -47,7 +47,7 @@ public class SysConfig implements Serializable { ) { this.id = id; this.subgroup = subgroup; - this.keys = keys; + this.k = k; this.val = val; this.adminId = adminId; this.adminname = adminname; @@ -55,98 +55,98 @@ public class SysConfig implements Serializable { } /** - * Getter for public.sys_config.id. + * Getter for yx.sys_config.id. */ public String getId() { return this.id; } /** - * Setter for public.sys_config.id. + * Setter for yx.sys_config.id. */ public void setId(String id) { this.id = id; } /** - * Getter for public.sys_config.subgroup. + * Getter for yx.sys_config.subgroup. 分组 */ public String getSubgroup() { return this.subgroup; } /** - * Setter for public.sys_config.subgroup. + * Setter for yx.sys_config.subgroup. 分组 */ public void setSubgroup(String subgroup) { this.subgroup = subgroup; } /** - * Getter for public.sys_config.keys. + * Getter for yx.sys_config.k. 键 */ - public String getKeys() { - return this.keys; + public String getK() { + return this.k; } /** - * Setter for public.sys_config.keys. + * Setter for yx.sys_config.k. 键 */ - public void setKeys(String keys) { - this.keys = keys; + public void setK(String k) { + this.k = k; } /** - * Getter for public.sys_config.val. + * Getter for yx.sys_config.val. 值 */ public String getVal() { return this.val; } /** - * Setter for public.sys_config.val. + * Setter for yx.sys_config.val. 值 */ public void setVal(String val) { this.val = val; } /** - * Getter for public.sys_config.admin_id. + * Getter for yx.sys_config.admin_id. 管理员id */ public String getAdminId() { return this.adminId; } /** - * Setter for public.sys_config.admin_id. + * Setter for yx.sys_config.admin_id. 管理员id */ public void setAdminId(String adminId) { this.adminId = adminId; } /** - * Getter for public.sys_config.adminname. + * Getter for yx.sys_config.adminname. 管理员名称 */ public String getAdminname() { return this.adminname; } /** - * Setter for public.sys_config.adminname. + * Setter for yx.sys_config.adminname. 管理员名称 */ public void setAdminname(String adminname) { this.adminname = adminname; } /** - * Getter for public.sys_config.edittime. + * Getter for yx.sys_config.edittime. 最后编辑时间 */ public LocalDateTime getEdittime() { return this.edittime; } /** - * Setter for public.sys_config.edittime. + * Setter for yx.sys_config.edittime. 最后编辑时间 */ public void setEdittime(LocalDateTime edittime) { this.edittime = edittime; @@ -173,11 +173,11 @@ public class SysConfig implements Serializable { } else if (!this.subgroup.equals(other.subgroup)) return false; - if (this.keys == null) { - if (other.keys != null) + if (this.k == null) { + if (other.k != null) return false; } - else if (!this.keys.equals(other.keys)) + else if (!this.k.equals(other.k)) return false; if (this.val == null) { if (other.val != null) @@ -212,7 +212,7 @@ public class SysConfig implements Serializable { int result = 1; result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); result = prime * result + ((this.subgroup == null) ? 0 : this.subgroup.hashCode()); - result = prime * result + ((this.keys == null) ? 0 : this.keys.hashCode()); + result = prime * result + ((this.k == null) ? 0 : this.k.hashCode()); result = prime * result + ((this.val == null) ? 0 : this.val.hashCode()); result = prime * result + ((this.adminId == null) ? 0 : this.adminId.hashCode()); result = prime * result + ((this.adminname == null) ? 0 : this.adminname.hashCode()); @@ -226,7 +226,7 @@ public class SysConfig implements Serializable { sb.append(id); sb.append(", ").append(subgroup); - sb.append(", ").append(keys); + sb.append(", ").append(k); sb.append(", ").append(val); sb.append(", ").append(adminId); sb.append(", ").append(adminname); diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysMenu.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysMenu.java index 6694996..cda250d 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysMenu.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysMenu.java @@ -25,7 +25,6 @@ public class SysMenu implements Serializable { private Integer isOpen; private String description; private Integer sort; - private String parentpath; public SysMenu() {} @@ -40,7 +39,6 @@ public class SysMenu implements Serializable { this.isOpen = value.isOpen; this.description = value.description; this.sort = value.sort; - this.parentpath = value.parentpath; } public SysMenu( @@ -53,8 +51,7 @@ public class SysMenu implements Serializable { String icon, Integer isOpen, String description, - Integer sort, - String parentpath + Integer sort ) { this.id = id; this.parentId = parentId; @@ -66,163 +63,148 @@ public class SysMenu implements Serializable { this.isOpen = isOpen; this.description = description; this.sort = sort; - this.parentpath = parentpath; } /** - * Getter for public.sys_menu.id. + * Getter for yx.sys_menu.id. */ public String getId() { return this.id; } /** - * Setter for public.sys_menu.id. + * Setter for yx.sys_menu.id. */ public void setId(String id) { this.id = id; } /** - * Getter for public.sys_menu.parent_id. + * Getter for yx.sys_menu.parent_id. */ public String getParentId() { return this.parentId; } /** - * Setter for public.sys_menu.parent_id. + * Setter for yx.sys_menu.parent_id. */ public void setParentId(String parentId) { this.parentId = parentId; } /** - * Getter for public.sys_menu.level. + * Getter for yx.sys_menu.level. */ public Integer getLevel() { return this.level; } /** - * Setter for public.sys_menu.level. + * Setter for yx.sys_menu.level. */ public void setLevel(Integer level) { this.level = level; } /** - * Getter for public.sys_menu.name. + * Getter for yx.sys_menu.name. */ public String getName() { return this.name; } /** - * Setter for public.sys_menu.name. + * Setter for yx.sys_menu.name. */ public void setName(String name) { this.name = name; } /** - * Getter for public.sys_menu.types. + * Getter for yx.sys_menu.types. menu,url */ public String getTypes() { return this.types; } /** - * Setter for public.sys_menu.types. + * Setter for yx.sys_menu.types. menu,url */ public void setTypes(String types) { this.types = types; } /** - * Getter for public.sys_menu.url. + * Getter for yx.sys_menu.url. */ public String getUrl() { return this.url; } /** - * Setter for public.sys_menu.url. + * Setter for yx.sys_menu.url. */ public void setUrl(String url) { this.url = url; } /** - * Getter for public.sys_menu.icon. + * Getter for yx.sys_menu.icon. */ public String getIcon() { return this.icon; } /** - * Setter for public.sys_menu.icon. + * Setter for yx.sys_menu.icon. */ public void setIcon(String icon) { this.icon = icon; } /** - * Getter for public.sys_menu.is_open. + * Getter for yx.sys_menu.is_open. */ public Integer getIsOpen() { return this.isOpen; } /** - * Setter for public.sys_menu.is_open. + * Setter for yx.sys_menu.is_open. */ public void setIsOpen(Integer isOpen) { this.isOpen = isOpen; } /** - * Getter for public.sys_menu.description. + * Getter for yx.sys_menu.description. */ public String getDescription() { return this.description; } /** - * Setter for public.sys_menu.description. + * Setter for yx.sys_menu.description. */ public void setDescription(String description) { this.description = description; } /** - * Getter for public.sys_menu.sort. + * Getter for yx.sys_menu.sort. */ public Integer getSort() { return this.sort; } /** - * Setter for public.sys_menu.sort. + * Setter for yx.sys_menu.sort. */ public void setSort(Integer sort) { this.sort = sort; } - /** - * Getter for public.sys_menu.parentpath. - */ - public String getParentpath() { - return this.parentpath; - } - - /** - * Setter for public.sys_menu.parentpath. - */ - public void setParentpath(String parentpath) { - this.parentpath = parentpath; - } - @Override public boolean equals(Object obj) { if (this == obj) @@ -292,12 +274,6 @@ public class SysMenu implements Serializable { } else if (!this.sort.equals(other.sort)) return false; - if (this.parentpath == null) { - if (other.parentpath != null) - return false; - } - else if (!this.parentpath.equals(other.parentpath)) - return false; return true; } @@ -315,7 +291,6 @@ public class SysMenu implements Serializable { result = prime * result + ((this.isOpen == null) ? 0 : this.isOpen.hashCode()); result = prime * result + ((this.description == null) ? 0 : this.description.hashCode()); result = prime * result + ((this.sort == null) ? 0 : this.sort.hashCode()); - result = prime * result + ((this.parentpath == null) ? 0 : this.parentpath.hashCode()); return result; } @@ -333,7 +308,6 @@ public class SysMenu implements Serializable { sb.append(", ").append(isOpen); sb.append(", ").append(description); sb.append(", ").append(sort); - sb.append(", ").append(parentpath); sb.append(")"); return sb.toString(); diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysOrg.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysOrg.java index 7021ab2..093a758 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysOrg.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysOrg.java @@ -5,7 +5,6 @@ package jj.tech.paolu.repository.jooq.tables.pojos; import java.io.Serializable; -import java.time.LocalDateTime; /** @@ -18,554 +17,86 @@ public class SysOrg implements Serializable { private String id; private String pid; - private String chineseSimpleName; - private String englishSimpleName; - private String chineseFullName; - private String englishFullName; - private String code; - private Integer sort; private Integer status; - private Integer isCompanyDepartment; - private String enterpriseLegalPerson; - private String contactPerson; - private String contactPhone; - private String remark; - private LocalDateTime createTime; - private String createUser; - private LocalDateTime updateTime; - private String updateUser; - private String name; - private String industryName; - private String industryCode; - private String provinceCode; - private String cityCode; - private String areaCode; - private String addr; - private String uscc; private String orgType; - private Integer isArchivesDep; - private String cerId; - private Integer isForbidden; public SysOrg() {} public SysOrg(SysOrg value) { this.id = value.id; this.pid = value.pid; - this.chineseSimpleName = value.chineseSimpleName; - this.englishSimpleName = value.englishSimpleName; - this.chineseFullName = value.chineseFullName; - this.englishFullName = value.englishFullName; - this.code = value.code; - this.sort = value.sort; this.status = value.status; - this.isCompanyDepartment = value.isCompanyDepartment; - this.enterpriseLegalPerson = value.enterpriseLegalPerson; - this.contactPerson = value.contactPerson; - this.contactPhone = value.contactPhone; - this.remark = value.remark; - this.createTime = value.createTime; - this.createUser = value.createUser; - this.updateTime = value.updateTime; - this.updateUser = value.updateUser; - this.name = value.name; - this.industryName = value.industryName; - this.industryCode = value.industryCode; - this.provinceCode = value.provinceCode; - this.cityCode = value.cityCode; - this.areaCode = value.areaCode; - this.addr = value.addr; - this.uscc = value.uscc; this.orgType = value.orgType; - this.isArchivesDep = value.isArchivesDep; - this.cerId = value.cerId; - this.isForbidden = value.isForbidden; } public SysOrg( String id, String pid, - String chineseSimpleName, - String englishSimpleName, - String chineseFullName, - String englishFullName, - String code, - Integer sort, Integer status, - Integer isCompanyDepartment, - String enterpriseLegalPerson, - String contactPerson, - String contactPhone, - String remark, - LocalDateTime createTime, - String createUser, - LocalDateTime updateTime, - String updateUser, - String name, - String industryName, - String industryCode, - String provinceCode, - String cityCode, - String areaCode, - String addr, - String uscc, - String orgType, - Integer isArchivesDep, - String cerId, - Integer isForbidden + String orgType ) { this.id = id; this.pid = pid; - this.chineseSimpleName = chineseSimpleName; - this.englishSimpleName = englishSimpleName; - this.chineseFullName = chineseFullName; - this.englishFullName = englishFullName; - this.code = code; - this.sort = sort; this.status = status; - this.isCompanyDepartment = isCompanyDepartment; - this.enterpriseLegalPerson = enterpriseLegalPerson; - this.contactPerson = contactPerson; - this.contactPhone = contactPhone; - this.remark = remark; - this.createTime = createTime; - this.createUser = createUser; - this.updateTime = updateTime; - this.updateUser = updateUser; - this.name = name; - this.industryName = industryName; - this.industryCode = industryCode; - this.provinceCode = provinceCode; - this.cityCode = cityCode; - this.areaCode = areaCode; - this.addr = addr; - this.uscc = uscc; this.orgType = orgType; - this.isArchivesDep = isArchivesDep; - this.cerId = cerId; - this.isForbidden = isForbidden; } /** - * Getter for public.sys_org.id. + * Getter for yx.sys_org.id. */ public String getId() { return this.id; } /** - * Setter for public.sys_org.id. + * Setter for yx.sys_org.id. */ public void setId(String id) { this.id = id; } /** - * Getter for public.sys_org.pid. + * Getter for yx.sys_org.pid. */ public String getPid() { return this.pid; } /** - * Setter for public.sys_org.pid. + * Setter for yx.sys_org.pid. */ public void setPid(String pid) { this.pid = pid; } /** - * Getter for public.sys_org.chinese_simple_name. - */ - public String getChineseSimpleName() { - return this.chineseSimpleName; - } - - /** - * Setter for public.sys_org.chinese_simple_name. - */ - public void setChineseSimpleName(String chineseSimpleName) { - this.chineseSimpleName = chineseSimpleName; - } - - /** - * Getter for public.sys_org.english_simple_name. - */ - public String getEnglishSimpleName() { - return this.englishSimpleName; - } - - /** - * Setter for public.sys_org.english_simple_name. - */ - public void setEnglishSimpleName(String englishSimpleName) { - this.englishSimpleName = englishSimpleName; - } - - /** - * Getter for public.sys_org.chinese_full_name. - */ - public String getChineseFullName() { - return this.chineseFullName; - } - - /** - * Setter for public.sys_org.chinese_full_name. - */ - public void setChineseFullName(String chineseFullName) { - this.chineseFullName = chineseFullName; - } - - /** - * Getter for public.sys_org.english_full_name. - */ - public String getEnglishFullName() { - return this.englishFullName; - } - - /** - * Setter for public.sys_org.english_full_name. - */ - public void setEnglishFullName(String englishFullName) { - this.englishFullName = englishFullName; - } - - /** - * Getter for public.sys_org.code. - */ - public String getCode() { - return this.code; - } - - /** - * Setter for public.sys_org.code. - */ - public void setCode(String code) { - this.code = code; - } - - /** - * Getter for public.sys_org.sort. - */ - public Integer getSort() { - return this.sort; - } - - /** - * Setter for public.sys_org.sort. - */ - public void setSort(Integer sort) { - this.sort = sort; - } - - /** - * Getter for public.sys_org.status. + * Getter for yx.sys_org.status. */ public Integer getStatus() { return this.status; } /** - * Setter for public.sys_org.status. + * Setter for yx.sys_org.status. */ public void setStatus(Integer status) { this.status = status; } /** - * Getter for public.sys_org.is_company_department. - */ - public Integer getIsCompanyDepartment() { - return this.isCompanyDepartment; - } - - /** - * Setter for public.sys_org.is_company_department. - */ - public void setIsCompanyDepartment(Integer isCompanyDepartment) { - this.isCompanyDepartment = isCompanyDepartment; - } - - /** - * Getter for public.sys_org.enterprise_legal_person. - */ - public String getEnterpriseLegalPerson() { - return this.enterpriseLegalPerson; - } - - /** - * Setter for public.sys_org.enterprise_legal_person. - */ - public void setEnterpriseLegalPerson(String enterpriseLegalPerson) { - this.enterpriseLegalPerson = enterpriseLegalPerson; - } - - /** - * Getter for public.sys_org.contact_person. - */ - public String getContactPerson() { - return this.contactPerson; - } - - /** - * Setter for public.sys_org.contact_person. - */ - public void setContactPerson(String contactPerson) { - this.contactPerson = contactPerson; - } - - /** - * Getter for public.sys_org.contact_phone. - */ - public String getContactPhone() { - return this.contactPhone; - } - - /** - * Setter for public.sys_org.contact_phone. - */ - public void setContactPhone(String contactPhone) { - this.contactPhone = contactPhone; - } - - /** - * Getter for public.sys_org.remark. - */ - public String getRemark() { - return this.remark; - } - - /** - * Setter for public.sys_org.remark. - */ - public void setRemark(String remark) { - this.remark = remark; - } - - /** - * Getter for public.sys_org.create_time. - */ - public LocalDateTime getCreateTime() { - return this.createTime; - } - - /** - * Setter for public.sys_org.create_time. - */ - public void setCreateTime(LocalDateTime createTime) { - this.createTime = createTime; - } - - /** - * Getter for public.sys_org.create_user. - */ - public String getCreateUser() { - return this.createUser; - } - - /** - * Setter for public.sys_org.create_user. - */ - public void setCreateUser(String createUser) { - this.createUser = createUser; - } - - /** - * Getter for public.sys_org.update_time. - */ - public LocalDateTime getUpdateTime() { - return this.updateTime; - } - - /** - * Setter for public.sys_org.update_time. - */ - public void setUpdateTime(LocalDateTime updateTime) { - this.updateTime = updateTime; - } - - /** - * Getter for public.sys_org.update_user. - */ - public String getUpdateUser() { - return this.updateUser; - } - - /** - * Setter for public.sys_org.update_user. - */ - public void setUpdateUser(String updateUser) { - this.updateUser = updateUser; - } - - /** - * Getter for public.sys_org.name. - */ - public String getName() { - return this.name; - } - - /** - * Setter for public.sys_org.name. - */ - public void setName(String name) { - this.name = name; - } - - /** - * Getter for public.sys_org.industry_name. - */ - public String getIndustryName() { - return this.industryName; - } - - /** - * Setter for public.sys_org.industry_name. - */ - public void setIndustryName(String industryName) { - this.industryName = industryName; - } - - /** - * Getter for public.sys_org.industry_code. - */ - public String getIndustryCode() { - return this.industryCode; - } - - /** - * Setter for public.sys_org.industry_code. - */ - public void setIndustryCode(String industryCode) { - this.industryCode = industryCode; - } - - /** - * Getter for public.sys_org.province_code. - */ - public String getProvinceCode() { - return this.provinceCode; - } - - /** - * Setter for public.sys_org.province_code. - */ - public void setProvinceCode(String provinceCode) { - this.provinceCode = provinceCode; - } - - /** - * Getter for public.sys_org.city_code. - */ - public String getCityCode() { - return this.cityCode; - } - - /** - * Setter for public.sys_org.city_code. - */ - public void setCityCode(String cityCode) { - this.cityCode = cityCode; - } - - /** - * Getter for public.sys_org.area_code. - */ - public String getAreaCode() { - return this.areaCode; - } - - /** - * Setter for public.sys_org.area_code. - */ - public void setAreaCode(String areaCode) { - this.areaCode = areaCode; - } - - /** - * Getter for public.sys_org.addr. - */ - public String getAddr() { - return this.addr; - } - - /** - * Setter for public.sys_org.addr. - */ - public void setAddr(String addr) { - this.addr = addr; - } - - /** - * Getter for public.sys_org.uscc. - */ - public String getUscc() { - return this.uscc; - } - - /** - * Setter for public.sys_org.uscc. - */ - public void setUscc(String uscc) { - this.uscc = uscc; - } - - /** - * Getter for public.sys_org.org_type. + * Getter for yx.sys_org.org_type. */ public String getOrgType() { return this.orgType; } /** - * Setter for public.sys_org.org_type. + * Setter for yx.sys_org.org_type. */ public void setOrgType(String orgType) { this.orgType = orgType; } - /** - * Getter for public.sys_org.is_archives_dep. - */ - public Integer getIsArchivesDep() { - return this.isArchivesDep; - } - - /** - * Setter for public.sys_org.is_archives_dep. - */ - public void setIsArchivesDep(Integer isArchivesDep) { - this.isArchivesDep = isArchivesDep; - } - - /** - * Getter for public.sys_org.cer_id. - */ - public String getCerId() { - return this.cerId; - } - - /** - * Setter for public.sys_org.cer_id. - */ - public void setCerId(String cerId) { - this.cerId = cerId; - } - - /** - * Getter for public.sys_org.is_forbidden. - */ - public Integer getIsForbidden() { - return this.isForbidden; - } - - /** - * Setter for public.sys_org.is_forbidden. - */ - public void setIsForbidden(Integer isForbidden) { - this.isForbidden = isForbidden; - } - @Override public boolean equals(Object obj) { if (this == obj) @@ -587,174 +118,18 @@ public class SysOrg implements Serializable { } else if (!this.pid.equals(other.pid)) return false; - if (this.chineseSimpleName == null) { - if (other.chineseSimpleName != null) - return false; - } - else if (!this.chineseSimpleName.equals(other.chineseSimpleName)) - return false; - if (this.englishSimpleName == null) { - if (other.englishSimpleName != null) - return false; - } - else if (!this.englishSimpleName.equals(other.englishSimpleName)) - return false; - if (this.chineseFullName == null) { - if (other.chineseFullName != null) - return false; - } - else if (!this.chineseFullName.equals(other.chineseFullName)) - return false; - if (this.englishFullName == null) { - if (other.englishFullName != null) - return false; - } - else if (!this.englishFullName.equals(other.englishFullName)) - return false; - if (this.code == null) { - if (other.code != null) - return false; - } - else if (!this.code.equals(other.code)) - return false; - if (this.sort == null) { - if (other.sort != null) - return false; - } - else if (!this.sort.equals(other.sort)) - return false; if (this.status == null) { if (other.status != null) return false; } else if (!this.status.equals(other.status)) return false; - if (this.isCompanyDepartment == null) { - if (other.isCompanyDepartment != null) - return false; - } - else if (!this.isCompanyDepartment.equals(other.isCompanyDepartment)) - return false; - if (this.enterpriseLegalPerson == null) { - if (other.enterpriseLegalPerson != null) - return false; - } - else if (!this.enterpriseLegalPerson.equals(other.enterpriseLegalPerson)) - return false; - if (this.contactPerson == null) { - if (other.contactPerson != null) - return false; - } - else if (!this.contactPerson.equals(other.contactPerson)) - return false; - if (this.contactPhone == null) { - if (other.contactPhone != null) - return false; - } - else if (!this.contactPhone.equals(other.contactPhone)) - return false; - if (this.remark == null) { - if (other.remark != null) - return false; - } - else if (!this.remark.equals(other.remark)) - return false; - if (this.createTime == null) { - if (other.createTime != null) - return false; - } - else if (!this.createTime.equals(other.createTime)) - return false; - if (this.createUser == null) { - if (other.createUser != null) - return false; - } - else if (!this.createUser.equals(other.createUser)) - return false; - if (this.updateTime == null) { - if (other.updateTime != null) - return false; - } - else if (!this.updateTime.equals(other.updateTime)) - return false; - if (this.updateUser == null) { - if (other.updateUser != null) - return false; - } - else if (!this.updateUser.equals(other.updateUser)) - return false; - if (this.name == null) { - if (other.name != null) - return false; - } - else if (!this.name.equals(other.name)) - return false; - if (this.industryName == null) { - if (other.industryName != null) - return false; - } - else if (!this.industryName.equals(other.industryName)) - return false; - if (this.industryCode == null) { - if (other.industryCode != null) - return false; - } - else if (!this.industryCode.equals(other.industryCode)) - return false; - if (this.provinceCode == null) { - if (other.provinceCode != null) - return false; - } - else if (!this.provinceCode.equals(other.provinceCode)) - return false; - if (this.cityCode == null) { - if (other.cityCode != null) - return false; - } - else if (!this.cityCode.equals(other.cityCode)) - return false; - if (this.areaCode == null) { - if (other.areaCode != null) - return false; - } - else if (!this.areaCode.equals(other.areaCode)) - return false; - if (this.addr == null) { - if (other.addr != null) - return false; - } - else if (!this.addr.equals(other.addr)) - return false; - if (this.uscc == null) { - if (other.uscc != null) - return false; - } - else if (!this.uscc.equals(other.uscc)) - return false; if (this.orgType == null) { if (other.orgType != null) return false; } else if (!this.orgType.equals(other.orgType)) return false; - if (this.isArchivesDep == null) { - if (other.isArchivesDep != null) - return false; - } - else if (!this.isArchivesDep.equals(other.isArchivesDep)) - return false; - if (this.cerId == null) { - if (other.cerId != null) - return false; - } - else if (!this.cerId.equals(other.cerId)) - return false; - if (this.isForbidden == null) { - if (other.isForbidden != null) - return false; - } - else if (!this.isForbidden.equals(other.isForbidden)) - return false; return true; } @@ -764,34 +139,8 @@ public class SysOrg implements Serializable { int result = 1; result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); result = prime * result + ((this.pid == null) ? 0 : this.pid.hashCode()); - result = prime * result + ((this.chineseSimpleName == null) ? 0 : this.chineseSimpleName.hashCode()); - result = prime * result + ((this.englishSimpleName == null) ? 0 : this.englishSimpleName.hashCode()); - result = prime * result + ((this.chineseFullName == null) ? 0 : this.chineseFullName.hashCode()); - result = prime * result + ((this.englishFullName == null) ? 0 : this.englishFullName.hashCode()); - result = prime * result + ((this.code == null) ? 0 : this.code.hashCode()); - result = prime * result + ((this.sort == null) ? 0 : this.sort.hashCode()); result = prime * result + ((this.status == null) ? 0 : this.status.hashCode()); - result = prime * result + ((this.isCompanyDepartment == null) ? 0 : this.isCompanyDepartment.hashCode()); - result = prime * result + ((this.enterpriseLegalPerson == null) ? 0 : this.enterpriseLegalPerson.hashCode()); - result = prime * result + ((this.contactPerson == null) ? 0 : this.contactPerson.hashCode()); - result = prime * result + ((this.contactPhone == null) ? 0 : this.contactPhone.hashCode()); - result = prime * result + ((this.remark == null) ? 0 : this.remark.hashCode()); - result = prime * result + ((this.createTime == null) ? 0 : this.createTime.hashCode()); - result = prime * result + ((this.createUser == null) ? 0 : this.createUser.hashCode()); - result = prime * result + ((this.updateTime == null) ? 0 : this.updateTime.hashCode()); - result = prime * result + ((this.updateUser == null) ? 0 : this.updateUser.hashCode()); - result = prime * result + ((this.name == null) ? 0 : this.name.hashCode()); - result = prime * result + ((this.industryName == null) ? 0 : this.industryName.hashCode()); - result = prime * result + ((this.industryCode == null) ? 0 : this.industryCode.hashCode()); - result = prime * result + ((this.provinceCode == null) ? 0 : this.provinceCode.hashCode()); - result = prime * result + ((this.cityCode == null) ? 0 : this.cityCode.hashCode()); - result = prime * result + ((this.areaCode == null) ? 0 : this.areaCode.hashCode()); - result = prime * result + ((this.addr == null) ? 0 : this.addr.hashCode()); - result = prime * result + ((this.uscc == null) ? 0 : this.uscc.hashCode()); result = prime * result + ((this.orgType == null) ? 0 : this.orgType.hashCode()); - result = prime * result + ((this.isArchivesDep == null) ? 0 : this.isArchivesDep.hashCode()); - result = prime * result + ((this.cerId == null) ? 0 : this.cerId.hashCode()); - result = prime * result + ((this.isForbidden == null) ? 0 : this.isForbidden.hashCode()); return result; } @@ -801,34 +150,8 @@ public class SysOrg implements Serializable { sb.append(id); sb.append(", ").append(pid); - sb.append(", ").append(chineseSimpleName); - sb.append(", ").append(englishSimpleName); - sb.append(", ").append(chineseFullName); - sb.append(", ").append(englishFullName); - sb.append(", ").append(code); - sb.append(", ").append(sort); sb.append(", ").append(status); - sb.append(", ").append(isCompanyDepartment); - sb.append(", ").append(enterpriseLegalPerson); - sb.append(", ").append(contactPerson); - sb.append(", ").append(contactPhone); - sb.append(", ").append(remark); - sb.append(", ").append(createTime); - sb.append(", ").append(createUser); - sb.append(", ").append(updateTime); - sb.append(", ").append(updateUser); - sb.append(", ").append(name); - sb.append(", ").append(industryName); - sb.append(", ").append(industryCode); - sb.append(", ").append(provinceCode); - sb.append(", ").append(cityCode); - sb.append(", ").append(areaCode); - sb.append(", ").append(addr); - sb.append(", ").append(uscc); sb.append(", ").append(orgType); - sb.append(", ").append(isArchivesDep); - sb.append(", ").append(cerId); - sb.append(", ").append(isForbidden); sb.append(")"); return sb.toString(); diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysResource.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysResource.java new file mode 100644 index 0000000..b32127e --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysResource.java @@ -0,0 +1,289 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.pojos; + + +import java.io.Serializable; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SysResource implements Serializable { + + private static final long serialVersionUID = 1L; + + private String id; + private String parentId; + private Short level; + private String name; + private String types; + private String url; + private String icon; + private Byte ishide; + private String description; + + public SysResource() {} + + public SysResource(SysResource value) { + this.id = value.id; + this.parentId = value.parentId; + this.level = value.level; + this.name = value.name; + this.types = value.types; + this.url = value.url; + this.icon = value.icon; + this.ishide = value.ishide; + this.description = value.description; + } + + public SysResource( + String id, + String parentId, + Short level, + String name, + String types, + String url, + String icon, + Byte ishide, + String description + ) { + this.id = id; + this.parentId = parentId; + this.level = level; + this.name = name; + this.types = types; + this.url = url; + this.icon = icon; + this.ishide = ishide; + this.description = description; + } + + /** + * Getter for yx.sys_resource.id. + */ + public String getId() { + return this.id; + } + + /** + * Setter for yx.sys_resource.id. + */ + public void setId(String id) { + this.id = id; + } + + /** + * Getter for yx.sys_resource.parent_id. + */ + public String getParentId() { + return this.parentId; + } + + /** + * Setter for yx.sys_resource.parent_id. + */ + public void setParentId(String parentId) { + this.parentId = parentId; + } + + /** + * Getter for yx.sys_resource.level. 菜单排列顺序 + */ + public Short getLevel() { + return this.level; + } + + /** + * Setter for yx.sys_resource.level. 菜单排列顺序 + */ + public void setLevel(Short level) { + this.level = level; + } + + /** + * Getter for yx.sys_resource.name. + */ + public String getName() { + return this.name; + } + + /** + * Setter for yx.sys_resource.name. + */ + public void setName(String name) { + this.name = name; + } + + /** + * Getter for yx.sys_resource.types. 资源类型 + */ + public String getTypes() { + return this.types; + } + + /** + * Setter for yx.sys_resource.types. 资源类型 + */ + public void setTypes(String types) { + this.types = types; + } + + /** + * Getter for yx.sys_resource.url. + */ + public String getUrl() { + return this.url; + } + + /** + * Setter for yx.sys_resource.url. + */ + public void setUrl(String url) { + this.url = url; + } + + /** + * Getter for yx.sys_resource.icon. 菜单图标 + */ + public String getIcon() { + return this.icon; + } + + /** + * Setter for yx.sys_resource.icon. 菜单图标 + */ + public void setIcon(String icon) { + this.icon = icon; + } + + /** + * Getter for yx.sys_resource.ishide. 是否折叠隐藏 + */ + public Byte getIshide() { + return this.ishide; + } + + /** + * Setter for yx.sys_resource.ishide. 是否折叠隐藏 + */ + public void setIshide(Byte ishide) { + this.ishide = ishide; + } + + /** + * Getter for yx.sys_resource.description. + */ + public String getDescription() { + return this.description; + } + + /** + * Setter for yx.sys_resource.description. + */ + public void setDescription(String description) { + this.description = description; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + final SysResource other = (SysResource) obj; + if (this.id == null) { + if (other.id != null) + return false; + } + else if (!this.id.equals(other.id)) + return false; + if (this.parentId == null) { + if (other.parentId != null) + return false; + } + else if (!this.parentId.equals(other.parentId)) + return false; + if (this.level == null) { + if (other.level != null) + return false; + } + else if (!this.level.equals(other.level)) + return false; + if (this.name == null) { + if (other.name != null) + return false; + } + else if (!this.name.equals(other.name)) + return false; + if (this.types == null) { + if (other.types != null) + return false; + } + else if (!this.types.equals(other.types)) + return false; + if (this.url == null) { + if (other.url != null) + return false; + } + else if (!this.url.equals(other.url)) + return false; + if (this.icon == null) { + if (other.icon != null) + return false; + } + else if (!this.icon.equals(other.icon)) + return false; + if (this.ishide == null) { + if (other.ishide != null) + return false; + } + else if (!this.ishide.equals(other.ishide)) + return false; + if (this.description == null) { + if (other.description != null) + return false; + } + else if (!this.description.equals(other.description)) + return false; + return true; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); + result = prime * result + ((this.parentId == null) ? 0 : this.parentId.hashCode()); + result = prime * result + ((this.level == null) ? 0 : this.level.hashCode()); + result = prime * result + ((this.name == null) ? 0 : this.name.hashCode()); + result = prime * result + ((this.types == null) ? 0 : this.types.hashCode()); + result = prime * result + ((this.url == null) ? 0 : this.url.hashCode()); + result = prime * result + ((this.icon == null) ? 0 : this.icon.hashCode()); + result = prime * result + ((this.ishide == null) ? 0 : this.ishide.hashCode()); + result = prime * result + ((this.description == null) ? 0 : this.description.hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("SysResource ("); + + sb.append(id); + sb.append(", ").append(parentId); + sb.append(", ").append(level); + sb.append(", ").append(name); + sb.append(", ").append(types); + sb.append(", ").append(url); + sb.append(", ").append(icon); + sb.append(", ").append(ishide); + sb.append(", ").append(description); + + sb.append(")"); + return sb.toString(); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRole.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRole.java index 4c7eb97..7ce4801 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRole.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRole.java @@ -17,174 +17,66 @@ public class SysRole implements Serializable { private String id; private String rolename; - private String describe; - private Integer sort; - private Integer isOpen; - private String signName; - private String signId; - private String companyId; - private String companyName; + private String department; public SysRole() {} public SysRole(SysRole value) { this.id = value.id; this.rolename = value.rolename; - this.describe = value.describe; - this.sort = value.sort; - this.isOpen = value.isOpen; - this.signName = value.signName; - this.signId = value.signId; - this.companyId = value.companyId; - this.companyName = value.companyName; + this.department = value.department; } public SysRole( String id, String rolename, - String describe, - Integer sort, - Integer isOpen, - String signName, - String signId, - String companyId, - String companyName + String department ) { this.id = id; this.rolename = rolename; - this.describe = describe; - this.sort = sort; - this.isOpen = isOpen; - this.signName = signName; - this.signId = signId; - this.companyId = companyId; - this.companyName = companyName; + this.department = department; } /** - * Getter for public.sys_role.id. + * Getter for yx.sys_role.id. */ public String getId() { return this.id; } /** - * Setter for public.sys_role.id. + * Setter for yx.sys_role.id. */ public void setId(String id) { this.id = id; } /** - * Getter for public.sys_role.rolename. + * Getter for yx.sys_role.rolename. */ public String getRolename() { return this.rolename; } /** - * Setter for public.sys_role.rolename. + * Setter for yx.sys_role.rolename. */ public void setRolename(String rolename) { this.rolename = rolename; } /** - * Getter for public.sys_role.describe. + * Getter for yx.sys_role.department. */ - public String getDescribe() { - return this.describe; + public String getDepartment() { + return this.department; } /** - * Setter for public.sys_role.describe. + * Setter for yx.sys_role.department. */ - public void setDescribe(String describe) { - this.describe = describe; - } - - /** - * Getter for public.sys_role.sort. - */ - public Integer getSort() { - return this.sort; - } - - /** - * Setter for public.sys_role.sort. - */ - public void setSort(Integer sort) { - this.sort = sort; - } - - /** - * Getter for public.sys_role.is_open. - */ - public Integer getIsOpen() { - return this.isOpen; - } - - /** - * Setter for public.sys_role.is_open. - */ - public void setIsOpen(Integer isOpen) { - this.isOpen = isOpen; - } - - /** - * Getter for public.sys_role.sign_name. - */ - public String getSignName() { - return this.signName; - } - - /** - * Setter for public.sys_role.sign_name. - */ - public void setSignName(String signName) { - this.signName = signName; - } - - /** - * Getter for public.sys_role.sign_id. - */ - public String getSignId() { - return this.signId; - } - - /** - * Setter for public.sys_role.sign_id. - */ - public void setSignId(String signId) { - this.signId = signId; - } - - /** - * Getter for public.sys_role.company_id. - */ - public String getCompanyId() { - return this.companyId; - } - - /** - * Setter for public.sys_role.company_id. - */ - public void setCompanyId(String companyId) { - this.companyId = companyId; - } - - /** - * Getter for public.sys_role.company_name. - */ - public String getCompanyName() { - return this.companyName; - } - - /** - * Setter for public.sys_role.company_name. - */ - public void setCompanyName(String companyName) { - this.companyName = companyName; + public void setDepartment(String department) { + this.department = department; } @Override @@ -208,47 +100,11 @@ public class SysRole implements Serializable { } else if (!this.rolename.equals(other.rolename)) return false; - if (this.describe == null) { - if (other.describe != null) + if (this.department == null) { + if (other.department != null) return false; } - else if (!this.describe.equals(other.describe)) - return false; - if (this.sort == null) { - if (other.sort != null) - return false; - } - else if (!this.sort.equals(other.sort)) - return false; - if (this.isOpen == null) { - if (other.isOpen != null) - return false; - } - else if (!this.isOpen.equals(other.isOpen)) - return false; - if (this.signName == null) { - if (other.signName != null) - return false; - } - else if (!this.signName.equals(other.signName)) - return false; - if (this.signId == null) { - if (other.signId != null) - return false; - } - else if (!this.signId.equals(other.signId)) - return false; - if (this.companyId == null) { - if (other.companyId != null) - return false; - } - else if (!this.companyId.equals(other.companyId)) - return false; - if (this.companyName == null) { - if (other.companyName != null) - return false; - } - else if (!this.companyName.equals(other.companyName)) + else if (!this.department.equals(other.department)) return false; return true; } @@ -259,13 +115,7 @@ public class SysRole implements Serializable { int result = 1; result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); result = prime * result + ((this.rolename == null) ? 0 : this.rolename.hashCode()); - result = prime * result + ((this.describe == null) ? 0 : this.describe.hashCode()); - result = prime * result + ((this.sort == null) ? 0 : this.sort.hashCode()); - result = prime * result + ((this.isOpen == null) ? 0 : this.isOpen.hashCode()); - result = prime * result + ((this.signName == null) ? 0 : this.signName.hashCode()); - result = prime * result + ((this.signId == null) ? 0 : this.signId.hashCode()); - result = prime * result + ((this.companyId == null) ? 0 : this.companyId.hashCode()); - result = prime * result + ((this.companyName == null) ? 0 : this.companyName.hashCode()); + result = prime * result + ((this.department == null) ? 0 : this.department.hashCode()); return result; } @@ -275,13 +125,7 @@ public class SysRole implements Serializable { sb.append(id); sb.append(", ").append(rolename); - sb.append(", ").append(describe); - sb.append(", ").append(sort); - sb.append(", ").append(isOpen); - sb.append(", ").append(signName); - sb.append(", ").append(signId); - sb.append(", ").append(companyId); - sb.append(", ").append(companyName); + sb.append(", ").append(department); sb.append(")"); return sb.toString(); diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleMenu.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleResource.java similarity index 64% rename from src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleMenu.java rename to src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleResource.java index 6566037..0e95d12 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleMenu.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleResource.java @@ -11,72 +11,72 @@ import java.io.Serializable; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysRoleMenu implements Serializable { +public class SysRoleResource implements Serializable { private static final long serialVersionUID = 1L; private String id; private String roleid; - private String menuid; + private String resid; - public SysRoleMenu() {} + public SysRoleResource() {} - public SysRoleMenu(SysRoleMenu value) { + public SysRoleResource(SysRoleResource value) { this.id = value.id; this.roleid = value.roleid; - this.menuid = value.menuid; + this.resid = value.resid; } - public SysRoleMenu( + public SysRoleResource( String id, String roleid, - String menuid + String resid ) { this.id = id; this.roleid = roleid; - this.menuid = menuid; + this.resid = resid; } /** - * Getter for public.sys_role_menu.id. + * Getter for yx.sys_role_resource.id. */ public String getId() { return this.id; } /** - * Setter for public.sys_role_menu.id. + * Setter for yx.sys_role_resource.id. */ public void setId(String id) { this.id = id; } /** - * Getter for public.sys_role_menu.roleid. + * Getter for yx.sys_role_resource.roleid. */ public String getRoleid() { return this.roleid; } /** - * Setter for public.sys_role_menu.roleid. + * Setter for yx.sys_role_resource.roleid. */ public void setRoleid(String roleid) { this.roleid = roleid; } /** - * Getter for public.sys_role_menu.menuid. + * Getter for yx.sys_role_resource.resid. */ - public String getMenuid() { - return this.menuid; + public String getResid() { + return this.resid; } /** - * Setter for public.sys_role_menu.menuid. + * Setter for yx.sys_role_resource.resid. */ - public void setMenuid(String menuid) { - this.menuid = menuid; + public void setResid(String resid) { + this.resid = resid; } @Override @@ -87,7 +87,7 @@ public class SysRoleMenu implements Serializable { return false; if (getClass() != obj.getClass()) return false; - final SysRoleMenu other = (SysRoleMenu) obj; + final SysRoleResource other = (SysRoleResource) obj; if (this.id == null) { if (other.id != null) return false; @@ -100,11 +100,11 @@ public class SysRoleMenu implements Serializable { } else if (!this.roleid.equals(other.roleid)) return false; - if (this.menuid == null) { - if (other.menuid != null) + if (this.resid == null) { + if (other.resid != null) return false; } - else if (!this.menuid.equals(other.menuid)) + else if (!this.resid.equals(other.resid)) return false; return true; } @@ -115,17 +115,17 @@ public class SysRoleMenu implements Serializable { int result = 1; result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); result = prime * result + ((this.roleid == null) ? 0 : this.roleid.hashCode()); - result = prime * result + ((this.menuid == null) ? 0 : this.menuid.hashCode()); + result = prime * result + ((this.resid == null) ? 0 : this.resid.hashCode()); return result; } @Override public String toString() { - StringBuilder sb = new StringBuilder("SysRoleMenu ("); + StringBuilder sb = new StringBuilder("SysRoleResource ("); sb.append(id); sb.append(", ").append(roleid); - sb.append(", ").append(menuid); + sb.append(", ").append(resid); sb.append(")"); return sb.toString(); diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleSign.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleSign.java deleted file mode 100644 index c2314c0..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleSign.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.pojos; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysRoleSign implements Serializable { - - private static final long serialVersionUID = 1L; - - private String id; - private String signName; - private String signCode; - - public SysRoleSign() {} - - public SysRoleSign(SysRoleSign value) { - this.id = value.id; - this.signName = value.signName; - this.signCode = value.signCode; - } - - public SysRoleSign( - String id, - String signName, - String signCode - ) { - this.id = id; - this.signName = signName; - this.signCode = signCode; - } - - /** - * Getter for public.sys_role_sign.id. - */ - public String getId() { - return this.id; - } - - /** - * Setter for public.sys_role_sign.id. - */ - public void setId(String id) { - this.id = id; - } - - /** - * Getter for public.sys_role_sign.sign_name. - */ - public String getSignName() { - return this.signName; - } - - /** - * Setter for public.sys_role_sign.sign_name. - */ - public void setSignName(String signName) { - this.signName = signName; - } - - /** - * Getter for public.sys_role_sign.sign_code. - */ - public String getSignCode() { - return this.signCode; - } - - /** - * Setter for public.sys_role_sign.sign_code. - */ - public void setSignCode(String signCode) { - this.signCode = signCode; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - final SysRoleSign other = (SysRoleSign) obj; - if (this.id == null) { - if (other.id != null) - return false; - } - else if (!this.id.equals(other.id)) - return false; - if (this.signName == null) { - if (other.signName != null) - return false; - } - else if (!this.signName.equals(other.signName)) - return false; - if (this.signCode == null) { - if (other.signCode != null) - return false; - } - else if (!this.signCode.equals(other.signCode)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); - result = prime * result + ((this.signName == null) ? 0 : this.signName.hashCode()); - result = prime * result + ((this.signCode == null) ? 0 : this.signCode.hashCode()); - return result; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("SysRoleSign ("); - - sb.append(id); - sb.append(", ").append(signName); - sb.append(", ").append(signCode); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleUrl.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleUrl.java index 0d5c33e..407703e 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleUrl.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleUrl.java @@ -42,56 +42,56 @@ public class SysRoleUrl implements Serializable { } /** - * Getter for public.sys_role_url.id. + * Getter for yx.sys_role_url.id. */ public String getId() { return this.id; } /** - * Setter for public.sys_role_url.id. + * Setter for yx.sys_role_url.id. */ public void setId(String id) { this.id = id; } /** - * Getter for public.sys_role_url.roleid. + * Getter for yx.sys_role_url.roleid. */ public String getRoleid() { return this.roleid; } /** - * Setter for public.sys_role_url.roleid. + * Setter for yx.sys_role_url.roleid. */ public void setRoleid(String roleid) { this.roleid = roleid; } /** - * Getter for public.sys_role_url.url. + * Getter for yx.sys_role_url.url. 对应sys_urls的url */ public String getUrl() { return this.url; } /** - * Setter for public.sys_role_url.url. + * Setter for yx.sys_role_url.url. 对应sys_urls的url */ public void setUrl(String url) { this.url = url; } /** - * Getter for public.sys_role_url.urltypes. + * Getter for yx.sys_role_url.urltypes. 1:url,2:菜单 */ public Integer getUrltypes() { return this.urltypes; } /** - * Setter for public.sys_role_url.urltypes. + * Setter for yx.sys_role_url.urltypes. 1:url,2:菜单 */ public void setUrltypes(Integer urltypes) { this.urltypes = urltypes; diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysUrls.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysUrls.java index e2299d1..1acce38 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysUrls.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysUrls.java @@ -16,7 +16,7 @@ public class SysUrls implements Serializable { private static final long serialVersionUID = 1L; private String id; - private String pid; + private Integer pid; private Integer types; private Integer level; private String url; @@ -37,7 +37,7 @@ public class SysUrls implements Serializable { public SysUrls( String id, - String pid, + Integer pid, Integer types, Integer level, String url, @@ -54,98 +54,98 @@ public class SysUrls implements Serializable { } /** - * Getter for public.sys_urls.id. + * Getter for yx.sys_urls.id. */ public String getId() { return this.id; } /** - * Setter for public.sys_urls.id. + * Setter for yx.sys_urls.id. */ public void setId(String id) { this.id = id; } /** - * Getter for public.sys_urls.pid. + * Getter for yx.sys_urls.pid. 父类id */ - public String getPid() { + public Integer getPid() { return this.pid; } /** - * Setter for public.sys_urls.pid. + * Setter for yx.sys_urls.pid. 父类id */ - public void setPid(String pid) { + public void setPid(Integer pid) { this.pid = pid; } /** - * Getter for public.sys_urls.types. + * Getter for yx.sys_urls.types. 1:url,2:菜单 */ public Integer getTypes() { return this.types; } /** - * Setter for public.sys_urls.types. + * Setter for yx.sys_urls.types. 1:url,2:菜单 */ public void setTypes(Integer types) { this.types = types; } /** - * Getter for public.sys_urls.level. + * Getter for yx.sys_urls.level. 0:url,1:一级菜单, 2:二级菜单 */ public Integer getLevel() { return this.level; } /** - * Setter for public.sys_urls.level. + * Setter for yx.sys_urls.level. 0:url,1:一级菜单, 2:二级菜单 */ public void setLevel(Integer level) { this.level = level; } /** - * Getter for public.sys_urls.url. + * Getter for yx.sys_urls.url. */ public String getUrl() { return this.url; } /** - * Setter for public.sys_urls.url. + * Setter for yx.sys_urls.url. */ public void setUrl(String url) { this.url = url; } /** - * Getter for public.sys_urls.name. + * Getter for yx.sys_urls.name. */ public String getName() { return this.name; } /** - * Setter for public.sys_urls.name. + * Setter for yx.sys_urls.name. */ public void setName(String name) { this.name = name; } /** - * Getter for public.sys_urls.method. + * Getter for yx.sys_urls.method. */ public String getMethod() { return this.method; } /** - * Setter for public.sys_urls.method. + * Setter for yx.sys_urls.method. */ public void setMethod(String method) { this.method = method; diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/ArchiveSynLogRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/ArchiveSynLogRecord.java deleted file mode 100644 index 65e3a61..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/ArchiveSynLogRecord.java +++ /dev/null @@ -1,578 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.tables.ArchiveSynLog; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record13; -import org.jooq.Row13; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * 从电子档案系统同步档案目录数据的过程日志 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ArchiveSynLogRecord extends UpdatableRecordImpl implements Record13 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.archive_syn_log.start_time. - */ - public void setStartTime(LocalDateTime value) { - set(0, value); - } - - /** - * Getter for public.archive_syn_log.start_time. - */ - public LocalDateTime getStartTime() { - return (LocalDateTime) get(0); - } - - /** - * Setter for public.archive_syn_log.insert_dir_count. - */ - public void setInsertDirCount(Long value) { - set(1, value); - } - - /** - * Getter for public.archive_syn_log.insert_dir_count. - */ - public Long getInsertDirCount() { - return (Long) get(1); - } - - /** - * Setter for public.archive_syn_log.update_dir_count. - */ - public void setUpdateDirCount(Long value) { - set(2, value); - } - - /** - * Getter for public.archive_syn_log.update_dir_count. - */ - public Long getUpdateDirCount() { - return (Long) get(2); - } - - /** - * Setter for public.archive_syn_log.insert_dirfile_count. - */ - public void setInsertDirfileCount(Long value) { - set(3, value); - } - - /** - * Getter for public.archive_syn_log.insert_dirfile_count. - */ - public Long getInsertDirfileCount() { - return (Long) get(3); - } - - /** - * Setter for public.archive_syn_log.update_dirfile_count. - */ - public void setUpdateDirfileCount(Long value) { - set(4, value); - } - - /** - * Getter for public.archive_syn_log.update_dirfile_count. - */ - public Long getUpdateDirfileCount() { - return (Long) get(4); - } - - /** - * Setter for public.archive_syn_log.insert_file_count. - */ - public void setInsertFileCount(Long value) { - set(5, value); - } - - /** - * Getter for public.archive_syn_log.insert_file_count. - */ - public Long getInsertFileCount() { - return (Long) get(5); - } - - /** - * Setter for public.archive_syn_log.update_file_count. - */ - public void setUpdateFileCount(Long value) { - set(6, value); - } - - /** - * Getter for public.archive_syn_log.update_file_count. - */ - public Long getUpdateFileCount() { - return (Long) get(6); - } - - /** - * Setter for public.archive_syn_log.description. - */ - public void setDescription(String value) { - set(7, value); - } - - /** - * Getter for public.archive_syn_log.description. - */ - public String getDescription() { - return (String) get(7); - } - - /** - * Setter for public.archive_syn_log.run_result. - */ - public void setRunResult(String value) { - set(8, value); - } - - /** - * Getter for public.archive_syn_log.run_result. - */ - public String getRunResult() { - return (String) get(8); - } - - /** - * Setter for public.archive_syn_log.update_timestamp. - */ - public void setUpdateTimestamp(Long value) { - set(9, value); - } - - /** - * Getter for public.archive_syn_log.update_timestamp. - */ - public Long getUpdateTimestamp() { - return (Long) get(9); - } - - /** - * Setter for public.archive_syn_log.id. - */ - public void setId(String value) { - set(10, value); - } - - /** - * Getter for public.archive_syn_log.id. - */ - public String getId() { - return (String) get(10); - } - - /** - * Setter for public.archive_syn_log.next_update_timestamp. - */ - public void setNextUpdateTimestamp(Long value) { - set(11, value); - } - - /** - * Getter for public.archive_syn_log.next_update_timestamp. - */ - public Long getNextUpdateTimestamp() { - return (Long) get(11); - } - - /** - * Setter for public.archive_syn_log.end_time. - */ - public void setEndTime(LocalDateTime value) { - set(12, value); - } - - /** - * Getter for public.archive_syn_log.end_time. - */ - public LocalDateTime getEndTime() { - return (LocalDateTime) get(12); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record13 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row13 fieldsRow() { - return (Row13) super.fieldsRow(); - } - - @Override - public Row13 valuesRow() { - return (Row13) super.valuesRow(); - } - - @Override - public Field field1() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.START_TIME; - } - - @Override - public Field field2() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.INSERT_DIR_COUNT; - } - - @Override - public Field field3() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_DIR_COUNT; - } - - @Override - public Field field4() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.INSERT_DIRFILE_COUNT; - } - - @Override - public Field field5() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_DIRFILE_COUNT; - } - - @Override - public Field field6() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.INSERT_FILE_COUNT; - } - - @Override - public Field field7() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_FILE_COUNT; - } - - @Override - public Field field8() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.DESCRIPTION; - } - - @Override - public Field field9() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.RUN_RESULT; - } - - @Override - public Field field10() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.UPDATE_TIMESTAMP; - } - - @Override - public Field field11() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.ID; - } - - @Override - public Field field12() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.NEXT_UPDATE_TIMESTAMP; - } - - @Override - public Field field13() { - return ArchiveSynLog.ARCHIVE_SYN_LOG.END_TIME; - } - - @Override - public LocalDateTime component1() { - return getStartTime(); - } - - @Override - public Long component2() { - return getInsertDirCount(); - } - - @Override - public Long component3() { - return getUpdateDirCount(); - } - - @Override - public Long component4() { - return getInsertDirfileCount(); - } - - @Override - public Long component5() { - return getUpdateDirfileCount(); - } - - @Override - public Long component6() { - return getInsertFileCount(); - } - - @Override - public Long component7() { - return getUpdateFileCount(); - } - - @Override - public String component8() { - return getDescription(); - } - - @Override - public String component9() { - return getRunResult(); - } - - @Override - public Long component10() { - return getUpdateTimestamp(); - } - - @Override - public String component11() { - return getId(); - } - - @Override - public Long component12() { - return getNextUpdateTimestamp(); - } - - @Override - public LocalDateTime component13() { - return getEndTime(); - } - - @Override - public LocalDateTime value1() { - return getStartTime(); - } - - @Override - public Long value2() { - return getInsertDirCount(); - } - - @Override - public Long value3() { - return getUpdateDirCount(); - } - - @Override - public Long value4() { - return getInsertDirfileCount(); - } - - @Override - public Long value5() { - return getUpdateDirfileCount(); - } - - @Override - public Long value6() { - return getInsertFileCount(); - } - - @Override - public Long value7() { - return getUpdateFileCount(); - } - - @Override - public String value8() { - return getDescription(); - } - - @Override - public String value9() { - return getRunResult(); - } - - @Override - public Long value10() { - return getUpdateTimestamp(); - } - - @Override - public String value11() { - return getId(); - } - - @Override - public Long value12() { - return getNextUpdateTimestamp(); - } - - @Override - public LocalDateTime value13() { - return getEndTime(); - } - - @Override - public ArchiveSynLogRecord value1(LocalDateTime value) { - setStartTime(value); - return this; - } - - @Override - public ArchiveSynLogRecord value2(Long value) { - setInsertDirCount(value); - return this; - } - - @Override - public ArchiveSynLogRecord value3(Long value) { - setUpdateDirCount(value); - return this; - } - - @Override - public ArchiveSynLogRecord value4(Long value) { - setInsertDirfileCount(value); - return this; - } - - @Override - public ArchiveSynLogRecord value5(Long value) { - setUpdateDirfileCount(value); - return this; - } - - @Override - public ArchiveSynLogRecord value6(Long value) { - setInsertFileCount(value); - return this; - } - - @Override - public ArchiveSynLogRecord value7(Long value) { - setUpdateFileCount(value); - return this; - } - - @Override - public ArchiveSynLogRecord value8(String value) { - setDescription(value); - return this; - } - - @Override - public ArchiveSynLogRecord value9(String value) { - setRunResult(value); - return this; - } - - @Override - public ArchiveSynLogRecord value10(Long value) { - setUpdateTimestamp(value); - return this; - } - - @Override - public ArchiveSynLogRecord value11(String value) { - setId(value); - return this; - } - - @Override - public ArchiveSynLogRecord value12(Long value) { - setNextUpdateTimestamp(value); - return this; - } - - @Override - public ArchiveSynLogRecord value13(LocalDateTime value) { - setEndTime(value); - return this; - } - - @Override - public ArchiveSynLogRecord values(LocalDateTime value1, Long value2, Long value3, Long value4, Long value5, Long value6, Long value7, String value8, String value9, Long value10, String value11, Long value12, LocalDateTime value13) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached ArchiveSynLogRecord - */ - public ArchiveSynLogRecord() { - super(ArchiveSynLog.ARCHIVE_SYN_LOG); - } - - /** - * Create a detached, initialised ArchiveSynLogRecord - */ - public ArchiveSynLogRecord(LocalDateTime startTime, Long insertDirCount, Long updateDirCount, Long insertDirfileCount, Long updateDirfileCount, Long insertFileCount, Long updateFileCount, String description, String runResult, Long updateTimestamp, String id, Long nextUpdateTimestamp, LocalDateTime endTime) { - super(ArchiveSynLog.ARCHIVE_SYN_LOG); - - setStartTime(startTime); - setInsertDirCount(insertDirCount); - setUpdateDirCount(updateDirCount); - setInsertDirfileCount(insertDirfileCount); - setUpdateDirfileCount(updateDirfileCount); - setInsertFileCount(insertFileCount); - setUpdateFileCount(updateFileCount); - setDescription(description); - setRunResult(runResult); - setUpdateTimestamp(updateTimestamp); - setId(id); - setNextUpdateTimestamp(nextUpdateTimestamp); - setEndTime(endTime); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised ArchiveSynLogRecord - */ - public ArchiveSynLogRecord(jj.tech.paolu.repository.jooq.tables.pojos.ArchiveSynLog value) { - super(ArchiveSynLog.ARCHIVE_SYN_LOG); - - if (value != null) { - setStartTime(value.getStartTime()); - setInsertDirCount(value.getInsertDirCount()); - setUpdateDirCount(value.getUpdateDirCount()); - setInsertDirfileCount(value.getInsertDirfileCount()); - setUpdateDirfileCount(value.getUpdateDirfileCount()); - setInsertFileCount(value.getInsertFileCount()); - setUpdateFileCount(value.getUpdateFileCount()); - setDescription(value.getDescription()); - setRunResult(value.getRunResult()); - setUpdateTimestamp(value.getUpdateTimestamp()); - setId(value.getId()); - setNextUpdateTimestamp(value.getNextUpdateTimestamp()); - setEndTime(value.getEndTime()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CertificateApplyRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CertificateApplyRecord.java deleted file mode 100644 index a887258..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CertificateApplyRecord.java +++ /dev/null @@ -1,730 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.tables.CertificateApply; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record17; -import org.jooq.Row17; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class CertificateApplyRecord extends UpdatableRecordImpl implements Record17 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.certificate_apply.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.certificate_apply.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.certificate_apply.is_org. - */ - public void setIsOrg(Integer value) { - set(1, value); - } - - /** - * Getter for public.certificate_apply.is_org. - */ - public Integer getIsOrg() { - return (Integer) get(1); - } - - /** - * Setter for public.certificate_apply.user_id. - */ - public void setUserId(String value) { - set(2, value); - } - - /** - * Getter for public.certificate_apply.user_id. - */ - public String getUserId() { - return (String) get(2); - } - - /** - * Setter for public.certificate_apply.user_name. - */ - public void setUserName(String value) { - set(3, value); - } - - /** - * Getter for public.certificate_apply.user_name. - */ - public String getUserName() { - return (String) get(3); - } - - /** - * Setter for public.certificate_apply.user_real_name. - */ - public void setUserRealName(String value) { - set(4, value); - } - - /** - * Getter for public.certificate_apply.user_real_name. - */ - public String getUserRealName() { - return (String) get(4); - } - - /** - * Setter for public.certificate_apply.user_phone. - */ - public void setUserPhone(String value) { - set(5, value); - } - - /** - * Getter for public.certificate_apply.user_phone. - */ - public String getUserPhone() { - return (String) get(5); - } - - /** - * Setter for public.certificate_apply.user_org_id. - */ - public void setUserOrgId(String value) { - set(6, value); - } - - /** - * Getter for public.certificate_apply.user_org_id. - */ - public String getUserOrgId() { - return (String) get(6); - } - - /** - * Setter for public.certificate_apply.user_org_name. - */ - public void setUserOrgName(String value) { - set(7, value); - } - - /** - * Getter for public.certificate_apply.user_org_name. - */ - public String getUserOrgName() { - return (String) get(7); - } - - /** - * Setter for public.certificate_apply.apply_type. - */ - public void setApplyType(Integer value) { - set(8, value); - } - - /** - * Getter for public.certificate_apply.apply_type. - */ - public Integer getApplyType() { - return (Integer) get(8); - } - - /** - * Setter for public.certificate_apply.status. - */ - public void setStatus(Integer value) { - set(9, value); - } - - /** - * Getter for public.certificate_apply.status. - */ - public Integer getStatus() { - return (Integer) get(9); - } - - /** - * Setter for public.certificate_apply.apply_time. - */ - public void setApplyTime(LocalDateTime value) { - set(10, value); - } - - /** - * Getter for public.certificate_apply.apply_time. - */ - public LocalDateTime getApplyTime() { - return (LocalDateTime) get(10); - } - - /** - * Setter for public.certificate_apply.apply_finish_time. - */ - public void setApplyFinishTime(LocalDateTime value) { - set(11, value); - } - - /** - * Getter for public.certificate_apply.apply_finish_time. - */ - public LocalDateTime getApplyFinishTime() { - return (LocalDateTime) get(11); - } - - /** - * Setter for public.certificate_apply.apply_reason. - */ - public void setApplyReason(String value) { - set(12, value); - } - - /** - * Getter for public.certificate_apply.apply_reason. - */ - public String getApplyReason() { - return (String) get(12); - } - - /** - * Setter for public.certificate_apply.next_check_org_id. - */ - public void setNextCheckOrgId(String value) { - set(13, value); - } - - /** - * Getter for public.certificate_apply.next_check_org_id. - */ - public String getNextCheckOrgId() { - return (String) get(13); - } - - /** - * Setter for public.certificate_apply.end_check_org_id. - */ - public void setEndCheckOrgId(String value) { - set(14, value); - } - - /** - * Getter for public.certificate_apply.end_check_org_id. - */ - public String getEndCheckOrgId() { - return (String) get(14); - } - - /** - * Setter for public.certificate_apply.cer_id. - */ - public void setCerId(String value) { - set(15, value); - } - - /** - * Getter for public.certificate_apply.cer_id. - */ - public String getCerId() { - return (String) get(15); - } - - /** - * Setter for public.certificate_apply.company_id. - */ - public void setCompanyId(String value) { - set(16, value); - } - - /** - * Getter for public.certificate_apply.company_id. - */ - public String getCompanyId() { - return (String) get(16); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record17 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row17 fieldsRow() { - return (Row17) super.fieldsRow(); - } - - @Override - public Row17 valuesRow() { - return (Row17) super.valuesRow(); - } - - @Override - public Field field1() { - return CertificateApply.CERTIFICATE_APPLY.ID; - } - - @Override - public Field field2() { - return CertificateApply.CERTIFICATE_APPLY.IS_ORG; - } - - @Override - public Field field3() { - return CertificateApply.CERTIFICATE_APPLY.USER_ID; - } - - @Override - public Field field4() { - return CertificateApply.CERTIFICATE_APPLY.USER_NAME; - } - - @Override - public Field field5() { - return CertificateApply.CERTIFICATE_APPLY.USER_REAL_NAME; - } - - @Override - public Field field6() { - return CertificateApply.CERTIFICATE_APPLY.USER_PHONE; - } - - @Override - public Field field7() { - return CertificateApply.CERTIFICATE_APPLY.USER_ORG_ID; - } - - @Override - public Field field8() { - return CertificateApply.CERTIFICATE_APPLY.USER_ORG_NAME; - } - - @Override - public Field field9() { - return CertificateApply.CERTIFICATE_APPLY.APPLY_TYPE; - } - - @Override - public Field field10() { - return CertificateApply.CERTIFICATE_APPLY.STATUS; - } - - @Override - public Field field11() { - return CertificateApply.CERTIFICATE_APPLY.APPLY_TIME; - } - - @Override - public Field field12() { - return CertificateApply.CERTIFICATE_APPLY.APPLY_FINISH_TIME; - } - - @Override - public Field field13() { - return CertificateApply.CERTIFICATE_APPLY.APPLY_REASON; - } - - @Override - public Field field14() { - return CertificateApply.CERTIFICATE_APPLY.NEXT_CHECK_ORG_ID; - } - - @Override - public Field field15() { - return CertificateApply.CERTIFICATE_APPLY.END_CHECK_ORG_ID; - } - - @Override - public Field field16() { - return CertificateApply.CERTIFICATE_APPLY.CER_ID; - } - - @Override - public Field field17() { - return CertificateApply.CERTIFICATE_APPLY.COMPANY_ID; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public Integer component2() { - return getIsOrg(); - } - - @Override - public String component3() { - return getUserId(); - } - - @Override - public String component4() { - return getUserName(); - } - - @Override - public String component5() { - return getUserRealName(); - } - - @Override - public String component6() { - return getUserPhone(); - } - - @Override - public String component7() { - return getUserOrgId(); - } - - @Override - public String component8() { - return getUserOrgName(); - } - - @Override - public Integer component9() { - return getApplyType(); - } - - @Override - public Integer component10() { - return getStatus(); - } - - @Override - public LocalDateTime component11() { - return getApplyTime(); - } - - @Override - public LocalDateTime component12() { - return getApplyFinishTime(); - } - - @Override - public String component13() { - return getApplyReason(); - } - - @Override - public String component14() { - return getNextCheckOrgId(); - } - - @Override - public String component15() { - return getEndCheckOrgId(); - } - - @Override - public String component16() { - return getCerId(); - } - - @Override - public String component17() { - return getCompanyId(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public Integer value2() { - return getIsOrg(); - } - - @Override - public String value3() { - return getUserId(); - } - - @Override - public String value4() { - return getUserName(); - } - - @Override - public String value5() { - return getUserRealName(); - } - - @Override - public String value6() { - return getUserPhone(); - } - - @Override - public String value7() { - return getUserOrgId(); - } - - @Override - public String value8() { - return getUserOrgName(); - } - - @Override - public Integer value9() { - return getApplyType(); - } - - @Override - public Integer value10() { - return getStatus(); - } - - @Override - public LocalDateTime value11() { - return getApplyTime(); - } - - @Override - public LocalDateTime value12() { - return getApplyFinishTime(); - } - - @Override - public String value13() { - return getApplyReason(); - } - - @Override - public String value14() { - return getNextCheckOrgId(); - } - - @Override - public String value15() { - return getEndCheckOrgId(); - } - - @Override - public String value16() { - return getCerId(); - } - - @Override - public String value17() { - return getCompanyId(); - } - - @Override - public CertificateApplyRecord value1(String value) { - setId(value); - return this; - } - - @Override - public CertificateApplyRecord value2(Integer value) { - setIsOrg(value); - return this; - } - - @Override - public CertificateApplyRecord value3(String value) { - setUserId(value); - return this; - } - - @Override - public CertificateApplyRecord value4(String value) { - setUserName(value); - return this; - } - - @Override - public CertificateApplyRecord value5(String value) { - setUserRealName(value); - return this; - } - - @Override - public CertificateApplyRecord value6(String value) { - setUserPhone(value); - return this; - } - - @Override - public CertificateApplyRecord value7(String value) { - setUserOrgId(value); - return this; - } - - @Override - public CertificateApplyRecord value8(String value) { - setUserOrgName(value); - return this; - } - - @Override - public CertificateApplyRecord value9(Integer value) { - setApplyType(value); - return this; - } - - @Override - public CertificateApplyRecord value10(Integer value) { - setStatus(value); - return this; - } - - @Override - public CertificateApplyRecord value11(LocalDateTime value) { - setApplyTime(value); - return this; - } - - @Override - public CertificateApplyRecord value12(LocalDateTime value) { - setApplyFinishTime(value); - return this; - } - - @Override - public CertificateApplyRecord value13(String value) { - setApplyReason(value); - return this; - } - - @Override - public CertificateApplyRecord value14(String value) { - setNextCheckOrgId(value); - return this; - } - - @Override - public CertificateApplyRecord value15(String value) { - setEndCheckOrgId(value); - return this; - } - - @Override - public CertificateApplyRecord value16(String value) { - setCerId(value); - return this; - } - - @Override - public CertificateApplyRecord value17(String value) { - setCompanyId(value); - return this; - } - - @Override - public CertificateApplyRecord values(String value1, Integer value2, String value3, String value4, String value5, String value6, String value7, String value8, Integer value9, Integer value10, LocalDateTime value11, LocalDateTime value12, String value13, String value14, String value15, String value16, String value17) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - value15(value15); - value16(value16); - value17(value17); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached CertificateApplyRecord - */ - public CertificateApplyRecord() { - super(CertificateApply.CERTIFICATE_APPLY); - } - - /** - * Create a detached, initialised CertificateApplyRecord - */ - public CertificateApplyRecord(String id, Integer isOrg, String userId, String userName, String userRealName, String userPhone, String userOrgId, String userOrgName, Integer applyType, Integer status, LocalDateTime applyTime, LocalDateTime applyFinishTime, String applyReason, String nextCheckOrgId, String endCheckOrgId, String cerId, String companyId) { - super(CertificateApply.CERTIFICATE_APPLY); - - setId(id); - setIsOrg(isOrg); - setUserId(userId); - setUserName(userName); - setUserRealName(userRealName); - setUserPhone(userPhone); - setUserOrgId(userOrgId); - setUserOrgName(userOrgName); - setApplyType(applyType); - setStatus(status); - setApplyTime(applyTime); - setApplyFinishTime(applyFinishTime); - setApplyReason(applyReason); - setNextCheckOrgId(nextCheckOrgId); - setEndCheckOrgId(endCheckOrgId); - setCerId(cerId); - setCompanyId(companyId); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised CertificateApplyRecord - */ - public CertificateApplyRecord(jj.tech.paolu.repository.jooq.tables.pojos.CertificateApply value) { - super(CertificateApply.CERTIFICATE_APPLY); - - if (value != null) { - setId(value.getId()); - setIsOrg(value.getIsOrg()); - setUserId(value.getUserId()); - setUserName(value.getUserName()); - setUserRealName(value.getUserRealName()); - setUserPhone(value.getUserPhone()); - setUserOrgId(value.getUserOrgId()); - setUserOrgName(value.getUserOrgName()); - setApplyType(value.getApplyType()); - setStatus(value.getStatus()); - setApplyTime(value.getApplyTime()); - setApplyFinishTime(value.getApplyFinishTime()); - setApplyReason(value.getApplyReason()); - setNextCheckOrgId(value.getNextCheckOrgId()); - setEndCheckOrgId(value.getEndCheckOrgId()); - setCerId(value.getCerId()); - setCompanyId(value.getCompanyId()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CertificateApplyRecordRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CertificateApplyRecordRecord.java deleted file mode 100644 index 933d680..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CertificateApplyRecordRecord.java +++ /dev/null @@ -1,664 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.tables.CertificateApplyRecord; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record15; -import org.jooq.Row15; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class CertificateApplyRecordRecord extends UpdatableRecordImpl implements Record15 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.certificate_apply_record.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.certificate_apply_record.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for - * public.certificate_apply_record.certificate_apply_id. - */ - public void setCertificateApplyId(String value) { - set(1, value); - } - - /** - * Getter for - * public.certificate_apply_record.certificate_apply_id. - */ - public String getCertificateApplyId() { - return (String) get(1); - } - - /** - * Setter for - * public.certificate_apply_record.certificate_apply_user_id. - */ - public void setCertificateApplyUserId(String value) { - set(2, value); - } - - /** - * Getter for - * public.certificate_apply_record.certificate_apply_user_id. - */ - public String getCertificateApplyUserId() { - return (String) get(2); - } - - /** - * Setter for - * public.certificate_apply_record.certificate_apply_user_org_id. - */ - public void setCertificateApplyUserOrgId(String value) { - set(3, value); - } - - /** - * Getter for - * public.certificate_apply_record.certificate_apply_user_org_id. - */ - public String getCertificateApplyUserOrgId() { - return (String) get(3); - } - - /** - * Setter for public.certificate_apply_record.is_org. - */ - public void setIsOrg(Integer value) { - set(4, value); - } - - /** - * Getter for public.certificate_apply_record.is_org. - */ - public Integer getIsOrg() { - return (Integer) get(4); - } - - /** - * Setter for public.certificate_apply_record.apply_type. - */ - public void setApplyType(Integer value) { - set(5, value); - } - - /** - * Getter for public.certificate_apply_record.apply_type. - */ - public Integer getApplyType() { - return (Integer) get(5); - } - - /** - * Setter for public.certificate_apply_record.check_user_id. - */ - public void setCheckUserId(String value) { - set(6, value); - } - - /** - * Getter for public.certificate_apply_record.check_user_id. - */ - public String getCheckUserId() { - return (String) get(6); - } - - /** - * Setter for public.certificate_apply_record.check_user_name. - */ - public void setCheckUserName(String value) { - set(7, value); - } - - /** - * Getter for public.certificate_apply_record.check_user_name. - */ - public String getCheckUserName() { - return (String) get(7); - } - - /** - * Setter for public.certificate_apply_record.check_org_id. - */ - public void setCheckOrgId(String value) { - set(8, value); - } - - /** - * Getter for public.certificate_apply_record.check_org_id. - */ - public String getCheckOrgId() { - return (String) get(8); - } - - /** - * Setter for public.certificate_apply_record.check_org_name. - */ - public void setCheckOrgName(String value) { - set(9, value); - } - - /** - * Getter for public.certificate_apply_record.check_org_name. - */ - public String getCheckOrgName() { - return (String) get(9); - } - - /** - * Setter for public.certificate_apply_record.check_describe. - */ - public void setCheckDescribe(String value) { - set(10, value); - } - - /** - * Getter for public.certificate_apply_record.check_describe. - */ - public String getCheckDescribe() { - return (String) get(10); - } - - /** - * Setter for public.certificate_apply_record.check_status. - */ - public void setCheckStatus(Integer value) { - set(11, value); - } - - /** - * Getter for public.certificate_apply_record.check_status. - */ - public Integer getCheckStatus() { - return (Integer) get(11); - } - - /** - * Setter for public.certificate_apply_record.check_time. - */ - public void setCheckTime(LocalDateTime value) { - set(12, value); - } - - /** - * Getter for public.certificate_apply_record.check_time. - */ - public LocalDateTime getCheckTime() { - return (LocalDateTime) get(12); - } - - /** - * Setter for - * public.certificate_apply_record.next_check_org_id. - */ - public void setNextCheckOrgId(String value) { - set(13, value); - } - - /** - * Getter for - * public.certificate_apply_record.next_check_org_id. - */ - public String getNextCheckOrgId() { - return (String) get(13); - } - - /** - * Setter for - * public.certificate_apply_record.next_check_org_name. - */ - public void setNextCheckOrgName(String value) { - set(14, value); - } - - /** - * Getter for - * public.certificate_apply_record.next_check_org_name. - */ - public String getNextCheckOrgName() { - return (String) get(14); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record15 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row15 fieldsRow() { - return (Row15) super.fieldsRow(); - } - - @Override - public Row15 valuesRow() { - return (Row15) super.valuesRow(); - } - - @Override - public Field field1() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.ID; - } - - @Override - public Field field2() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CERTIFICATE_APPLY_ID; - } - - @Override - public Field field3() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CERTIFICATE_APPLY_USER_ID; - } - - @Override - public Field field4() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CERTIFICATE_APPLY_USER_ORG_ID; - } - - @Override - public Field field5() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.IS_ORG; - } - - @Override - public Field field6() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.APPLY_TYPE; - } - - @Override - public Field field7() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_USER_ID; - } - - @Override - public Field field8() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_USER_NAME; - } - - @Override - public Field field9() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_ORG_ID; - } - - @Override - public Field field10() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_ORG_NAME; - } - - @Override - public Field field11() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_DESCRIBE; - } - - @Override - public Field field12() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_STATUS; - } - - @Override - public Field field13() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.CHECK_TIME; - } - - @Override - public Field field14() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.NEXT_CHECK_ORG_ID; - } - - @Override - public Field field15() { - return CertificateApplyRecord.CERTIFICATE_APPLY_RECORD.NEXT_CHECK_ORG_NAME; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getCertificateApplyId(); - } - - @Override - public String component3() { - return getCertificateApplyUserId(); - } - - @Override - public String component4() { - return getCertificateApplyUserOrgId(); - } - - @Override - public Integer component5() { - return getIsOrg(); - } - - @Override - public Integer component6() { - return getApplyType(); - } - - @Override - public String component7() { - return getCheckUserId(); - } - - @Override - public String component8() { - return getCheckUserName(); - } - - @Override - public String component9() { - return getCheckOrgId(); - } - - @Override - public String component10() { - return getCheckOrgName(); - } - - @Override - public String component11() { - return getCheckDescribe(); - } - - @Override - public Integer component12() { - return getCheckStatus(); - } - - @Override - public LocalDateTime component13() { - return getCheckTime(); - } - - @Override - public String component14() { - return getNextCheckOrgId(); - } - - @Override - public String component15() { - return getNextCheckOrgName(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getCertificateApplyId(); - } - - @Override - public String value3() { - return getCertificateApplyUserId(); - } - - @Override - public String value4() { - return getCertificateApplyUserOrgId(); - } - - @Override - public Integer value5() { - return getIsOrg(); - } - - @Override - public Integer value6() { - return getApplyType(); - } - - @Override - public String value7() { - return getCheckUserId(); - } - - @Override - public String value8() { - return getCheckUserName(); - } - - @Override - public String value9() { - return getCheckOrgId(); - } - - @Override - public String value10() { - return getCheckOrgName(); - } - - @Override - public String value11() { - return getCheckDescribe(); - } - - @Override - public Integer value12() { - return getCheckStatus(); - } - - @Override - public LocalDateTime value13() { - return getCheckTime(); - } - - @Override - public String value14() { - return getNextCheckOrgId(); - } - - @Override - public String value15() { - return getNextCheckOrgName(); - } - - @Override - public CertificateApplyRecordRecord value1(String value) { - setId(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value2(String value) { - setCertificateApplyId(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value3(String value) { - setCertificateApplyUserId(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value4(String value) { - setCertificateApplyUserOrgId(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value5(Integer value) { - setIsOrg(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value6(Integer value) { - setApplyType(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value7(String value) { - setCheckUserId(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value8(String value) { - setCheckUserName(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value9(String value) { - setCheckOrgId(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value10(String value) { - setCheckOrgName(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value11(String value) { - setCheckDescribe(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value12(Integer value) { - setCheckStatus(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value13(LocalDateTime value) { - setCheckTime(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value14(String value) { - setNextCheckOrgId(value); - return this; - } - - @Override - public CertificateApplyRecordRecord value15(String value) { - setNextCheckOrgName(value); - return this; - } - - @Override - public CertificateApplyRecordRecord values(String value1, String value2, String value3, String value4, Integer value5, Integer value6, String value7, String value8, String value9, String value10, String value11, Integer value12, LocalDateTime value13, String value14, String value15) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - value15(value15); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached CertificateApplyRecordRecord - */ - public CertificateApplyRecordRecord() { - super(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD); - } - - /** - * Create a detached, initialised CertificateApplyRecordRecord - */ - public CertificateApplyRecordRecord(String id, String certificateApplyId, String certificateApplyUserId, String certificateApplyUserOrgId, Integer isOrg, Integer applyType, String checkUserId, String checkUserName, String checkOrgId, String checkOrgName, String checkDescribe, Integer checkStatus, LocalDateTime checkTime, String nextCheckOrgId, String nextCheckOrgName) { - super(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD); - - setId(id); - setCertificateApplyId(certificateApplyId); - setCertificateApplyUserId(certificateApplyUserId); - setCertificateApplyUserOrgId(certificateApplyUserOrgId); - setIsOrg(isOrg); - setApplyType(applyType); - setCheckUserId(checkUserId); - setCheckUserName(checkUserName); - setCheckOrgId(checkOrgId); - setCheckOrgName(checkOrgName); - setCheckDescribe(checkDescribe); - setCheckStatus(checkStatus); - setCheckTime(checkTime); - setNextCheckOrgId(nextCheckOrgId); - setNextCheckOrgName(nextCheckOrgName); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised CertificateApplyRecordRecord - */ - public CertificateApplyRecordRecord(jj.tech.paolu.repository.jooq.tables.pojos.CertificateApplyRecord value) { - super(CertificateApplyRecord.CERTIFICATE_APPLY_RECORD); - - if (value != null) { - setId(value.getId()); - setCertificateApplyId(value.getCertificateApplyId()); - setCertificateApplyUserId(value.getCertificateApplyUserId()); - setCertificateApplyUserOrgId(value.getCertificateApplyUserOrgId()); - setIsOrg(value.getIsOrg()); - setApplyType(value.getApplyType()); - setCheckUserId(value.getCheckUserId()); - setCheckUserName(value.getCheckUserName()); - setCheckOrgId(value.getCheckOrgId()); - setCheckOrgName(value.getCheckOrgName()); - setCheckDescribe(value.getCheckDescribe()); - setCheckStatus(value.getCheckStatus()); - setCheckTime(value.getCheckTime()); - setNextCheckOrgId(value.getNextCheckOrgId()); - setNextCheckOrgName(value.getNextCheckOrgName()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CertificateDetailRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CertificateDetailRecord.java deleted file mode 100644 index 151af39..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CertificateDetailRecord.java +++ /dev/null @@ -1,616 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.tables.CertificateDetail; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record14; -import org.jooq.Row14; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class CertificateDetailRecord extends UpdatableRecordImpl implements Record14 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.certificate_detail.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.certificate_detail.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.certificate_detail.certificate_apply_id. - */ - public void setCertificateApplyId(String value) { - set(1, value); - } - - /** - * Getter for public.certificate_detail.certificate_apply_id. - */ - public String getCertificateApplyId() { - return (String) get(1); - } - - /** - * Setter for public.certificate_detail.work_start_time. - */ - public void setWorkStartTime(LocalDateTime value) { - set(2, value); - } - - /** - * Getter for public.certificate_detail.work_start_time. - */ - public LocalDateTime getWorkStartTime() { - return (LocalDateTime) get(2); - } - - /** - * Setter for public.certificate_detail.work_end_time. - */ - public void setWorkEndTime(LocalDateTime value) { - set(3, value); - } - - /** - * Getter for public.certificate_detail.work_end_time. - */ - public LocalDateTime getWorkEndTime() { - return (LocalDateTime) get(3); - } - - /** - * Setter for public.certificate_detail.status. - */ - public void setStatus(Integer value) { - set(4, value); - } - - /** - * Getter for public.certificate_detail.status. - */ - public Integer getStatus() { - return (Integer) get(4); - } - - /** - * Setter for public.certificate_detail.cert_file_content. - */ - public void setCertFileContent(String value) { - set(5, value); - } - - /** - * Getter for public.certificate_detail.cert_file_content. - */ - public String getCertFileContent() { - return (String) get(5); - } - - /** - * Setter for public.certificate_detail.is_up_chain. - */ - public void setIsUpChain(Integer value) { - set(6, value); - } - - /** - * Getter for public.certificate_detail.is_up_chain. - */ - public Integer getIsUpChain() { - return (Integer) get(6); - } - - /** - * Setter for public.certificate_detail.weid. - */ - public void setWeid(String value) { - set(7, value); - } - - /** - * Getter for public.certificate_detail.weid. - */ - public String getWeid() { - return (String) get(7); - } - - /** - * Setter for public.certificate_detail.private_key_hex_str. - */ - public void setPrivateKeyHexStr(String value) { - set(8, value); - } - - /** - * Getter for public.certificate_detail.private_key_hex_str. - */ - public String getPrivateKeyHexStr() { - return (String) get(8); - } - - /** - * Setter for public.certificate_detail.x509_serial_number. - */ - public void setX509SerialNumber(String value) { - set(9, value); - } - - /** - * Getter for public.certificate_detail.x509_serial_number. - */ - public String getX509SerialNumber() { - return (String) get(9); - } - - /** - * Setter for public.certificate_detail.x509_subject. - */ - public void setX509Subject(String value) { - set(10, value); - } - - /** - * Getter for public.certificate_detail.x509_subject. - */ - public String getX509Subject() { - return (String) get(10); - } - - /** - * Setter for public.certificate_detail.x509_issuer. - */ - public void setX509Issuer(String value) { - set(11, value); - } - - /** - * Getter for public.certificate_detail.x509_issuer. - */ - public String getX509Issuer() { - return (String) get(11); - } - - /** - * Setter for public.certificate_detail.x509_public_key. - */ - public void setX509PublicKey(String value) { - set(12, value); - } - - /** - * Getter for public.certificate_detail.x509_public_key. - */ - public String getX509PublicKey() { - return (String) get(12); - } - - /** - * Setter for public.certificate_detail.x509_sig_alg_name. - */ - public void setX509SigAlgName(String value) { - set(13, value); - } - - /** - * Getter for public.certificate_detail.x509_sig_alg_name. - */ - public String getX509SigAlgName() { - return (String) get(13); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record14 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row14 fieldsRow() { - return (Row14) super.fieldsRow(); - } - - @Override - public Row14 valuesRow() { - return (Row14) super.valuesRow(); - } - - @Override - public Field field1() { - return CertificateDetail.CERTIFICATE_DETAIL.ID; - } - - @Override - public Field field2() { - return CertificateDetail.CERTIFICATE_DETAIL.CERTIFICATE_APPLY_ID; - } - - @Override - public Field field3() { - return CertificateDetail.CERTIFICATE_DETAIL.WORK_START_TIME; - } - - @Override - public Field field4() { - return CertificateDetail.CERTIFICATE_DETAIL.WORK_END_TIME; - } - - @Override - public Field field5() { - return CertificateDetail.CERTIFICATE_DETAIL.STATUS; - } - - @Override - public Field field6() { - return CertificateDetail.CERTIFICATE_DETAIL.CERT_FILE_CONTENT; - } - - @Override - public Field field7() { - return CertificateDetail.CERTIFICATE_DETAIL.IS_UP_CHAIN; - } - - @Override - public Field field8() { - return CertificateDetail.CERTIFICATE_DETAIL.WEID; - } - - @Override - public Field field9() { - return CertificateDetail.CERTIFICATE_DETAIL.PRIVATE_KEY_HEX_STR; - } - - @Override - public Field field10() { - return CertificateDetail.CERTIFICATE_DETAIL.X509_SERIAL_NUMBER; - } - - @Override - public Field field11() { - return CertificateDetail.CERTIFICATE_DETAIL.X509_SUBJECT; - } - - @Override - public Field field12() { - return CertificateDetail.CERTIFICATE_DETAIL.X509_ISSUER; - } - - @Override - public Field field13() { - return CertificateDetail.CERTIFICATE_DETAIL.X509_PUBLIC_KEY; - } - - @Override - public Field field14() { - return CertificateDetail.CERTIFICATE_DETAIL.X509_SIG_ALG_NAME; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getCertificateApplyId(); - } - - @Override - public LocalDateTime component3() { - return getWorkStartTime(); - } - - @Override - public LocalDateTime component4() { - return getWorkEndTime(); - } - - @Override - public Integer component5() { - return getStatus(); - } - - @Override - public String component6() { - return getCertFileContent(); - } - - @Override - public Integer component7() { - return getIsUpChain(); - } - - @Override - public String component8() { - return getWeid(); - } - - @Override - public String component9() { - return getPrivateKeyHexStr(); - } - - @Override - public String component10() { - return getX509SerialNumber(); - } - - @Override - public String component11() { - return getX509Subject(); - } - - @Override - public String component12() { - return getX509Issuer(); - } - - @Override - public String component13() { - return getX509PublicKey(); - } - - @Override - public String component14() { - return getX509SigAlgName(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getCertificateApplyId(); - } - - @Override - public LocalDateTime value3() { - return getWorkStartTime(); - } - - @Override - public LocalDateTime value4() { - return getWorkEndTime(); - } - - @Override - public Integer value5() { - return getStatus(); - } - - @Override - public String value6() { - return getCertFileContent(); - } - - @Override - public Integer value7() { - return getIsUpChain(); - } - - @Override - public String value8() { - return getWeid(); - } - - @Override - public String value9() { - return getPrivateKeyHexStr(); - } - - @Override - public String value10() { - return getX509SerialNumber(); - } - - @Override - public String value11() { - return getX509Subject(); - } - - @Override - public String value12() { - return getX509Issuer(); - } - - @Override - public String value13() { - return getX509PublicKey(); - } - - @Override - public String value14() { - return getX509SigAlgName(); - } - - @Override - public CertificateDetailRecord value1(String value) { - setId(value); - return this; - } - - @Override - public CertificateDetailRecord value2(String value) { - setCertificateApplyId(value); - return this; - } - - @Override - public CertificateDetailRecord value3(LocalDateTime value) { - setWorkStartTime(value); - return this; - } - - @Override - public CertificateDetailRecord value4(LocalDateTime value) { - setWorkEndTime(value); - return this; - } - - @Override - public CertificateDetailRecord value5(Integer value) { - setStatus(value); - return this; - } - - @Override - public CertificateDetailRecord value6(String value) { - setCertFileContent(value); - return this; - } - - @Override - public CertificateDetailRecord value7(Integer value) { - setIsUpChain(value); - return this; - } - - @Override - public CertificateDetailRecord value8(String value) { - setWeid(value); - return this; - } - - @Override - public CertificateDetailRecord value9(String value) { - setPrivateKeyHexStr(value); - return this; - } - - @Override - public CertificateDetailRecord value10(String value) { - setX509SerialNumber(value); - return this; - } - - @Override - public CertificateDetailRecord value11(String value) { - setX509Subject(value); - return this; - } - - @Override - public CertificateDetailRecord value12(String value) { - setX509Issuer(value); - return this; - } - - @Override - public CertificateDetailRecord value13(String value) { - setX509PublicKey(value); - return this; - } - - @Override - public CertificateDetailRecord value14(String value) { - setX509SigAlgName(value); - return this; - } - - @Override - public CertificateDetailRecord values(String value1, String value2, LocalDateTime value3, LocalDateTime value4, Integer value5, String value6, Integer value7, String value8, String value9, String value10, String value11, String value12, String value13, String value14) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached CertificateDetailRecord - */ - public CertificateDetailRecord() { - super(CertificateDetail.CERTIFICATE_DETAIL); - } - - /** - * Create a detached, initialised CertificateDetailRecord - */ - public CertificateDetailRecord(String id, String certificateApplyId, LocalDateTime workStartTime, LocalDateTime workEndTime, Integer status, String certFileContent, Integer isUpChain, String weid, String privateKeyHexStr, String x509SerialNumber, String x509Subject, String x509Issuer, String x509PublicKey, String x509SigAlgName) { - super(CertificateDetail.CERTIFICATE_DETAIL); - - setId(id); - setCertificateApplyId(certificateApplyId); - setWorkStartTime(workStartTime); - setWorkEndTime(workEndTime); - setStatus(status); - setCertFileContent(certFileContent); - setIsUpChain(isUpChain); - setWeid(weid); - setPrivateKeyHexStr(privateKeyHexStr); - setX509SerialNumber(x509SerialNumber); - setX509Subject(x509Subject); - setX509Issuer(x509Issuer); - setX509PublicKey(x509PublicKey); - setX509SigAlgName(x509SigAlgName); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised CertificateDetailRecord - */ - public CertificateDetailRecord(jj.tech.paolu.repository.jooq.tables.pojos.CertificateDetail value) { - super(CertificateDetail.CERTIFICATE_DETAIL); - - if (value != null) { - setId(value.getId()); - setCertificateApplyId(value.getCertificateApplyId()); - setWorkStartTime(value.getWorkStartTime()); - setWorkEndTime(value.getWorkEndTime()); - setStatus(value.getStatus()); - setCertFileContent(value.getCertFileContent()); - setIsUpChain(value.getIsUpChain()); - setWeid(value.getWeid()); - setPrivateKeyHexStr(value.getPrivateKeyHexStr()); - setX509SerialNumber(value.getX509SerialNumber()); - setX509Subject(value.getX509Subject()); - setX509Issuer(value.getX509Issuer()); - setX509PublicKey(value.getX509PublicKey()); - setX509SigAlgName(value.getX509SigAlgName()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/DecryptLogRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/DecryptLogRecord.java deleted file mode 100644 index 53b2e33..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/DecryptLogRecord.java +++ /dev/null @@ -1,426 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.tables.DecryptLog; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record9; -import org.jooq.Row9; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * 解密情况 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DecryptLogRecord extends UpdatableRecordImpl implements Record9 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.decrypt_log.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.decrypt_log.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.decrypt_log.weid. 申请人id - */ - public void setWeid(String value) { - set(1, value); - } - - /** - * Getter for public.decrypt_log.weid. 申请人id - */ - public String getWeid() { - return (String) get(1); - } - - /** - * Setter for public.decrypt_log.content_type. 档案类型(0件/1件内文件) - */ - public void setContentType(Integer value) { - set(2, value); - } - - /** - * Getter for public.decrypt_log.content_type. 档案类型(0件/1件内文件) - */ - public Integer getContentType() { - return (Integer) get(2); - } - - /** - * Setter for public.decrypt_log.content_id. 档案id - */ - public void setContentId(String value) { - set(3, value); - } - - /** - * Getter for public.decrypt_log.content_id. 档案id - */ - public String getContentId() { - return (String) get(3); - } - - /** - * Setter for public.decrypt_log.dec_time. 解密时间 - */ - public void setDecTime(LocalDateTime value) { - set(4, value); - } - - /** - * Getter for public.decrypt_log.dec_time. 解密时间 - */ - public LocalDateTime getDecTime() { - return (LocalDateTime) get(4); - } - - /** - * Setter for public.decrypt_log.location. 区域 - */ - public void setLocation(String value) { - set(5, value); - } - - /** - * Getter for public.decrypt_log.location. 区域 - */ - public String getLocation() { - return (String) get(5); - } - - /** - * Setter for public.decrypt_log.sm9hibeid. 秘钥id - */ - public void setSm9hibeid(String value) { - set(6, value); - } - - /** - * Getter for public.decrypt_log.sm9hibeid. 秘钥id - */ - public String getSm9hibeid() { - return (String) get(6); - } - - /** - * Setter for public.decrypt_log.status. 解密结果(0失败1成功) - */ - public void setStatus(Integer value) { - set(7, value); - } - - /** - * Getter for public.decrypt_log.status. 解密结果(0失败1成功) - */ - public Integer getStatus() { - return (Integer) get(7); - } - - /** - * Setter for public.decrypt_log.sign. 数字签名 - */ - public void setSign(String value) { - set(8, value); - } - - /** - * Getter for public.decrypt_log.sign. 数字签名 - */ - public String getSign() { - return (String) get(8); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record9 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row9 fieldsRow() { - return (Row9) super.fieldsRow(); - } - - @Override - public Row9 valuesRow() { - return (Row9) super.valuesRow(); - } - - @Override - public Field field1() { - return DecryptLog.DECRYPT_LOG.ID; - } - - @Override - public Field field2() { - return DecryptLog.DECRYPT_LOG.WEID; - } - - @Override - public Field field3() { - return DecryptLog.DECRYPT_LOG.CONTENT_TYPE; - } - - @Override - public Field field4() { - return DecryptLog.DECRYPT_LOG.CONTENT_ID; - } - - @Override - public Field field5() { - return DecryptLog.DECRYPT_LOG.DEC_TIME; - } - - @Override - public Field field6() { - return DecryptLog.DECRYPT_LOG.LOCATION; - } - - @Override - public Field field7() { - return DecryptLog.DECRYPT_LOG.SM9HIBEID; - } - - @Override - public Field field8() { - return DecryptLog.DECRYPT_LOG.STATUS; - } - - @Override - public Field field9() { - return DecryptLog.DECRYPT_LOG.SIGN; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getWeid(); - } - - @Override - public Integer component3() { - return getContentType(); - } - - @Override - public String component4() { - return getContentId(); - } - - @Override - public LocalDateTime component5() { - return getDecTime(); - } - - @Override - public String component6() { - return getLocation(); - } - - @Override - public String component7() { - return getSm9hibeid(); - } - - @Override - public Integer component8() { - return getStatus(); - } - - @Override - public String component9() { - return getSign(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getWeid(); - } - - @Override - public Integer value3() { - return getContentType(); - } - - @Override - public String value4() { - return getContentId(); - } - - @Override - public LocalDateTime value5() { - return getDecTime(); - } - - @Override - public String value6() { - return getLocation(); - } - - @Override - public String value7() { - return getSm9hibeid(); - } - - @Override - public Integer value8() { - return getStatus(); - } - - @Override - public String value9() { - return getSign(); - } - - @Override - public DecryptLogRecord value1(String value) { - setId(value); - return this; - } - - @Override - public DecryptLogRecord value2(String value) { - setWeid(value); - return this; - } - - @Override - public DecryptLogRecord value3(Integer value) { - setContentType(value); - return this; - } - - @Override - public DecryptLogRecord value4(String value) { - setContentId(value); - return this; - } - - @Override - public DecryptLogRecord value5(LocalDateTime value) { - setDecTime(value); - return this; - } - - @Override - public DecryptLogRecord value6(String value) { - setLocation(value); - return this; - } - - @Override - public DecryptLogRecord value7(String value) { - setSm9hibeid(value); - return this; - } - - @Override - public DecryptLogRecord value8(Integer value) { - setStatus(value); - return this; - } - - @Override - public DecryptLogRecord value9(String value) { - setSign(value); - return this; - } - - @Override - public DecryptLogRecord values(String value1, String value2, Integer value3, String value4, LocalDateTime value5, String value6, String value7, Integer value8, String value9) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached DecryptLogRecord - */ - public DecryptLogRecord() { - super(DecryptLog.DECRYPT_LOG); - } - - /** - * Create a detached, initialised DecryptLogRecord - */ - public DecryptLogRecord(String id, String weid, Integer contentType, String contentId, LocalDateTime decTime, String location, String sm9hibeid, Integer status, String sign) { - super(DecryptLog.DECRYPT_LOG); - - setId(id); - setWeid(weid); - setContentType(contentType); - setContentId(contentId); - setDecTime(decTime); - setLocation(location); - setSm9hibeid(sm9hibeid); - setStatus(status); - setSign(sign); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised DecryptLogRecord - */ - public DecryptLogRecord(jj.tech.paolu.repository.jooq.tables.pojos.DecryptLog value) { - super(DecryptLog.DECRYPT_LOG); - - if (value != null) { - setId(value.getId()); - setWeid(value.getWeid()); - setContentType(value.getContentType()); - setContentId(value.getContentId()); - setDecTime(value.getDecTime()); - setLocation(value.getLocation()); - setSm9hibeid(value.getSm9hibeid()); - setStatus(value.getStatus()); - setSign(value.getSign()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/DownloadLogRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/DownloadLogRecord.java deleted file mode 100644 index 82ef3bf..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/DownloadLogRecord.java +++ /dev/null @@ -1,354 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.tables.DownloadLog; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record7; -import org.jooq.Row7; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * 下载行为记录 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DownloadLogRecord extends UpdatableRecordImpl implements Record7 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.download_log.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.download_log.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.download_log.weid. weid - */ - public void setWeid(String value) { - set(1, value); - } - - /** - * Getter for public.download_log.weid. weid - */ - public String getWeid() { - return (String) get(1); - } - - /** - * Setter for public.download_log.downloadtime. 下载时间 - */ - public void setDownloadtime(LocalDateTime value) { - set(2, value); - } - - /** - * Getter for public.download_log.downloadtime. 下载时间 - */ - public LocalDateTime getDownloadtime() { - return (LocalDateTime) get(2); - } - - /** - * Setter for public.download_log.filenum. 下载文件数 - */ - public void setFilenum(Integer value) { - set(3, value); - } - - /** - * Getter for public.download_log.filenum. 下载文件数 - */ - public Integer getFilenum() { - return (Integer) get(3); - } - - /** - * Setter for public.download_log.content_type. - * 下载类型(1文件包/2单个附件(SyncFile)/3单个件(DirecotryFile)) - */ - public void setContentType(Integer value) { - set(4, value); - } - - /** - * Getter for public.download_log.content_type. - * 下载类型(1文件包/2单个附件(SyncFile)/3单个件(DirecotryFile)) - */ - public Integer getContentType() { - return (Integer) get(4); - } - - /** - * Setter for public.download_log.contentid. - * 下载记录ID(如果是单个文件,就取ID,如果是包,就是包内包含的文件的ID列表) - */ - public void setContentid(String value) { - set(5, value); - } - - /** - * Getter for public.download_log.contentid. - * 下载记录ID(如果是单个文件,就取ID,如果是包,就是包内包含的文件的ID列表) - */ - public String getContentid() { - return (String) get(5); - } - - /** - * Setter for public.download_log.sign. 数字签名 - */ - public void setSign(String value) { - set(6, value); - } - - /** - * Getter for public.download_log.sign. 数字签名 - */ - public String getSign() { - return (String) get(6); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record7 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - @Override - public Row7 valuesRow() { - return (Row7) super.valuesRow(); - } - - @Override - public Field field1() { - return DownloadLog.DOWNLOAD_LOG.ID; - } - - @Override - public Field field2() { - return DownloadLog.DOWNLOAD_LOG.WEID; - } - - @Override - public Field field3() { - return DownloadLog.DOWNLOAD_LOG.DOWNLOADTIME; - } - - @Override - public Field field4() { - return DownloadLog.DOWNLOAD_LOG.FILENUM; - } - - @Override - public Field field5() { - return DownloadLog.DOWNLOAD_LOG.CONTENT_TYPE; - } - - @Override - public Field field6() { - return DownloadLog.DOWNLOAD_LOG.CONTENTID; - } - - @Override - public Field field7() { - return DownloadLog.DOWNLOAD_LOG.SIGN; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getWeid(); - } - - @Override - public LocalDateTime component3() { - return getDownloadtime(); - } - - @Override - public Integer component4() { - return getFilenum(); - } - - @Override - public Integer component5() { - return getContentType(); - } - - @Override - public String component6() { - return getContentid(); - } - - @Override - public String component7() { - return getSign(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getWeid(); - } - - @Override - public LocalDateTime value3() { - return getDownloadtime(); - } - - @Override - public Integer value4() { - return getFilenum(); - } - - @Override - public Integer value5() { - return getContentType(); - } - - @Override - public String value6() { - return getContentid(); - } - - @Override - public String value7() { - return getSign(); - } - - @Override - public DownloadLogRecord value1(String value) { - setId(value); - return this; - } - - @Override - public DownloadLogRecord value2(String value) { - setWeid(value); - return this; - } - - @Override - public DownloadLogRecord value3(LocalDateTime value) { - setDownloadtime(value); - return this; - } - - @Override - public DownloadLogRecord value4(Integer value) { - setFilenum(value); - return this; - } - - @Override - public DownloadLogRecord value5(Integer value) { - setContentType(value); - return this; - } - - @Override - public DownloadLogRecord value6(String value) { - setContentid(value); - return this; - } - - @Override - public DownloadLogRecord value7(String value) { - setSign(value); - return this; - } - - @Override - public DownloadLogRecord values(String value1, String value2, LocalDateTime value3, Integer value4, Integer value5, String value6, String value7) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached DownloadLogRecord - */ - public DownloadLogRecord() { - super(DownloadLog.DOWNLOAD_LOG); - } - - /** - * Create a detached, initialised DownloadLogRecord - */ - public DownloadLogRecord(String id, String weid, LocalDateTime downloadtime, Integer filenum, Integer contentType, String contentid, String sign) { - super(DownloadLog.DOWNLOAD_LOG); - - setId(id); - setWeid(weid); - setDownloadtime(downloadtime); - setFilenum(filenum); - setContentType(contentType); - setContentid(contentid); - setSign(sign); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised DownloadLogRecord - */ - public DownloadLogRecord(jj.tech.paolu.repository.jooq.tables.pojos.DownloadLog value) { - super(DownloadLog.DOWNLOAD_LOG); - - if (value != null) { - setId(value.getId()); - setWeid(value.getWeid()); - setDownloadtime(value.getDownloadtime()); - setFilenum(value.getFilenum()); - setContentType(value.getContentType()); - setContentid(value.getContentid()); - setSign(value.getSign()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyCheckRecordRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyCheckRecordRecord.java deleted file mode 100644 index 61518e3..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyCheckRecordRecord.java +++ /dev/null @@ -1,664 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.tables.FilesApplyCheckRecord; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record15; -import org.jooq.Row15; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyCheckRecordRecord extends UpdatableRecordImpl implements Record15 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.files_apply_check_record.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.files_apply_check_record.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.files_apply_check_record.files_apply_id. - */ - public void setFilesApplyId(String value) { - set(1, value); - } - - /** - * Getter for public.files_apply_check_record.files_apply_id. - */ - public String getFilesApplyId() { - return (String) get(1); - } - - /** - * Setter for - * public.files_apply_check_record.is_apply_provider. - */ - public void setIsApplyProvider(Integer value) { - set(2, value); - } - - /** - * Getter for - * public.files_apply_check_record.is_apply_provider. - */ - public Integer getIsApplyProvider() { - return (Integer) get(2); - } - - /** - * Setter for public.files_apply_check_record.check_user_id. - */ - public void setCheckUserId(String value) { - set(3, value); - } - - /** - * Getter for public.files_apply_check_record.check_user_id. - */ - public String getCheckUserId() { - return (String) get(3); - } - - /** - * Setter for public.files_apply_check_record.check_user_name. - */ - public void setCheckUserName(String value) { - set(4, value); - } - - /** - * Getter for public.files_apply_check_record.check_user_name. - */ - public String getCheckUserName() { - return (String) get(4); - } - - /** - * Setter for public.files_apply_check_record.check_org_id. - */ - public void setCheckOrgId(String value) { - set(5, value); - } - - /** - * Getter for public.files_apply_check_record.check_org_id. - */ - public String getCheckOrgId() { - return (String) get(5); - } - - /** - * Setter for public.files_apply_check_record.check_org_name. - */ - public void setCheckOrgName(String value) { - set(6, value); - } - - /** - * Getter for public.files_apply_check_record.check_org_name. - */ - public String getCheckOrgName() { - return (String) get(6); - } - - /** - * Setter for - * public.files_apply_check_record.next_check_org_id. - */ - public void setNextCheckOrgId(String value) { - set(7, value); - } - - /** - * Getter for - * public.files_apply_check_record.next_check_org_id. - */ - public String getNextCheckOrgId() { - return (String) get(7); - } - - /** - * Setter for - * public.files_apply_check_record.next_check_org_name. - */ - public void setNextCheckOrgName(String value) { - set(8, value); - } - - /** - * Getter for - * public.files_apply_check_record.next_check_org_name. - */ - public String getNextCheckOrgName() { - return (String) get(8); - } - - /** - * Setter for public.files_apply_check_record.check_describe. - */ - public void setCheckDescribe(String value) { - set(9, value); - } - - /** - * Getter for public.files_apply_check_record.check_describe. - */ - public String getCheckDescribe() { - return (String) get(9); - } - - /** - * Setter for public.files_apply_check_record.check_status. - */ - public void setCheckStatus(Integer value) { - set(10, value); - } - - /** - * Getter for public.files_apply_check_record.check_status. - */ - public Integer getCheckStatus() { - return (Integer) get(10); - } - - /** - * Setter for public.files_apply_check_record.check_time. - */ - public void setCheckTime(LocalDateTime value) { - set(11, value); - } - - /** - * Getter for public.files_apply_check_record.check_time. - */ - public LocalDateTime getCheckTime() { - return (LocalDateTime) get(11); - } - - /** - * Setter for - * public.files_apply_check_record.provider_next_check_role_sign_id. - */ - public void setProviderNextCheckRoleSignId(String value) { - set(12, value); - } - - /** - * Getter for - * public.files_apply_check_record.provider_next_check_role_sign_id. - */ - public String getProviderNextCheckRoleSignId() { - return (String) get(12); - } - - /** - * Setter for - * public.files_apply_check_record.provider_next_check_role_sign_name. - */ - public void setProviderNextCheckRoleSignName(String value) { - set(13, value); - } - - /** - * Getter for - * public.files_apply_check_record.provider_next_check_role_sign_name. - */ - public String getProviderNextCheckRoleSignName() { - return (String) get(13); - } - - /** - * Setter for public.files_apply_check_record.sign. - */ - public void setSign(String value) { - set(14, value); - } - - /** - * Getter for public.files_apply_check_record.sign. - */ - public String getSign() { - return (String) get(14); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record15 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row15 fieldsRow() { - return (Row15) super.fieldsRow(); - } - - @Override - public Row15 valuesRow() { - return (Row15) super.valuesRow(); - } - - @Override - public Field field1() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.ID; - } - - @Override - public Field field2() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.FILES_APPLY_ID; - } - - @Override - public Field field3() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.IS_APPLY_PROVIDER; - } - - @Override - public Field field4() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_USER_ID; - } - - @Override - public Field field5() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_USER_NAME; - } - - @Override - public Field field6() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_ORG_ID; - } - - @Override - public Field field7() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_ORG_NAME; - } - - @Override - public Field field8() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.NEXT_CHECK_ORG_ID; - } - - @Override - public Field field9() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.NEXT_CHECK_ORG_NAME; - } - - @Override - public Field field10() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_DESCRIBE; - } - - @Override - public Field field11() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_STATUS; - } - - @Override - public Field field12() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.CHECK_TIME; - } - - @Override - public Field field13() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.PROVIDER_NEXT_CHECK_ROLE_SIGN_ID; - } - - @Override - public Field field14() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.PROVIDER_NEXT_CHECK_ROLE_SIGN_NAME; - } - - @Override - public Field field15() { - return FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD.SIGN; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getFilesApplyId(); - } - - @Override - public Integer component3() { - return getIsApplyProvider(); - } - - @Override - public String component4() { - return getCheckUserId(); - } - - @Override - public String component5() { - return getCheckUserName(); - } - - @Override - public String component6() { - return getCheckOrgId(); - } - - @Override - public String component7() { - return getCheckOrgName(); - } - - @Override - public String component8() { - return getNextCheckOrgId(); - } - - @Override - public String component9() { - return getNextCheckOrgName(); - } - - @Override - public String component10() { - return getCheckDescribe(); - } - - @Override - public Integer component11() { - return getCheckStatus(); - } - - @Override - public LocalDateTime component12() { - return getCheckTime(); - } - - @Override - public String component13() { - return getProviderNextCheckRoleSignId(); - } - - @Override - public String component14() { - return getProviderNextCheckRoleSignName(); - } - - @Override - public String component15() { - return getSign(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getFilesApplyId(); - } - - @Override - public Integer value3() { - return getIsApplyProvider(); - } - - @Override - public String value4() { - return getCheckUserId(); - } - - @Override - public String value5() { - return getCheckUserName(); - } - - @Override - public String value6() { - return getCheckOrgId(); - } - - @Override - public String value7() { - return getCheckOrgName(); - } - - @Override - public String value8() { - return getNextCheckOrgId(); - } - - @Override - public String value9() { - return getNextCheckOrgName(); - } - - @Override - public String value10() { - return getCheckDescribe(); - } - - @Override - public Integer value11() { - return getCheckStatus(); - } - - @Override - public LocalDateTime value12() { - return getCheckTime(); - } - - @Override - public String value13() { - return getProviderNextCheckRoleSignId(); - } - - @Override - public String value14() { - return getProviderNextCheckRoleSignName(); - } - - @Override - public String value15() { - return getSign(); - } - - @Override - public FilesApplyCheckRecordRecord value1(String value) { - setId(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value2(String value) { - setFilesApplyId(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value3(Integer value) { - setIsApplyProvider(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value4(String value) { - setCheckUserId(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value5(String value) { - setCheckUserName(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value6(String value) { - setCheckOrgId(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value7(String value) { - setCheckOrgName(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value8(String value) { - setNextCheckOrgId(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value9(String value) { - setNextCheckOrgName(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value10(String value) { - setCheckDescribe(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value11(Integer value) { - setCheckStatus(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value12(LocalDateTime value) { - setCheckTime(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value13(String value) { - setProviderNextCheckRoleSignId(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value14(String value) { - setProviderNextCheckRoleSignName(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord value15(String value) { - setSign(value); - return this; - } - - @Override - public FilesApplyCheckRecordRecord values(String value1, String value2, Integer value3, String value4, String value5, String value6, String value7, String value8, String value9, String value10, Integer value11, LocalDateTime value12, String value13, String value14, String value15) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - value15(value15); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached FilesApplyCheckRecordRecord - */ - public FilesApplyCheckRecordRecord() { - super(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD); - } - - /** - * Create a detached, initialised FilesApplyCheckRecordRecord - */ - public FilesApplyCheckRecordRecord(String id, String filesApplyId, Integer isApplyProvider, String checkUserId, String checkUserName, String checkOrgId, String checkOrgName, String nextCheckOrgId, String nextCheckOrgName, String checkDescribe, Integer checkStatus, LocalDateTime checkTime, String providerNextCheckRoleSignId, String providerNextCheckRoleSignName, String sign) { - super(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD); - - setId(id); - setFilesApplyId(filesApplyId); - setIsApplyProvider(isApplyProvider); - setCheckUserId(checkUserId); - setCheckUserName(checkUserName); - setCheckOrgId(checkOrgId); - setCheckOrgName(checkOrgName); - setNextCheckOrgId(nextCheckOrgId); - setNextCheckOrgName(nextCheckOrgName); - setCheckDescribe(checkDescribe); - setCheckStatus(checkStatus); - setCheckTime(checkTime); - setProviderNextCheckRoleSignId(providerNextCheckRoleSignId); - setProviderNextCheckRoleSignName(providerNextCheckRoleSignName); - setSign(sign); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised FilesApplyCheckRecordRecord - */ - public FilesApplyCheckRecordRecord(jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyCheckRecord value) { - super(FilesApplyCheckRecord.FILES_APPLY_CHECK_RECORD); - - if (value != null) { - setId(value.getId()); - setFilesApplyId(value.getFilesApplyId()); - setIsApplyProvider(value.getIsApplyProvider()); - setCheckUserId(value.getCheckUserId()); - setCheckUserName(value.getCheckUserName()); - setCheckOrgId(value.getCheckOrgId()); - setCheckOrgName(value.getCheckOrgName()); - setNextCheckOrgId(value.getNextCheckOrgId()); - setNextCheckOrgName(value.getNextCheckOrgName()); - setCheckDescribe(value.getCheckDescribe()); - setCheckStatus(value.getCheckStatus()); - setCheckTime(value.getCheckTime()); - setProviderNextCheckRoleSignId(value.getProviderNextCheckRoleSignId()); - setProviderNextCheckRoleSignName(value.getProviderNextCheckRoleSignName()); - setSign(value.getSign()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyDirectoryDocsRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyDirectoryDocsRecord.java deleted file mode 100644 index 6a1774f..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyDirectoryDocsRecord.java +++ /dev/null @@ -1,432 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import jj.tech.paolu.repository.jooq.tables.FilesApplyDirectoryDocs; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyDirectoryDocsRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.files_apply_directory_docs.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.files_apply_directory_docs.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.files_apply_directory_docs.files_apply_id. - */ - public void setFilesApplyId(String value) { - set(1, value); - } - - /** - * Getter for public.files_apply_directory_docs.files_apply_id. - */ - public String getFilesApplyId() { - return (String) get(1); - } - - /** - * Setter for - * public.files_apply_directory_docs.directory_file_id. - */ - public void setDirectoryFileId(String value) { - set(2, value); - } - - /** - * Getter for - * public.files_apply_directory_docs.directory_file_id. - */ - public String getDirectoryFileId() { - return (String) get(2); - } - - /** - * Setter for - * public.files_apply_directory_docs.directory_file_p_id. - */ - public void setDirectoryFilePId(String value) { - set(3, value); - } - - /** - * Getter for - * public.files_apply_directory_docs.directory_file_p_id. - */ - public String getDirectoryFilePId() { - return (String) get(3); - } - - /** - * Setter for public.files_apply_directory_docs.filesuper. - */ - public void setFilesuper(String value) { - set(4, value); - } - - /** - * Getter for public.files_apply_directory_docs.filesuper. - */ - public String getFilesuper() { - return (String) get(4); - } - - /** - * Setter for public.files_apply_directory_docs.filecount. - */ - public void setFilecount(Integer value) { - set(5, value); - } - - /** - * Getter for public.files_apply_directory_docs.filecount. - */ - public Integer getFilecount() { - return (Integer) get(5); - } - - /** - * Setter for public.files_apply_directory_docs.dutyperson. - */ - public void setDutyperson(String value) { - set(6, value); - } - - /** - * Getter for public.files_apply_directory_docs.dutyperson. - */ - public String getDutyperson() { - return (String) get(6); - } - - /** - * Setter for public.files_apply_directory_docs.eweavedate. - */ - public void setEweavedate(String value) { - set(7, value); - } - - /** - * Getter for public.files_apply_directory_docs.eweavedate. - */ - public String getEweavedate() { - return (String) get(7); - } - - /** - * Setter for public.files_apply_directory_docs.filepage. - */ - public void setFilepage(Integer value) { - set(8, value); - } - - /** - * Getter for public.files_apply_directory_docs.filepage. - */ - public Integer getFilepage() { - return (Integer) get(8); - } - - /** - * Setter for public.files_apply_directory_docs.sortorder. - */ - public void setSortorder(String value) { - set(9, value); - } - - /** - * Getter for public.files_apply_directory_docs.sortorder. - */ - public String getSortorder() { - return (String) get(9); - } - - /** - * Setter for public.files_apply_directory_docs.bpeg. - */ - public void setBpeg(String value) { - set(10, value); - } - - /** - * Getter for public.files_apply_directory_docs.bpeg. - */ - public String getBpeg() { - return (String) get(10); - } - - /** - * Setter for public.files_apply_directory_docs.epeg. - */ - public void setEpeg(String value) { - set(11, value); - } - - /** - * Getter for public.files_apply_directory_docs.epeg. - */ - public String getEpeg() { - return (String) get(11); - } - - /** - * Setter for public.files_apply_directory_docs.filenum. - */ - public void setFilenum(String value) { - set(12, value); - } - - /** - * Getter for public.files_apply_directory_docs.filenum. - */ - public String getFilenum() { - return (String) get(12); - } - - /** - * Setter for public.files_apply_directory_docs.remark. - */ - public void setRemark(String value) { - set(13, value); - } - - /** - * Getter for public.files_apply_directory_docs.remark. - */ - public String getRemark() { - return (String) get(13); - } - - /** - * Setter for public.files_apply_directory_docs.recordnum. - */ - public void setRecordnum(String value) { - set(14, value); - } - - /** - * Getter for public.files_apply_directory_docs.recordnum. - */ - public String getRecordnum() { - return (String) get(14); - } - - /** - * Setter for public.files_apply_directory_docs.piecenumber. - */ - public void setPiecenumber(String value) { - set(15, value); - } - - /** - * Getter for public.files_apply_directory_docs.piecenumber. - */ - public String getPiecenumber() { - return (String) get(15); - } - - /** - * Setter for public.files_apply_directory_docs.adddate. - */ - public void setAdddate(String value) { - set(16, value); - } - - /** - * Getter for public.files_apply_directory_docs.adddate. - */ - public String getAdddate() { - return (String) get(16); - } - - /** - * Setter for public.files_apply_directory_docs.editdate. - */ - public void setEditdate(String value) { - set(17, value); - } - - /** - * Getter for public.files_apply_directory_docs.editdate. - */ - public String getEditdate() { - return (String) get(17); - } - - /** - * Setter for public.files_apply_directory_docs.time_stamp. - */ - public void setTimeStamp(String value) { - set(18, value); - } - - /** - * Getter for public.files_apply_directory_docs.time_stamp. - */ - public String getTimeStamp() { - return (String) get(18); - } - - /** - * Setter for public.files_apply_directory_docs.isdel. - */ - public void setIsdel(Integer value) { - set(19, value); - } - - /** - * Getter for public.files_apply_directory_docs.isdel. - */ - public Integer getIsdel() { - return (Integer) get(19); - } - - /** - * Setter for public.files_apply_directory_docs.catalogpdfurl. - */ - public void setCatalogpdfurl(String value) { - set(20, value); - } - - /** - * Getter for public.files_apply_directory_docs.catalogpdfurl. - */ - public String getCatalogpdfurl() { - return (String) get(20); - } - - /** - * Setter for public.files_apply_directory_docs.signtag. - */ - public void setSigntag(String value) { - set(21, value); - } - - /** - * Getter for public.files_apply_directory_docs.signtag. - */ - public String getSigntag() { - return (String) get(21); - } - - /** - * Setter for public.files_apply_directory_docs.collecttag. - */ - public void setCollecttag(String value) { - set(22, value); - } - - /** - * Getter for public.files_apply_directory_docs.collecttag. - */ - public String getCollecttag() { - return (String) get(22); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached FilesApplyDirectoryDocsRecord - */ - public FilesApplyDirectoryDocsRecord() { - super(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS); - } - - /** - * Create a detached, initialised FilesApplyDirectoryDocsRecord - */ - public FilesApplyDirectoryDocsRecord(String id, String filesApplyId, String directoryFileId, String directoryFilePId, String filesuper, Integer filecount, String dutyperson, String eweavedate, Integer filepage, String sortorder, String bpeg, String epeg, String filenum, String remark, String recordnum, String piecenumber, String adddate, String editdate, String timeStamp, Integer isdel, String catalogpdfurl, String signtag, String collecttag) { - super(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS); - - setId(id); - setFilesApplyId(filesApplyId); - setDirectoryFileId(directoryFileId); - setDirectoryFilePId(directoryFilePId); - setFilesuper(filesuper); - setFilecount(filecount); - setDutyperson(dutyperson); - setEweavedate(eweavedate); - setFilepage(filepage); - setSortorder(sortorder); - setBpeg(bpeg); - setEpeg(epeg); - setFilenum(filenum); - setRemark(remark); - setRecordnum(recordnum); - setPiecenumber(piecenumber); - setAdddate(adddate); - setEditdate(editdate); - setTimeStamp(timeStamp); - setIsdel(isdel); - setCatalogpdfurl(catalogpdfurl); - setSigntag(signtag); - setCollecttag(collecttag); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised FilesApplyDirectoryDocsRecord - */ - public FilesApplyDirectoryDocsRecord(jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDirectoryDocs value) { - super(FilesApplyDirectoryDocs.FILES_APPLY_DIRECTORY_DOCS); - - if (value != null) { - setId(value.getId()); - setFilesApplyId(value.getFilesApplyId()); - setDirectoryFileId(value.getDirectoryFileId()); - setDirectoryFilePId(value.getDirectoryFilePId()); - setFilesuper(value.getFilesuper()); - setFilecount(value.getFilecount()); - setDutyperson(value.getDutyperson()); - setEweavedate(value.getEweavedate()); - setFilepage(value.getFilepage()); - setSortorder(value.getSortorder()); - setBpeg(value.getBpeg()); - setEpeg(value.getEpeg()); - setFilenum(value.getFilenum()); - setRemark(value.getRemark()); - setRecordnum(value.getRecordnum()); - setPiecenumber(value.getPiecenumber()); - setAdddate(value.getAdddate()); - setEditdate(value.getEditdate()); - setTimeStamp(value.getTimeStamp()); - setIsdel(value.getIsdel()); - setCatalogpdfurl(value.getCatalogpdfurl()); - setSigntag(value.getSigntag()); - setCollecttag(value.getCollecttag()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyDocsRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyDocsRecord.java deleted file mode 100644 index 8265738..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyDocsRecord.java +++ /dev/null @@ -1,880 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import jj.tech.paolu.repository.jooq.tables.FilesApplyDocs; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record21; -import org.jooq.Row21; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyDocsRecord extends UpdatableRecordImpl implements Record21 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.files_apply_docs.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.files_apply_docs.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.files_apply_docs.files_apply_id. - */ - public void setFilesApplyId(String value) { - set(1, value); - } - - /** - * Getter for public.files_apply_docs.files_apply_id. - */ - public String getFilesApplyId() { - return (String) get(1); - } - - /** - * Setter for public.files_apply_docs.syn_file_id. - */ - public void setSynFileId(String value) { - set(2, value); - } - - /** - * Getter for public.files_apply_docs.syn_file_id. - */ - public String getSynFileId() { - return (String) get(2); - } - - /** - * Setter for public.files_apply_docs.syn_file_p_id. - */ - public void setSynFilePId(String value) { - set(3, value); - } - - /** - * Getter for public.files_apply_docs.syn_file_p_id. - */ - public String getSynFilePId() { - return (String) get(3); - } - - /** - * Setter for public.files_apply_docs.tablenumber. - */ - public void setTablenumber(String value) { - set(4, value); - } - - /** - * Getter for public.files_apply_docs.tablenumber. - */ - public String getTablenumber() { - return (String) get(4); - } - - /** - * Setter for public.files_apply_docs.annexname. - */ - public void setAnnexname(String value) { - set(5, value); - } - - /** - * Getter for public.files_apply_docs.annexname. - */ - public String getAnnexname() { - return (String) get(5); - } - - /** - * Setter for public.files_apply_docs.projectname. - */ - public void setProjectname(String value) { - set(6, value); - } - - /** - * Getter for public.files_apply_docs.projectname. - */ - public String getProjectname() { - return (String) get(6); - } - - /** - * Setter for public.files_apply_docs.eweavedate. - */ - public void setEweavedate(String value) { - set(7, value); - } - - /** - * Getter for public.files_apply_docs.eweavedate. - */ - public String getEweavedate() { - return (String) get(7); - } - - /** - * Setter for public.files_apply_docs.checkdate. - */ - public void setCheckdate(String value) { - set(8, value); - } - - /** - * Getter for public.files_apply_docs.checkdate. - */ - public String getCheckdate() { - return (String) get(8); - } - - /** - * Setter for public.files_apply_docs.annexpage. - */ - public void setAnnexpage(Integer value) { - set(9, value); - } - - /** - * Getter for public.files_apply_docs.annexpage. - */ - public Integer getAnnexpage() { - return (Integer) get(9); - } - - /** - * Setter for public.files_apply_docs.sortorder. - */ - public void setSortorder(String value) { - set(10, value); - } - - /** - * Getter for public.files_apply_docs.sortorder. - */ - public String getSortorder() { - return (String) get(10); - } - - /** - * Setter for public.files_apply_docs.filefrom. - */ - public void setFilefrom(String value) { - set(11, value); - } - - /** - * Getter for public.files_apply_docs.filefrom. - */ - public String getFilefrom() { - return (String) get(11); - } - - /** - * Setter for public.files_apply_docs.archivestag. - */ - public void setArchivestag(String value) { - set(12, value); - } - - /** - * Getter for public.files_apply_docs.archivestag. - */ - public String getArchivestag() { - return (String) get(12); - } - - /** - * Setter for public.files_apply_docs.adddate. - */ - public void setAdddate(String value) { - set(13, value); - } - - /** - * Getter for public.files_apply_docs.adddate. - */ - public String getAdddate() { - return (String) get(13); - } - - /** - * Setter for public.files_apply_docs.editdate. - */ - public void setEditdate(String value) { - set(14, value); - } - - /** - * Getter for public.files_apply_docs.editdate. - */ - public String getEditdate() { - return (String) get(14); - } - - /** - * Setter for public.files_apply_docs.time_stamp. - */ - public void setTimeStamp(String value) { - set(15, value); - } - - /** - * Getter for public.files_apply_docs.time_stamp. - */ - public String getTimeStamp() { - return (String) get(15); - } - - /** - * Setter for public.files_apply_docs.isdel. - */ - public void setIsdel(Integer value) { - set(16, value); - } - - /** - * Getter for public.files_apply_docs.isdel. - */ - public Integer getIsdel() { - return (Integer) get(16); - } - - /** - * Setter for public.files_apply_docs.downurl. - */ - public void setDownurl(String value) { - set(17, value); - } - - /** - * Getter for public.files_apply_docs.downurl. - */ - public String getDownurl() { - return (String) get(17); - } - - /** - * Setter for public.files_apply_docs.filesize. - */ - public void setFilesize(Integer value) { - set(18, value); - } - - /** - * Getter for public.files_apply_docs.filesize. - */ - public Integer getFilesize() { - return (Integer) get(18); - } - - /** - * Setter for public.files_apply_docs.apply_view_type_print. - */ - public void setApplyViewTypePrint(Integer value) { - set(19, value); - } - - /** - * Getter for public.files_apply_docs.apply_view_type_print. - */ - public Integer getApplyViewTypePrint() { - return (Integer) get(19); - } - - /** - * Setter for public.files_apply_docs.apply_view_type_online. - */ - public void setApplyViewTypeOnline(Integer value) { - set(20, value); - } - - /** - * Getter for public.files_apply_docs.apply_view_type_online. - */ - public Integer getApplyViewTypeOnline() { - return (Integer) get(20); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record21 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row21 fieldsRow() { - return (Row21) super.fieldsRow(); - } - - @Override - public Row21 valuesRow() { - return (Row21) super.valuesRow(); - } - - @Override - public Field field1() { - return FilesApplyDocs.FILES_APPLY_DOCS.ID; - } - - @Override - public Field field2() { - return FilesApplyDocs.FILES_APPLY_DOCS.FILES_APPLY_ID; - } - - @Override - public Field field3() { - return FilesApplyDocs.FILES_APPLY_DOCS.SYN_FILE_ID; - } - - @Override - public Field field4() { - return FilesApplyDocs.FILES_APPLY_DOCS.SYN_FILE_P_ID; - } - - @Override - public Field field5() { - return FilesApplyDocs.FILES_APPLY_DOCS.TABLENUMBER; - } - - @Override - public Field field6() { - return FilesApplyDocs.FILES_APPLY_DOCS.ANNEXNAME; - } - - @Override - public Field field7() { - return FilesApplyDocs.FILES_APPLY_DOCS.PROJECTNAME; - } - - @Override - public Field field8() { - return FilesApplyDocs.FILES_APPLY_DOCS.EWEAVEDATE; - } - - @Override - public Field field9() { - return FilesApplyDocs.FILES_APPLY_DOCS.CHECKDATE; - } - - @Override - public Field field10() { - return FilesApplyDocs.FILES_APPLY_DOCS.ANNEXPAGE; - } - - @Override - public Field field11() { - return FilesApplyDocs.FILES_APPLY_DOCS.SORTORDER; - } - - @Override - public Field field12() { - return FilesApplyDocs.FILES_APPLY_DOCS.FILEFROM; - } - - @Override - public Field field13() { - return FilesApplyDocs.FILES_APPLY_DOCS.ARCHIVESTAG; - } - - @Override - public Field field14() { - return FilesApplyDocs.FILES_APPLY_DOCS.ADDDATE; - } - - @Override - public Field field15() { - return FilesApplyDocs.FILES_APPLY_DOCS.EDITDATE; - } - - @Override - public Field field16() { - return FilesApplyDocs.FILES_APPLY_DOCS.TIME_STAMP; - } - - @Override - public Field field17() { - return FilesApplyDocs.FILES_APPLY_DOCS.ISDEL; - } - - @Override - public Field field18() { - return FilesApplyDocs.FILES_APPLY_DOCS.DOWNURL; - } - - @Override - public Field field19() { - return FilesApplyDocs.FILES_APPLY_DOCS.FILESIZE; - } - - @Override - public Field field20() { - return FilesApplyDocs.FILES_APPLY_DOCS.APPLY_VIEW_TYPE_PRINT; - } - - @Override - public Field field21() { - return FilesApplyDocs.FILES_APPLY_DOCS.APPLY_VIEW_TYPE_ONLINE; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getFilesApplyId(); - } - - @Override - public String component3() { - return getSynFileId(); - } - - @Override - public String component4() { - return getSynFilePId(); - } - - @Override - public String component5() { - return getTablenumber(); - } - - @Override - public String component6() { - return getAnnexname(); - } - - @Override - public String component7() { - return getProjectname(); - } - - @Override - public String component8() { - return getEweavedate(); - } - - @Override - public String component9() { - return getCheckdate(); - } - - @Override - public Integer component10() { - return getAnnexpage(); - } - - @Override - public String component11() { - return getSortorder(); - } - - @Override - public String component12() { - return getFilefrom(); - } - - @Override - public String component13() { - return getArchivestag(); - } - - @Override - public String component14() { - return getAdddate(); - } - - @Override - public String component15() { - return getEditdate(); - } - - @Override - public String component16() { - return getTimeStamp(); - } - - @Override - public Integer component17() { - return getIsdel(); - } - - @Override - public String component18() { - return getDownurl(); - } - - @Override - public Integer component19() { - return getFilesize(); - } - - @Override - public Integer component20() { - return getApplyViewTypePrint(); - } - - @Override - public Integer component21() { - return getApplyViewTypeOnline(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getFilesApplyId(); - } - - @Override - public String value3() { - return getSynFileId(); - } - - @Override - public String value4() { - return getSynFilePId(); - } - - @Override - public String value5() { - return getTablenumber(); - } - - @Override - public String value6() { - return getAnnexname(); - } - - @Override - public String value7() { - return getProjectname(); - } - - @Override - public String value8() { - return getEweavedate(); - } - - @Override - public String value9() { - return getCheckdate(); - } - - @Override - public Integer value10() { - return getAnnexpage(); - } - - @Override - public String value11() { - return getSortorder(); - } - - @Override - public String value12() { - return getFilefrom(); - } - - @Override - public String value13() { - return getArchivestag(); - } - - @Override - public String value14() { - return getAdddate(); - } - - @Override - public String value15() { - return getEditdate(); - } - - @Override - public String value16() { - return getTimeStamp(); - } - - @Override - public Integer value17() { - return getIsdel(); - } - - @Override - public String value18() { - return getDownurl(); - } - - @Override - public Integer value19() { - return getFilesize(); - } - - @Override - public Integer value20() { - return getApplyViewTypePrint(); - } - - @Override - public Integer value21() { - return getApplyViewTypeOnline(); - } - - @Override - public FilesApplyDocsRecord value1(String value) { - setId(value); - return this; - } - - @Override - public FilesApplyDocsRecord value2(String value) { - setFilesApplyId(value); - return this; - } - - @Override - public FilesApplyDocsRecord value3(String value) { - setSynFileId(value); - return this; - } - - @Override - public FilesApplyDocsRecord value4(String value) { - setSynFilePId(value); - return this; - } - - @Override - public FilesApplyDocsRecord value5(String value) { - setTablenumber(value); - return this; - } - - @Override - public FilesApplyDocsRecord value6(String value) { - setAnnexname(value); - return this; - } - - @Override - public FilesApplyDocsRecord value7(String value) { - setProjectname(value); - return this; - } - - @Override - public FilesApplyDocsRecord value8(String value) { - setEweavedate(value); - return this; - } - - @Override - public FilesApplyDocsRecord value9(String value) { - setCheckdate(value); - return this; - } - - @Override - public FilesApplyDocsRecord value10(Integer value) { - setAnnexpage(value); - return this; - } - - @Override - public FilesApplyDocsRecord value11(String value) { - setSortorder(value); - return this; - } - - @Override - public FilesApplyDocsRecord value12(String value) { - setFilefrom(value); - return this; - } - - @Override - public FilesApplyDocsRecord value13(String value) { - setArchivestag(value); - return this; - } - - @Override - public FilesApplyDocsRecord value14(String value) { - setAdddate(value); - return this; - } - - @Override - public FilesApplyDocsRecord value15(String value) { - setEditdate(value); - return this; - } - - @Override - public FilesApplyDocsRecord value16(String value) { - setTimeStamp(value); - return this; - } - - @Override - public FilesApplyDocsRecord value17(Integer value) { - setIsdel(value); - return this; - } - - @Override - public FilesApplyDocsRecord value18(String value) { - setDownurl(value); - return this; - } - - @Override - public FilesApplyDocsRecord value19(Integer value) { - setFilesize(value); - return this; - } - - @Override - public FilesApplyDocsRecord value20(Integer value) { - setApplyViewTypePrint(value); - return this; - } - - @Override - public FilesApplyDocsRecord value21(Integer value) { - setApplyViewTypeOnline(value); - return this; - } - - @Override - public FilesApplyDocsRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, String value9, Integer value10, String value11, String value12, String value13, String value14, String value15, String value16, Integer value17, String value18, Integer value19, Integer value20, Integer value21) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - value15(value15); - value16(value16); - value17(value17); - value18(value18); - value19(value19); - value20(value20); - value21(value21); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached FilesApplyDocsRecord - */ - public FilesApplyDocsRecord() { - super(FilesApplyDocs.FILES_APPLY_DOCS); - } - - /** - * Create a detached, initialised FilesApplyDocsRecord - */ - public FilesApplyDocsRecord(String id, String filesApplyId, String synFileId, String synFilePId, String tablenumber, String annexname, String projectname, String eweavedate, String checkdate, Integer annexpage, String sortorder, String filefrom, String archivestag, String adddate, String editdate, String timeStamp, Integer isdel, String downurl, Integer filesize, Integer applyViewTypePrint, Integer applyViewTypeOnline) { - super(FilesApplyDocs.FILES_APPLY_DOCS); - - setId(id); - setFilesApplyId(filesApplyId); - setSynFileId(synFileId); - setSynFilePId(synFilePId); - setTablenumber(tablenumber); - setAnnexname(annexname); - setProjectname(projectname); - setEweavedate(eweavedate); - setCheckdate(checkdate); - setAnnexpage(annexpage); - setSortorder(sortorder); - setFilefrom(filefrom); - setArchivestag(archivestag); - setAdddate(adddate); - setEditdate(editdate); - setTimeStamp(timeStamp); - setIsdel(isdel); - setDownurl(downurl); - setFilesize(filesize); - setApplyViewTypePrint(applyViewTypePrint); - setApplyViewTypeOnline(applyViewTypeOnline); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised FilesApplyDocsRecord - */ - public FilesApplyDocsRecord(jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDocs value) { - super(FilesApplyDocs.FILES_APPLY_DOCS); - - if (value != null) { - setId(value.getId()); - setFilesApplyId(value.getFilesApplyId()); - setSynFileId(value.getSynFileId()); - setSynFilePId(value.getSynFilePId()); - setTablenumber(value.getTablenumber()); - setAnnexname(value.getAnnexname()); - setProjectname(value.getProjectname()); - setEweavedate(value.getEweavedate()); - setCheckdate(value.getCheckdate()); - setAnnexpage(value.getAnnexpage()); - setSortorder(value.getSortorder()); - setFilefrom(value.getFilefrom()); - setArchivestag(value.getArchivestag()); - setAdddate(value.getAdddate()); - setEditdate(value.getEditdate()); - setTimeStamp(value.getTimeStamp()); - setIsdel(value.getIsdel()); - setDownurl(value.getDownurl()); - setFilesize(value.getFilesize()); - setApplyViewTypePrint(value.getApplyViewTypePrint()); - setApplyViewTypeOnline(value.getApplyViewTypeOnline()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyDownloadRecordRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyDownloadRecordRecord.java deleted file mode 100644 index a2000d6..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyDownloadRecordRecord.java +++ /dev/null @@ -1,504 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.tables.FilesApplyDownloadRecord; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record11; -import org.jooq.Row11; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyDownloadRecordRecord extends UpdatableRecordImpl implements Record11 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.files_apply_download_record.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.files_apply_download_record.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for - * public.files_apply_download_record.files_apply_id. - */ - public void setFilesApplyId(String value) { - set(1, value); - } - - /** - * Getter for - * public.files_apply_download_record.files_apply_id. - */ - public String getFilesApplyId() { - return (String) get(1); - } - - /** - * Setter for public.files_apply_download_record.is_dir_file. - */ - public void setIsDirFile(Integer value) { - set(2, value); - } - - /** - * Getter for public.files_apply_download_record.is_dir_file. - */ - public Integer getIsDirFile() { - return (Integer) get(2); - } - - /** - * Setter for public.files_apply_download_record.syn_file_id. - */ - public void setSynFileId(String value) { - set(3, value); - } - - /** - * Getter for public.files_apply_download_record.syn_file_id. - */ - public String getSynFileId() { - return (String) get(3); - } - - /** - * Setter for public.files_apply_download_record.syn_file_p_id. - */ - public void setSynFilePId(String value) { - set(4, value); - } - - /** - * Getter for public.files_apply_download_record.syn_file_p_id. - */ - public String getSynFilePId() { - return (String) get(4); - } - - /** - * Setter for public.files_apply_download_record.syn_file_name. - */ - public void setSynFileName(String value) { - set(5, value); - } - - /** - * Getter for public.files_apply_download_record.syn_file_name. - */ - public String getSynFileName() { - return (String) get(5); - } - - /** - * Setter for public.files_apply_download_record.user_id. - */ - public void setUserId(String value) { - set(6, value); - } - - /** - * Getter for public.files_apply_download_record.user_id. - */ - public String getUserId() { - return (String) get(6); - } - - /** - * Setter for public.files_apply_download_record.user_name. - */ - public void setUserName(String value) { - set(7, value); - } - - /** - * Getter for public.files_apply_download_record.user_name. - */ - public String getUserName() { - return (String) get(7); - } - - /** - * Setter for public.files_apply_download_record.org_id. - */ - public void setOrgId(String value) { - set(8, value); - } - - /** - * Getter for public.files_apply_download_record.org_id. - */ - public String getOrgId() { - return (String) get(8); - } - - /** - * Setter for public.files_apply_download_record.org_name. - */ - public void setOrgName(String value) { - set(9, value); - } - - /** - * Getter for public.files_apply_download_record.org_name. - */ - public String getOrgName() { - return (String) get(9); - } - - /** - * Setter for public.files_apply_download_record.download_time. - */ - public void setDownloadTime(LocalDateTime value) { - set(10, value); - } - - /** - * Getter for public.files_apply_download_record.download_time. - */ - public LocalDateTime getDownloadTime() { - return (LocalDateTime) get(10); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record11 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row11 fieldsRow() { - return (Row11) super.fieldsRow(); - } - - @Override - public Row11 valuesRow() { - return (Row11) super.valuesRow(); - } - - @Override - public Field field1() { - return FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ID; - } - - @Override - public Field field2() { - return FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.FILES_APPLY_ID; - } - - @Override - public Field field3() { - return FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.IS_DIR_FILE; - } - - @Override - public Field field4() { - return FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.SYN_FILE_ID; - } - - @Override - public Field field5() { - return FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.SYN_FILE_P_ID; - } - - @Override - public Field field6() { - return FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.SYN_FILE_NAME; - } - - @Override - public Field field7() { - return FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.USER_ID; - } - - @Override - public Field field8() { - return FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.USER_NAME; - } - - @Override - public Field field9() { - return FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ORG_ID; - } - - @Override - public Field field10() { - return FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.ORG_NAME; - } - - @Override - public Field field11() { - return FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD.DOWNLOAD_TIME; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getFilesApplyId(); - } - - @Override - public Integer component3() { - return getIsDirFile(); - } - - @Override - public String component4() { - return getSynFileId(); - } - - @Override - public String component5() { - return getSynFilePId(); - } - - @Override - public String component6() { - return getSynFileName(); - } - - @Override - public String component7() { - return getUserId(); - } - - @Override - public String component8() { - return getUserName(); - } - - @Override - public String component9() { - return getOrgId(); - } - - @Override - public String component10() { - return getOrgName(); - } - - @Override - public LocalDateTime component11() { - return getDownloadTime(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getFilesApplyId(); - } - - @Override - public Integer value3() { - return getIsDirFile(); - } - - @Override - public String value4() { - return getSynFileId(); - } - - @Override - public String value5() { - return getSynFilePId(); - } - - @Override - public String value6() { - return getSynFileName(); - } - - @Override - public String value7() { - return getUserId(); - } - - @Override - public String value8() { - return getUserName(); - } - - @Override - public String value9() { - return getOrgId(); - } - - @Override - public String value10() { - return getOrgName(); - } - - @Override - public LocalDateTime value11() { - return getDownloadTime(); - } - - @Override - public FilesApplyDownloadRecordRecord value1(String value) { - setId(value); - return this; - } - - @Override - public FilesApplyDownloadRecordRecord value2(String value) { - setFilesApplyId(value); - return this; - } - - @Override - public FilesApplyDownloadRecordRecord value3(Integer value) { - setIsDirFile(value); - return this; - } - - @Override - public FilesApplyDownloadRecordRecord value4(String value) { - setSynFileId(value); - return this; - } - - @Override - public FilesApplyDownloadRecordRecord value5(String value) { - setSynFilePId(value); - return this; - } - - @Override - public FilesApplyDownloadRecordRecord value6(String value) { - setSynFileName(value); - return this; - } - - @Override - public FilesApplyDownloadRecordRecord value7(String value) { - setUserId(value); - return this; - } - - @Override - public FilesApplyDownloadRecordRecord value8(String value) { - setUserName(value); - return this; - } - - @Override - public FilesApplyDownloadRecordRecord value9(String value) { - setOrgId(value); - return this; - } - - @Override - public FilesApplyDownloadRecordRecord value10(String value) { - setOrgName(value); - return this; - } - - @Override - public FilesApplyDownloadRecordRecord value11(LocalDateTime value) { - setDownloadTime(value); - return this; - } - - @Override - public FilesApplyDownloadRecordRecord values(String value1, String value2, Integer value3, String value4, String value5, String value6, String value7, String value8, String value9, String value10, LocalDateTime value11) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached FilesApplyDownloadRecordRecord - */ - public FilesApplyDownloadRecordRecord() { - super(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD); - } - - /** - * Create a detached, initialised FilesApplyDownloadRecordRecord - */ - public FilesApplyDownloadRecordRecord(String id, String filesApplyId, Integer isDirFile, String synFileId, String synFilePId, String synFileName, String userId, String userName, String orgId, String orgName, LocalDateTime downloadTime) { - super(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD); - - setId(id); - setFilesApplyId(filesApplyId); - setIsDirFile(isDirFile); - setSynFileId(synFileId); - setSynFilePId(synFilePId); - setSynFileName(synFileName); - setUserId(userId); - setUserName(userName); - setOrgId(orgId); - setOrgName(orgName); - setDownloadTime(downloadTime); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised FilesApplyDownloadRecordRecord - */ - public FilesApplyDownloadRecordRecord(jj.tech.paolu.repository.jooq.tables.pojos.FilesApplyDownloadRecord value) { - super(FilesApplyDownloadRecord.FILES_APPLY_DOWNLOAD_RECORD); - - if (value != null) { - setId(value.getId()); - setFilesApplyId(value.getFilesApplyId()); - setIsDirFile(value.getIsDirFile()); - setSynFileId(value.getSynFileId()); - setSynFilePId(value.getSynFilePId()); - setSynFileName(value.getSynFileName()); - setUserId(value.getUserId()); - setUserName(value.getUserName()); - setOrgId(value.getOrgId()); - setOrgName(value.getOrgName()); - setDownloadTime(value.getDownloadTime()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyRecord.java deleted file mode 100644 index 5051412..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/FilesApplyRecord.java +++ /dev/null @@ -1,818 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.tables.FilesApply; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FilesApplyRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.files_apply.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.files_apply.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.files_apply.apply_user_id. - */ - public void setApplyUserId(String value) { - set(1, value); - } - - /** - * Getter for public.files_apply.apply_user_id. - */ - public String getApplyUserId() { - return (String) get(1); - } - - /** - * Setter for public.files_apply.apply_user_name. - */ - public void setApplyUserName(String value) { - set(2, value); - } - - /** - * Getter for public.files_apply.apply_user_name. - */ - public String getApplyUserName() { - return (String) get(2); - } - - /** - * Setter for public.files_apply.apply_user_phone. - */ - public void setApplyUserPhone(String value) { - set(3, value); - } - - /** - * Getter for public.files_apply.apply_user_phone. - */ - public String getApplyUserPhone() { - return (String) get(3); - } - - /** - * Setter for public.files_apply.apply_user_email. - */ - public void setApplyUserEmail(String value) { - set(4, value); - } - - /** - * Getter for public.files_apply.apply_user_email. - */ - public String getApplyUserEmail() { - return (String) get(4); - } - - /** - * Setter for public.files_apply.apply_org_id. - */ - public void setApplyOrgId(String value) { - set(5, value); - } - - /** - * Getter for public.files_apply.apply_org_id. - */ - public String getApplyOrgId() { - return (String) get(5); - } - - /** - * Setter for public.files_apply.apply_org_name. - */ - public void setApplyOrgName(String value) { - set(6, value); - } - - /** - * Getter for public.files_apply.apply_org_name. - */ - public String getApplyOrgName() { - return (String) get(6); - } - - /** - * Setter for public.files_apply.apply_in_check_user_id. - */ - public void setApplyInCheckUserId(String value) { - set(7, value); - } - - /** - * Getter for public.files_apply.apply_in_check_user_id. - */ - public String getApplyInCheckUserId() { - return (String) get(7); - } - - /** - * Setter for public.files_apply.apply_in_check_user_name. - */ - public void setApplyInCheckUserName(String value) { - set(8, value); - } - - /** - * Getter for public.files_apply.apply_in_check_user_name. - */ - public String getApplyInCheckUserName() { - return (String) get(8); - } - - /** - * Setter for public.files_apply.apply_in_check_org_id. - */ - public void setApplyInCheckOrgId(String value) { - set(9, value); - } - - /** - * Getter for public.files_apply.apply_in_check_org_id. - */ - public String getApplyInCheckOrgId() { - return (String) get(9); - } - - /** - * Setter for public.files_apply.apply_in_check_org_name. - */ - public void setApplyInCheckOrgName(String value) { - set(10, value); - } - - /** - * Getter for public.files_apply.apply_in_check_org_name. - */ - public String getApplyInCheckOrgName() { - return (String) get(10); - } - - /** - * Setter for public.files_apply.apply_next_check_org_id. - */ - public void setApplyNextCheckOrgId(String value) { - set(11, value); - } - - /** - * Getter for public.files_apply.apply_next_check_org_id. - */ - public String getApplyNextCheckOrgId() { - return (String) get(11); - } - - /** - * Setter for public.files_apply.apply_next_check_org_name. - */ - public void setApplyNextCheckOrgName(String value) { - set(12, value); - } - - /** - * Getter for public.files_apply.apply_next_check_org_name. - */ - public String getApplyNextCheckOrgName() { - return (String) get(12); - } - - /** - * Setter for public.files_apply.apply_end_check_user_id. - */ - public void setApplyEndCheckUserId(String value) { - set(13, value); - } - - /** - * Getter for public.files_apply.apply_end_check_user_id. - */ - public String getApplyEndCheckUserId() { - return (String) get(13); - } - - /** - * Setter for public.files_apply.apply_end_check_user_name. - */ - public void setApplyEndCheckUserName(String value) { - set(14, value); - } - - /** - * Getter for public.files_apply.apply_end_check_user_name. - */ - public String getApplyEndCheckUserName() { - return (String) get(14); - } - - /** - * Setter for public.files_apply.apply_end_check_org_id. - */ - public void setApplyEndCheckOrgId(String value) { - set(15, value); - } - - /** - * Getter for public.files_apply.apply_end_check_org_id. - */ - public String getApplyEndCheckOrgId() { - return (String) get(15); - } - - /** - * Setter for public.files_apply.apply_end_check_org_name. - */ - public void setApplyEndCheckOrgName(String value) { - set(16, value); - } - - /** - * Getter for public.files_apply.apply_end_check_org_name. - */ - public String getApplyEndCheckOrgName() { - return (String) get(16); - } - - /** - * Setter for public.files_apply.apply_days. - */ - public void setApplyDays(Integer value) { - set(17, value); - } - - /** - * Getter for public.files_apply.apply_days. - */ - public Integer getApplyDays() { - return (Integer) get(17); - } - - /** - * Setter for public.files_apply.apply_feedback. - */ - public void setApplyFeedback(String value) { - set(18, value); - } - - /** - * Getter for public.files_apply.apply_feedback. - */ - public String getApplyFeedback() { - return (String) get(18); - } - - /** - * Setter for public.files_apply.apply_reason. - */ - public void setApplyReason(String value) { - set(19, value); - } - - /** - * Getter for public.files_apply.apply_reason. - */ - public String getApplyReason() { - return (String) get(19); - } - - /** - * Setter for public.files_apply.apply_cancel_reason. - */ - public void setApplyCancelReason(String value) { - set(20, value); - } - - /** - * Getter for public.files_apply.apply_cancel_reason. - */ - public String getApplyCancelReason() { - return (String) get(20); - } - - /** - * Setter for public.files_apply.apply_view_type_print. - */ - public void setApplyViewTypePrint(Integer value) { - set(21, value); - } - - /** - * Getter for public.files_apply.apply_view_type_print. - */ - public Integer getApplyViewTypePrint() { - return (Integer) get(21); - } - - /** - * Setter for public.files_apply.apply_view_type_online. - */ - public void setApplyViewTypeOnline(Integer value) { - set(22, value); - } - - /** - * Getter for public.files_apply.apply_view_type_online. - */ - public Integer getApplyViewTypeOnline() { - return (Integer) get(22); - } - - /** - * Setter for public.files_apply.apply_file_num. - */ - public void setApplyFileNum(Integer value) { - set(23, value); - } - - /** - * Getter for public.files_apply.apply_file_num. - */ - public Integer getApplyFileNum() { - return (Integer) get(23); - } - - /** - * Setter for public.files_apply.apply_time. - */ - public void setApplyTime(LocalDateTime value) { - set(24, value); - } - - /** - * Getter for public.files_apply.apply_time. - */ - public LocalDateTime getApplyTime() { - return (LocalDateTime) get(24); - } - - /** - * Setter for public.files_apply.apply_check_is_finish. - */ - public void setApplyCheckIsFinish(Integer value) { - set(25, value); - } - - /** - * Getter for public.files_apply.apply_check_is_finish. - */ - public Integer getApplyCheckIsFinish() { - return (Integer) get(25); - } - - /** - * Setter for public.files_apply.provider_org_id. - */ - public void setProviderOrgId(String value) { - set(26, value); - } - - /** - * Getter for public.files_apply.provider_org_id. - */ - public String getProviderOrgId() { - return (String) get(26); - } - - /** - * Setter for public.files_apply.provider_org_name. - */ - public void setProviderOrgName(String value) { - set(27, value); - } - - /** - * Getter for public.files_apply.provider_org_name. - */ - public String getProviderOrgName() { - return (String) get(27); - } - - /** - * Setter for public.files_apply.provider_file_properties. - */ - public void setProviderFileProperties(Integer value) { - set(28, value); - } - - /** - * Getter for public.files_apply.provider_file_properties. - */ - public Integer getProviderFileProperties() { - return (Integer) get(28); - } - - /** - * Setter for public.files_apply.provider_use_start_time. - */ - public void setProviderUseStartTime(LocalDateTime value) { - set(29, value); - } - - /** - * Getter for public.files_apply.provider_use_start_time. - */ - public LocalDateTime getProviderUseStartTime() { - return (LocalDateTime) get(29); - } - - /** - * Setter for public.files_apply.provider_use_end_time. - */ - public void setProviderUseEndTime(LocalDateTime value) { - set(30, value); - } - - /** - * Getter for public.files_apply.provider_use_end_time. - */ - public LocalDateTime getProviderUseEndTime() { - return (LocalDateTime) get(30); - } - - /** - * Setter for public.files_apply.provider_in_check_user_id. - */ - public void setProviderInCheckUserId(String value) { - set(31, value); - } - - /** - * Getter for public.files_apply.provider_in_check_user_id. - */ - public String getProviderInCheckUserId() { - return (String) get(31); - } - - /** - * Setter for public.files_apply.provider_in_check_user_name. - */ - public void setProviderInCheckUserName(String value) { - set(32, value); - } - - /** - * Getter for public.files_apply.provider_in_check_user_name. - */ - public String getProviderInCheckUserName() { - return (String) get(32); - } - - /** - * Setter for public.files_apply.provider_in_check_org_id. - */ - public void setProviderInCheckOrgId(String value) { - set(33, value); - } - - /** - * Getter for public.files_apply.provider_in_check_org_id. - */ - public String getProviderInCheckOrgId() { - return (String) get(33); - } - - /** - * Setter for public.files_apply.provider_in_check_org_name. - */ - public void setProviderInCheckOrgName(String value) { - set(34, value); - } - - /** - * Getter for public.files_apply.provider_in_check_org_name. - */ - public String getProviderInCheckOrgName() { - return (String) get(34); - } - - /** - * Setter for - * public.files_apply.provider_next_check_role_sign_id. - */ - public void setProviderNextCheckRoleSignId(String value) { - set(35, value); - } - - /** - * Getter for - * public.files_apply.provider_next_check_role_sign_id. - */ - public String getProviderNextCheckRoleSignId() { - return (String) get(35); - } - - /** - * Setter for - * public.files_apply.provider_next_check_role_sign_name. - */ - public void setProviderNextCheckRoleSignName(String value) { - set(36, value); - } - - /** - * Getter for - * public.files_apply.provider_next_check_role_sign_name. - */ - public String getProviderNextCheckRoleSignName() { - return (String) get(36); - } - - /** - * Setter for public.files_apply.provider_end_check_user_id. - */ - public void setProviderEndCheckUserId(String value) { - set(37, value); - } - - /** - * Getter for public.files_apply.provider_end_check_user_id. - */ - public String getProviderEndCheckUserId() { - return (String) get(37); - } - - /** - * Setter for public.files_apply.provider_end_check_user_name. - */ - public void setProviderEndCheckUserName(String value) { - set(38, value); - } - - /** - * Getter for public.files_apply.provider_end_check_user_name. - */ - public String getProviderEndCheckUserName() { - return (String) get(38); - } - - /** - * Setter for public.files_apply.provider_end_check_org_id. - */ - public void setProviderEndCheckOrgId(String value) { - set(39, value); - } - - /** - * Getter for public.files_apply.provider_end_check_org_id. - */ - public String getProviderEndCheckOrgId() { - return (String) get(39); - } - - /** - * Setter for public.files_apply.provider_end_check_org_name. - */ - public void setProviderEndCheckOrgName(String value) { - set(40, value); - } - - /** - * Getter for public.files_apply.provider_end_check_org_name. - */ - public String getProviderEndCheckOrgName() { - return (String) get(40); - } - - /** - * Setter for public.files_apply.provider_check_is_finish. - */ - public void setProviderCheckIsFinish(Integer value) { - set(41, value); - } - - /** - * Getter for public.files_apply.provider_check_is_finish. - */ - public Integer getProviderCheckIsFinish() { - return (Integer) get(41); - } - - /** - * Setter for public.files_apply.secret_key. - */ - public void setSecretKey(String value) { - set(42, value); - } - - /** - * Getter for public.files_apply.secret_key. - */ - public String getSecretKey() { - return (String) get(42); - } - - /** - * Setter for public.files_apply.status. - */ - public void setStatus(Integer value) { - set(43, value); - } - - /** - * Getter for public.files_apply.status. - */ - public Integer getStatus() { - return (Integer) get(43); - } - - /** - * Setter for public.files_apply.project_id. - */ - public void setProjectId(String value) { - set(44, value); - } - - /** - * Getter for public.files_apply.project_id. - */ - public String getProjectId() { - return (String) get(44); - } - - /** - * Setter for public.files_apply.project_name. - */ - public void setProjectName(String value) { - set(45, value); - } - - /** - * Getter for public.files_apply.project_name. - */ - public String getProjectName() { - return (String) get(45); - } - - /** - * Setter for public.files_apply.sign. 签名 - */ - public void setSign(String value) { - set(46, value); - } - - /** - * Getter for public.files_apply.sign. 签名 - */ - public String getSign() { - return (String) get(46); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached FilesApplyRecord - */ - public FilesApplyRecord() { - super(FilesApply.FILES_APPLY); - } - - /** - * Create a detached, initialised FilesApplyRecord - */ - public FilesApplyRecord(String id, String applyUserId, String applyUserName, String applyUserPhone, String applyUserEmail, String applyOrgId, String applyOrgName, String applyInCheckUserId, String applyInCheckUserName, String applyInCheckOrgId, String applyInCheckOrgName, String applyNextCheckOrgId, String applyNextCheckOrgName, String applyEndCheckUserId, String applyEndCheckUserName, String applyEndCheckOrgId, String applyEndCheckOrgName, Integer applyDays, String applyFeedback, String applyReason, String applyCancelReason, Integer applyViewTypePrint, Integer applyViewTypeOnline, Integer applyFileNum, LocalDateTime applyTime, Integer applyCheckIsFinish, String providerOrgId, String providerOrgName, Integer providerFileProperties, LocalDateTime providerUseStartTime, LocalDateTime providerUseEndTime, String providerInCheckUserId, String providerInCheckUserName, String providerInCheckOrgId, String providerInCheckOrgName, String providerNextCheckRoleSignId, String providerNextCheckRoleSignName, String providerEndCheckUserId, String providerEndCheckUserName, String providerEndCheckOrgId, String providerEndCheckOrgName, Integer providerCheckIsFinish, String secretKey, Integer status, String projectId, String projectName, String sign) { - super(FilesApply.FILES_APPLY); - - setId(id); - setApplyUserId(applyUserId); - setApplyUserName(applyUserName); - setApplyUserPhone(applyUserPhone); - setApplyUserEmail(applyUserEmail); - setApplyOrgId(applyOrgId); - setApplyOrgName(applyOrgName); - setApplyInCheckUserId(applyInCheckUserId); - setApplyInCheckUserName(applyInCheckUserName); - setApplyInCheckOrgId(applyInCheckOrgId); - setApplyInCheckOrgName(applyInCheckOrgName); - setApplyNextCheckOrgId(applyNextCheckOrgId); - setApplyNextCheckOrgName(applyNextCheckOrgName); - setApplyEndCheckUserId(applyEndCheckUserId); - setApplyEndCheckUserName(applyEndCheckUserName); - setApplyEndCheckOrgId(applyEndCheckOrgId); - setApplyEndCheckOrgName(applyEndCheckOrgName); - setApplyDays(applyDays); - setApplyFeedback(applyFeedback); - setApplyReason(applyReason); - setApplyCancelReason(applyCancelReason); - setApplyViewTypePrint(applyViewTypePrint); - setApplyViewTypeOnline(applyViewTypeOnline); - setApplyFileNum(applyFileNum); - setApplyTime(applyTime); - setApplyCheckIsFinish(applyCheckIsFinish); - setProviderOrgId(providerOrgId); - setProviderOrgName(providerOrgName); - setProviderFileProperties(providerFileProperties); - setProviderUseStartTime(providerUseStartTime); - setProviderUseEndTime(providerUseEndTime); - setProviderInCheckUserId(providerInCheckUserId); - setProviderInCheckUserName(providerInCheckUserName); - setProviderInCheckOrgId(providerInCheckOrgId); - setProviderInCheckOrgName(providerInCheckOrgName); - setProviderNextCheckRoleSignId(providerNextCheckRoleSignId); - setProviderNextCheckRoleSignName(providerNextCheckRoleSignName); - setProviderEndCheckUserId(providerEndCheckUserId); - setProviderEndCheckUserName(providerEndCheckUserName); - setProviderEndCheckOrgId(providerEndCheckOrgId); - setProviderEndCheckOrgName(providerEndCheckOrgName); - setProviderCheckIsFinish(providerCheckIsFinish); - setSecretKey(secretKey); - setStatus(status); - setProjectId(projectId); - setProjectName(projectName); - setSign(sign); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised FilesApplyRecord - */ - public FilesApplyRecord(jj.tech.paolu.repository.jooq.tables.pojos.FilesApply value) { - super(FilesApply.FILES_APPLY); - - if (value != null) { - setId(value.getId()); - setApplyUserId(value.getApplyUserId()); - setApplyUserName(value.getApplyUserName()); - setApplyUserPhone(value.getApplyUserPhone()); - setApplyUserEmail(value.getApplyUserEmail()); - setApplyOrgId(value.getApplyOrgId()); - setApplyOrgName(value.getApplyOrgName()); - setApplyInCheckUserId(value.getApplyInCheckUserId()); - setApplyInCheckUserName(value.getApplyInCheckUserName()); - setApplyInCheckOrgId(value.getApplyInCheckOrgId()); - setApplyInCheckOrgName(value.getApplyInCheckOrgName()); - setApplyNextCheckOrgId(value.getApplyNextCheckOrgId()); - setApplyNextCheckOrgName(value.getApplyNextCheckOrgName()); - setApplyEndCheckUserId(value.getApplyEndCheckUserId()); - setApplyEndCheckUserName(value.getApplyEndCheckUserName()); - setApplyEndCheckOrgId(value.getApplyEndCheckOrgId()); - setApplyEndCheckOrgName(value.getApplyEndCheckOrgName()); - setApplyDays(value.getApplyDays()); - setApplyFeedback(value.getApplyFeedback()); - setApplyReason(value.getApplyReason()); - setApplyCancelReason(value.getApplyCancelReason()); - setApplyViewTypePrint(value.getApplyViewTypePrint()); - setApplyViewTypeOnline(value.getApplyViewTypeOnline()); - setApplyFileNum(value.getApplyFileNum()); - setApplyTime(value.getApplyTime()); - setApplyCheckIsFinish(value.getApplyCheckIsFinish()); - setProviderOrgId(value.getProviderOrgId()); - setProviderOrgName(value.getProviderOrgName()); - setProviderFileProperties(value.getProviderFileProperties()); - setProviderUseStartTime(value.getProviderUseStartTime()); - setProviderUseEndTime(value.getProviderUseEndTime()); - setProviderInCheckUserId(value.getProviderInCheckUserId()); - setProviderInCheckUserName(value.getProviderInCheckUserName()); - setProviderInCheckOrgId(value.getProviderInCheckOrgId()); - setProviderInCheckOrgName(value.getProviderInCheckOrgName()); - setProviderNextCheckRoleSignId(value.getProviderNextCheckRoleSignId()); - setProviderNextCheckRoleSignName(value.getProviderNextCheckRoleSignName()); - setProviderEndCheckUserId(value.getProviderEndCheckUserId()); - setProviderEndCheckUserName(value.getProviderEndCheckUserName()); - setProviderEndCheckOrgId(value.getProviderEndCheckOrgId()); - setProviderEndCheckOrgName(value.getProviderEndCheckOrgName()); - setProviderCheckIsFinish(value.getProviderCheckIsFinish()); - setSecretKey(value.getSecretKey()); - setStatus(value.getStatus()); - setProjectId(value.getProjectId()); - setProjectName(value.getProjectName()); - setSign(value.getSign()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/ProjectRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/ProjectRecord.java deleted file mode 100644 index c177744..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/ProjectRecord.java +++ /dev/null @@ -1,234 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import jj.tech.paolu.repository.jooq.tables.Project; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record4; -import org.jooq.Row4; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ProjectRecord extends UpdatableRecordImpl implements Record4 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.project.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.project.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.project.project_name. - */ - public void setProjectName(String value) { - set(1, value); - } - - /** - * Getter for public.project.project_name. - */ - public String getProjectName() { - return (String) get(1); - } - - /** - * Setter for public.project.org_id. - */ - public void setOrgId(String value) { - set(2, value); - } - - /** - * Getter for public.project.org_id. - */ - public String getOrgId() { - return (String) get(2); - } - - /** - * Setter for public.project.org_name. - */ - public void setOrgName(String value) { - set(3, value); - } - - /** - * Getter for public.project.org_name. - */ - public String getOrgName() { - return (String) get(3); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record4 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row4 fieldsRow() { - return (Row4) super.fieldsRow(); - } - - @Override - public Row4 valuesRow() { - return (Row4) super.valuesRow(); - } - - @Override - public Field field1() { - return Project.PROJECT.ID; - } - - @Override - public Field field2() { - return Project.PROJECT.PROJECT_NAME; - } - - @Override - public Field field3() { - return Project.PROJECT.ORG_ID; - } - - @Override - public Field field4() { - return Project.PROJECT.ORG_NAME; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getProjectName(); - } - - @Override - public String component3() { - return getOrgId(); - } - - @Override - public String component4() { - return getOrgName(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getProjectName(); - } - - @Override - public String value3() { - return getOrgId(); - } - - @Override - public String value4() { - return getOrgName(); - } - - @Override - public ProjectRecord value1(String value) { - setId(value); - return this; - } - - @Override - public ProjectRecord value2(String value) { - setProjectName(value); - return this; - } - - @Override - public ProjectRecord value3(String value) { - setOrgId(value); - return this; - } - - @Override - public ProjectRecord value4(String value) { - setOrgName(value); - return this; - } - - @Override - public ProjectRecord values(String value1, String value2, String value3, String value4) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached ProjectRecord - */ - public ProjectRecord() { - super(Project.PROJECT); - } - - /** - * Create a detached, initialised ProjectRecord - */ - public ProjectRecord(String id, String projectName, String orgId, String orgName) { - super(Project.PROJECT); - - setId(id); - setProjectName(projectName); - setOrgId(orgId); - setOrgName(orgName); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised ProjectRecord - */ - public ProjectRecord(jj.tech.paolu.repository.jooq.tables.pojos.Project value) { - super(Project.PROJECT); - - if (value != null) { - setId(value.getId()); - setProjectName(value.getProjectName()); - setOrgId(value.getOrgId()); - setOrgName(value.getOrgName()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/ReadLogRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/ReadLogRecord.java deleted file mode 100644 index 9161726..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/ReadLogRecord.java +++ /dev/null @@ -1,578 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.tables.ReadLog; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record13; -import org.jooq.Row13; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * 阅读情况 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ReadLogRecord extends UpdatableRecordImpl implements Record13 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.read_log.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.read_log.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.read_log.weid. 申请人id - */ - public void setWeid(String value) { - set(1, value); - } - - /** - * Getter for public.read_log.weid. 申请人id - */ - public String getWeid() { - return (String) get(1); - } - - /** - * Setter for public.read_log.content_id. 档案id - */ - public void setContentId(String value) { - set(2, value); - } - - /** - * Getter for public.read_log.content_id. 档案id - */ - public String getContentId() { - return (String) get(2); - } - - /** - * Setter for public.read_log.starttime. 开始时间 - */ - public void setStarttime(LocalDateTime value) { - set(3, value); - } - - /** - * Getter for public.read_log.starttime. 开始时间 - */ - public LocalDateTime getStarttime() { - return (LocalDateTime) get(3); - } - - /** - * Setter for public.read_log.endtime. 结束时间 - */ - public void setEndtime(LocalDateTime value) { - set(4, value); - } - - /** - * Getter for public.read_log.endtime. 结束时间 - */ - public LocalDateTime getEndtime() { - return (LocalDateTime) get(4); - } - - /** - * Setter for public.read_log.ip. ip地址 - */ - public void setIp(String value) { - set(5, value); - } - - /** - * Getter for public.read_log.ip. ip地址 - */ - public String getIp() { - return (String) get(5); - } - - /** - * Setter for public.read_log.location. 区域 - */ - public void setLocation(String value) { - set(6, value); - } - - /** - * Getter for public.read_log.location. 区域 - */ - public String getLocation() { - return (String) get(6); - } - - /** - * Setter for public.read_log.downloadtype. 下载类型(1文件包/0单文件) - */ - public void setDownloadtype(Integer value) { - set(7, value); - } - - /** - * Getter for public.read_log.downloadtype. 下载类型(1文件包/0单文件) - */ - public Integer getDownloadtype() { - return (Integer) get(7); - } - - /** - * Setter for public.read_log.sign. 数字签名 - */ - public void setSign(String value) { - set(8, value); - } - - /** - * Getter for public.read_log.sign. 数字签名 - */ - public String getSign() { - return (String) get(8); - } - - /** - * Setter for public.read_log.readid. 一次阅读凭证id - */ - public void setReadid(String value) { - set(9, value); - } - - /** - * Getter for public.read_log.readid. 一次阅读凭证id - */ - public String getReadid() { - return (String) get(9); - } - - /** - * Setter for public.read_log.sm9hibeid. 秘钥id - */ - public void setSm9hibeid(String value) { - set(10, value); - } - - /** - * Getter for public.read_log.sm9hibeid. 秘钥id - */ - public String getSm9hibeid() { - return (String) get(10); - } - - /** - * Setter for public.read_log.content_type. 档案类型 - */ - public void setContentType(Integer value) { - set(11, value); - } - - /** - * Getter for public.read_log.content_type. 档案类型 - */ - public Integer getContentType() { - return (Integer) get(11); - } - - /** - * Setter for public.read_log.ischeck. 是否上链(1是,0否) - */ - public void setIscheck(Integer value) { - set(12, value); - } - - /** - * Getter for public.read_log.ischeck. 是否上链(1是,0否) - */ - public Integer getIscheck() { - return (Integer) get(12); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record13 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row13 fieldsRow() { - return (Row13) super.fieldsRow(); - } - - @Override - public Row13 valuesRow() { - return (Row13) super.valuesRow(); - } - - @Override - public Field field1() { - return ReadLog.READ_LOG.ID; - } - - @Override - public Field field2() { - return ReadLog.READ_LOG.WEID; - } - - @Override - public Field field3() { - return ReadLog.READ_LOG.CONTENT_ID; - } - - @Override - public Field field4() { - return ReadLog.READ_LOG.STARTTIME; - } - - @Override - public Field field5() { - return ReadLog.READ_LOG.ENDTIME; - } - - @Override - public Field field6() { - return ReadLog.READ_LOG.IP; - } - - @Override - public Field field7() { - return ReadLog.READ_LOG.LOCATION; - } - - @Override - public Field field8() { - return ReadLog.READ_LOG.DOWNLOADTYPE; - } - - @Override - public Field field9() { - return ReadLog.READ_LOG.SIGN; - } - - @Override - public Field field10() { - return ReadLog.READ_LOG.READID; - } - - @Override - public Field field11() { - return ReadLog.READ_LOG.SM9HIBEID; - } - - @Override - public Field field12() { - return ReadLog.READ_LOG.CONTENT_TYPE; - } - - @Override - public Field field13() { - return ReadLog.READ_LOG.ISCHECK; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getWeid(); - } - - @Override - public String component3() { - return getContentId(); - } - - @Override - public LocalDateTime component4() { - return getStarttime(); - } - - @Override - public LocalDateTime component5() { - return getEndtime(); - } - - @Override - public String component6() { - return getIp(); - } - - @Override - public String component7() { - return getLocation(); - } - - @Override - public Integer component8() { - return getDownloadtype(); - } - - @Override - public String component9() { - return getSign(); - } - - @Override - public String component10() { - return getReadid(); - } - - @Override - public String component11() { - return getSm9hibeid(); - } - - @Override - public Integer component12() { - return getContentType(); - } - - @Override - public Integer component13() { - return getIscheck(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getWeid(); - } - - @Override - public String value3() { - return getContentId(); - } - - @Override - public LocalDateTime value4() { - return getStarttime(); - } - - @Override - public LocalDateTime value5() { - return getEndtime(); - } - - @Override - public String value6() { - return getIp(); - } - - @Override - public String value7() { - return getLocation(); - } - - @Override - public Integer value8() { - return getDownloadtype(); - } - - @Override - public String value9() { - return getSign(); - } - - @Override - public String value10() { - return getReadid(); - } - - @Override - public String value11() { - return getSm9hibeid(); - } - - @Override - public Integer value12() { - return getContentType(); - } - - @Override - public Integer value13() { - return getIscheck(); - } - - @Override - public ReadLogRecord value1(String value) { - setId(value); - return this; - } - - @Override - public ReadLogRecord value2(String value) { - setWeid(value); - return this; - } - - @Override - public ReadLogRecord value3(String value) { - setContentId(value); - return this; - } - - @Override - public ReadLogRecord value4(LocalDateTime value) { - setStarttime(value); - return this; - } - - @Override - public ReadLogRecord value5(LocalDateTime value) { - setEndtime(value); - return this; - } - - @Override - public ReadLogRecord value6(String value) { - setIp(value); - return this; - } - - @Override - public ReadLogRecord value7(String value) { - setLocation(value); - return this; - } - - @Override - public ReadLogRecord value8(Integer value) { - setDownloadtype(value); - return this; - } - - @Override - public ReadLogRecord value9(String value) { - setSign(value); - return this; - } - - @Override - public ReadLogRecord value10(String value) { - setReadid(value); - return this; - } - - @Override - public ReadLogRecord value11(String value) { - setSm9hibeid(value); - return this; - } - - @Override - public ReadLogRecord value12(Integer value) { - setContentType(value); - return this; - } - - @Override - public ReadLogRecord value13(Integer value) { - setIscheck(value); - return this; - } - - @Override - public ReadLogRecord values(String value1, String value2, String value3, LocalDateTime value4, LocalDateTime value5, String value6, String value7, Integer value8, String value9, String value10, String value11, Integer value12, Integer value13) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached ReadLogRecord - */ - public ReadLogRecord() { - super(ReadLog.READ_LOG); - } - - /** - * Create a detached, initialised ReadLogRecord - */ - public ReadLogRecord(String id, String weid, String contentId, LocalDateTime starttime, LocalDateTime endtime, String ip, String location, Integer downloadtype, String sign, String readid, String sm9hibeid, Integer contentType, Integer ischeck) { - super(ReadLog.READ_LOG); - - setId(id); - setWeid(weid); - setContentId(contentId); - setStarttime(starttime); - setEndtime(endtime); - setIp(ip); - setLocation(location); - setDownloadtype(downloadtype); - setSign(sign); - setReadid(readid); - setSm9hibeid(sm9hibeid); - setContentType(contentType); - setIscheck(ischeck); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised ReadLogRecord - */ - public ReadLogRecord(jj.tech.paolu.repository.jooq.tables.pojos.ReadLog value) { - super(ReadLog.READ_LOG); - - if (value != null) { - setId(value.getId()); - setWeid(value.getWeid()); - setContentId(value.getContentId()); - setStarttime(value.getStarttime()); - setEndtime(value.getEndtime()); - setIp(value.getIp()); - setLocation(value.getLocation()); - setDownloadtype(value.getDownloadtype()); - setSign(value.getSign()); - setReadid(value.getReadid()); - setSm9hibeid(value.getSm9hibeid()); - setContentType(value.getContentType()); - setIscheck(value.getIscheck()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SharedRuleConfigRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SharedRuleConfigRecord.java deleted file mode 100644 index 8856e4d..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SharedRuleConfigRecord.java +++ /dev/null @@ -1,310 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import jj.tech.paolu.repository.jooq.tables.SharedRuleConfig; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record6; -import org.jooq.Row6; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SharedRuleConfigRecord extends UpdatableRecordImpl implements Record6 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.shared_rule_config.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.shared_rule_config.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.shared_rule_config.name. - */ - public void setName(String value) { - set(1, value); - } - - /** - * Getter for public.shared_rule_config.name. - */ - public String getName() { - return (String) get(1); - } - - /** - * Setter for public.shared_rule_config.describe. - */ - public void setDescribe(String value) { - set(2, value); - } - - /** - * Getter for public.shared_rule_config.describe. - */ - public String getDescribe() { - return (String) get(2); - } - - /** - * Setter for public.shared_rule_config.status. - */ - public void setStatus(Integer value) { - set(3, value); - } - - /** - * Getter for public.shared_rule_config.status. - */ - public Integer getStatus() { - return (Integer) get(3); - } - - /** - * Setter for public.shared_rule_config.sort. - */ - public void setSort(Integer value) { - set(4, value); - } - - /** - * Getter for public.shared_rule_config.sort. - */ - public Integer getSort() { - return (Integer) get(4); - } - - /** - * Setter for public.shared_rule_config.project_name. - */ - public void setProjectName(String value) { - set(5, value); - } - - /** - * Getter for public.shared_rule_config.project_name. - */ - public String getProjectName() { - return (String) get(5); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record6 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row6 fieldsRow() { - return (Row6) super.fieldsRow(); - } - - @Override - public Row6 valuesRow() { - return (Row6) super.valuesRow(); - } - - @Override - public Field field1() { - return SharedRuleConfig.SHARED_RULE_CONFIG.ID; - } - - @Override - public Field field2() { - return SharedRuleConfig.SHARED_RULE_CONFIG.NAME; - } - - @Override - public Field field3() { - return SharedRuleConfig.SHARED_RULE_CONFIG.DESCRIBE; - } - - @Override - public Field field4() { - return SharedRuleConfig.SHARED_RULE_CONFIG.STATUS; - } - - @Override - public Field field5() { - return SharedRuleConfig.SHARED_RULE_CONFIG.SORT; - } - - @Override - public Field field6() { - return SharedRuleConfig.SHARED_RULE_CONFIG.PROJECT_NAME; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getName(); - } - - @Override - public String component3() { - return getDescribe(); - } - - @Override - public Integer component4() { - return getStatus(); - } - - @Override - public Integer component5() { - return getSort(); - } - - @Override - public String component6() { - return getProjectName(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getName(); - } - - @Override - public String value3() { - return getDescribe(); - } - - @Override - public Integer value4() { - return getStatus(); - } - - @Override - public Integer value5() { - return getSort(); - } - - @Override - public String value6() { - return getProjectName(); - } - - @Override - public SharedRuleConfigRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SharedRuleConfigRecord value2(String value) { - setName(value); - return this; - } - - @Override - public SharedRuleConfigRecord value3(String value) { - setDescribe(value); - return this; - } - - @Override - public SharedRuleConfigRecord value4(Integer value) { - setStatus(value); - return this; - } - - @Override - public SharedRuleConfigRecord value5(Integer value) { - setSort(value); - return this; - } - - @Override - public SharedRuleConfigRecord value6(String value) { - setProjectName(value); - return this; - } - - @Override - public SharedRuleConfigRecord values(String value1, String value2, String value3, Integer value4, Integer value5, String value6) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SharedRuleConfigRecord - */ - public SharedRuleConfigRecord() { - super(SharedRuleConfig.SHARED_RULE_CONFIG); - } - - /** - * Create a detached, initialised SharedRuleConfigRecord - */ - public SharedRuleConfigRecord(String id, String name, String describe, Integer status, Integer sort, String projectName) { - super(SharedRuleConfig.SHARED_RULE_CONFIG); - - setId(id); - setName(name); - setDescribe(describe); - setStatus(status); - setSort(sort); - setProjectName(projectName); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised SharedRuleConfigRecord - */ - public SharedRuleConfigRecord(jj.tech.paolu.repository.jooq.tables.pojos.SharedRuleConfig value) { - super(SharedRuleConfig.SHARED_RULE_CONFIG); - - if (value != null) { - setId(value.getId()); - setName(value.getName()); - setDescribe(value.getDescribe()); - setStatus(value.getStatus()); - setSort(value.getSort()); - setProjectName(value.getProjectName()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SharedSynAllRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SharedSynAllRecord.java deleted file mode 100644 index fff4d15..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SharedSynAllRecord.java +++ /dev/null @@ -1,424 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import jj.tech.paolu.repository.jooq.tables.SharedSynAll; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record9; -import org.jooq.Row9; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SharedSynAllRecord extends UpdatableRecordImpl implements Record9 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.shared_syn_all.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.shared_syn_all.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.shared_syn_all.syn_id. - */ - public void setSynId(String value) { - set(1, value); - } - - /** - * Getter for public.shared_syn_all.syn_id. - */ - public String getSynId() { - return (String) get(1); - } - - /** - * Setter for public.shared_syn_all.syn_type. - */ - public void setSynType(Integer value) { - set(2, value); - } - - /** - * Getter for public.shared_syn_all.syn_type. - */ - public Integer getSynType() { - return (Integer) get(2); - } - - /** - * Setter for public.shared_syn_all.is_config_rule. - */ - public void setIsConfigRule(Integer value) { - set(3, value); - } - - /** - * Getter for public.shared_syn_all.is_config_rule. - */ - public Integer getIsConfigRule() { - return (Integer) get(3); - } - - /** - * Setter for public.shared_syn_all.shared_status. - */ - public void setSharedStatus(Integer value) { - set(4, value); - } - - /** - * Getter for public.shared_syn_all.shared_status. - */ - public Integer getSharedStatus() { - return (Integer) get(4); - } - - /** - * Setter for public.shared_syn_all.syn_status. - */ - public void setSynStatus(Integer value) { - set(5, value); - } - - /** - * Getter for public.shared_syn_all.syn_status. - */ - public Integer getSynStatus() { - return (Integer) get(5); - } - - /** - * Setter for public.shared_syn_all.block_number. - */ - public void setBlockNumber(String value) { - set(6, value); - } - - /** - * Getter for public.shared_syn_all.block_number. - */ - public String getBlockNumber() { - return (String) get(6); - } - - /** - * Setter for public.shared_syn_all.block_hash. - */ - public void setBlockHash(String value) { - set(7, value); - } - - /** - * Getter for public.shared_syn_all.block_hash. - */ - public String getBlockHash() { - return (String) get(7); - } - - /** - * Setter for public.shared_syn_all.block_time. - */ - public void setBlockTime(String value) { - set(8, value); - } - - /** - * Getter for public.shared_syn_all.block_time. - */ - public String getBlockTime() { - return (String) get(8); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record9 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row9 fieldsRow() { - return (Row9) super.fieldsRow(); - } - - @Override - public Row9 valuesRow() { - return (Row9) super.valuesRow(); - } - - @Override - public Field field1() { - return SharedSynAll.SHARED_SYN_ALL.ID; - } - - @Override - public Field field2() { - return SharedSynAll.SHARED_SYN_ALL.SYN_ID; - } - - @Override - public Field field3() { - return SharedSynAll.SHARED_SYN_ALL.SYN_TYPE; - } - - @Override - public Field field4() { - return SharedSynAll.SHARED_SYN_ALL.IS_CONFIG_RULE; - } - - @Override - public Field field5() { - return SharedSynAll.SHARED_SYN_ALL.SHARED_STATUS; - } - - @Override - public Field field6() { - return SharedSynAll.SHARED_SYN_ALL.SYN_STATUS; - } - - @Override - public Field field7() { - return SharedSynAll.SHARED_SYN_ALL.BLOCK_NUMBER; - } - - @Override - public Field field8() { - return SharedSynAll.SHARED_SYN_ALL.BLOCK_HASH; - } - - @Override - public Field field9() { - return SharedSynAll.SHARED_SYN_ALL.BLOCK_TIME; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getSynId(); - } - - @Override - public Integer component3() { - return getSynType(); - } - - @Override - public Integer component4() { - return getIsConfigRule(); - } - - @Override - public Integer component5() { - return getSharedStatus(); - } - - @Override - public Integer component6() { - return getSynStatus(); - } - - @Override - public String component7() { - return getBlockNumber(); - } - - @Override - public String component8() { - return getBlockHash(); - } - - @Override - public String component9() { - return getBlockTime(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getSynId(); - } - - @Override - public Integer value3() { - return getSynType(); - } - - @Override - public Integer value4() { - return getIsConfigRule(); - } - - @Override - public Integer value5() { - return getSharedStatus(); - } - - @Override - public Integer value6() { - return getSynStatus(); - } - - @Override - public String value7() { - return getBlockNumber(); - } - - @Override - public String value8() { - return getBlockHash(); - } - - @Override - public String value9() { - return getBlockTime(); - } - - @Override - public SharedSynAllRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SharedSynAllRecord value2(String value) { - setSynId(value); - return this; - } - - @Override - public SharedSynAllRecord value3(Integer value) { - setSynType(value); - return this; - } - - @Override - public SharedSynAllRecord value4(Integer value) { - setIsConfigRule(value); - return this; - } - - @Override - public SharedSynAllRecord value5(Integer value) { - setSharedStatus(value); - return this; - } - - @Override - public SharedSynAllRecord value6(Integer value) { - setSynStatus(value); - return this; - } - - @Override - public SharedSynAllRecord value7(String value) { - setBlockNumber(value); - return this; - } - - @Override - public SharedSynAllRecord value8(String value) { - setBlockHash(value); - return this; - } - - @Override - public SharedSynAllRecord value9(String value) { - setBlockTime(value); - return this; - } - - @Override - public SharedSynAllRecord values(String value1, String value2, Integer value3, Integer value4, Integer value5, Integer value6, String value7, String value8, String value9) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SharedSynAllRecord - */ - public SharedSynAllRecord() { - super(SharedSynAll.SHARED_SYN_ALL); - } - - /** - * Create a detached, initialised SharedSynAllRecord - */ - public SharedSynAllRecord(String id, String synId, Integer synType, Integer isConfigRule, Integer sharedStatus, Integer synStatus, String blockNumber, String blockHash, String blockTime) { - super(SharedSynAll.SHARED_SYN_ALL); - - setId(id); - setSynId(synId); - setSynType(synType); - setIsConfigRule(isConfigRule); - setSharedStatus(sharedStatus); - setSynStatus(synStatus); - setBlockNumber(blockNumber); - setBlockHash(blockHash); - setBlockTime(blockTime); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised SharedSynAllRecord - */ - public SharedSynAllRecord(jj.tech.paolu.repository.jooq.tables.pojos.SharedSynAll value) { - super(SharedSynAll.SHARED_SYN_ALL); - - if (value != null) { - setId(value.getId()); - setSynId(value.getSynId()); - setSynType(value.getSynType()); - setIsConfigRule(value.getIsConfigRule()); - setSharedStatus(value.getSharedStatus()); - setSynStatus(value.getSynStatus()); - setBlockNumber(value.getBlockNumber()); - setBlockHash(value.getBlockHash()); - setBlockTime(value.getBlockTime()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SynDirectoryFileRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SynDirectoryFileRecord.java deleted file mode 100644 index 6d6881b..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SynDirectoryFileRecord.java +++ /dev/null @@ -1,880 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import jj.tech.paolu.repository.jooq.tables.SynDirectoryFile; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record21; -import org.jooq.Row21; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SynDirectoryFileRecord extends UpdatableRecordImpl implements Record21 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.syn_directory_file.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.syn_directory_file.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.syn_directory_file.p_id. - */ - public void setPId(String value) { - set(1, value); - } - - /** - * Getter for public.syn_directory_file.p_id. - */ - public String getPId() { - return (String) get(1); - } - - /** - * Setter for public.syn_directory_file.filesuper. - */ - public void setFilesuper(String value) { - set(2, value); - } - - /** - * Getter for public.syn_directory_file.filesuper. - */ - public String getFilesuper() { - return (String) get(2); - } - - /** - * Setter for public.syn_directory_file.filecount. - */ - public void setFilecount(Integer value) { - set(3, value); - } - - /** - * Getter for public.syn_directory_file.filecount. - */ - public Integer getFilecount() { - return (Integer) get(3); - } - - /** - * Setter for public.syn_directory_file.dutyperson. - */ - public void setDutyperson(String value) { - set(4, value); - } - - /** - * Getter for public.syn_directory_file.dutyperson. - */ - public String getDutyperson() { - return (String) get(4); - } - - /** - * Setter for public.syn_directory_file.eweavedate. - */ - public void setEweavedate(String value) { - set(5, value); - } - - /** - * Getter for public.syn_directory_file.eweavedate. - */ - public String getEweavedate() { - return (String) get(5); - } - - /** - * Setter for public.syn_directory_file.filepage. - */ - public void setFilepage(Integer value) { - set(6, value); - } - - /** - * Getter for public.syn_directory_file.filepage. - */ - public Integer getFilepage() { - return (Integer) get(6); - } - - /** - * Setter for public.syn_directory_file.sortorder. - */ - public void setSortorder(String value) { - set(7, value); - } - - /** - * Getter for public.syn_directory_file.sortorder. - */ - public String getSortorder() { - return (String) get(7); - } - - /** - * Setter for public.syn_directory_file.bpeg. - */ - public void setBpeg(String value) { - set(8, value); - } - - /** - * Getter for public.syn_directory_file.bpeg. - */ - public String getBpeg() { - return (String) get(8); - } - - /** - * Setter for public.syn_directory_file.epeg. - */ - public void setEpeg(String value) { - set(9, value); - } - - /** - * Getter for public.syn_directory_file.epeg. - */ - public String getEpeg() { - return (String) get(9); - } - - /** - * Setter for public.syn_directory_file.filenum. - */ - public void setFilenum(String value) { - set(10, value); - } - - /** - * Getter for public.syn_directory_file.filenum. - */ - public String getFilenum() { - return (String) get(10); - } - - /** - * Setter for public.syn_directory_file.remark. - */ - public void setRemark(String value) { - set(11, value); - } - - /** - * Getter for public.syn_directory_file.remark. - */ - public String getRemark() { - return (String) get(11); - } - - /** - * Setter for public.syn_directory_file.recordnum. - */ - public void setRecordnum(String value) { - set(12, value); - } - - /** - * Getter for public.syn_directory_file.recordnum. - */ - public String getRecordnum() { - return (String) get(12); - } - - /** - * Setter for public.syn_directory_file.piecenumber. - */ - public void setPiecenumber(String value) { - set(13, value); - } - - /** - * Getter for public.syn_directory_file.piecenumber. - */ - public String getPiecenumber() { - return (String) get(13); - } - - /** - * Setter for public.syn_directory_file.adddate. - */ - public void setAdddate(String value) { - set(14, value); - } - - /** - * Getter for public.syn_directory_file.adddate. - */ - public String getAdddate() { - return (String) get(14); - } - - /** - * Setter for public.syn_directory_file.editdate. - */ - public void setEditdate(String value) { - set(15, value); - } - - /** - * Getter for public.syn_directory_file.editdate. - */ - public String getEditdate() { - return (String) get(15); - } - - /** - * Setter for public.syn_directory_file.time_stamp. - */ - public void setTimeStamp(String value) { - set(16, value); - } - - /** - * Getter for public.syn_directory_file.time_stamp. - */ - public String getTimeStamp() { - return (String) get(16); - } - - /** - * Setter for public.syn_directory_file.isdel. - */ - public void setIsdel(Integer value) { - set(17, value); - } - - /** - * Getter for public.syn_directory_file.isdel. - */ - public Integer getIsdel() { - return (Integer) get(17); - } - - /** - * Setter for public.syn_directory_file.catalogpdfurl. - */ - public void setCatalogpdfurl(String value) { - set(18, value); - } - - /** - * Getter for public.syn_directory_file.catalogpdfurl. - */ - public String getCatalogpdfurl() { - return (String) get(18); - } - - /** - * Setter for public.syn_directory_file.signtag. - */ - public void setSigntag(String value) { - set(19, value); - } - - /** - * Getter for public.syn_directory_file.signtag. - */ - public String getSigntag() { - return (String) get(19); - } - - /** - * Setter for public.syn_directory_file.collecttag. - */ - public void setCollecttag(String value) { - set(20, value); - } - - /** - * Getter for public.syn_directory_file.collecttag. - */ - public String getCollecttag() { - return (String) get(20); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record21 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row21 fieldsRow() { - return (Row21) super.fieldsRow(); - } - - @Override - public Row21 valuesRow() { - return (Row21) super.valuesRow(); - } - - @Override - public Field field1() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.ID; - } - - @Override - public Field field2() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.P_ID; - } - - @Override - public Field field3() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.FILESUPER; - } - - @Override - public Field field4() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.FILECOUNT; - } - - @Override - public Field field5() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.DUTYPERSON; - } - - @Override - public Field field6() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.EWEAVEDATE; - } - - @Override - public Field field7() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.FILEPAGE; - } - - @Override - public Field field8() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.SORTORDER; - } - - @Override - public Field field9() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.BPEG; - } - - @Override - public Field field10() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.EPEG; - } - - @Override - public Field field11() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.FILENUM; - } - - @Override - public Field field12() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.REMARK; - } - - @Override - public Field field13() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.RECORDNUM; - } - - @Override - public Field field14() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.PIECENUMBER; - } - - @Override - public Field field15() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.ADDDATE; - } - - @Override - public Field field16() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.EDITDATE; - } - - @Override - public Field field17() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.TIME_STAMP; - } - - @Override - public Field field18() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.ISDEL; - } - - @Override - public Field field19() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.CATALOGPDFURL; - } - - @Override - public Field field20() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.SIGNTAG; - } - - @Override - public Field field21() { - return SynDirectoryFile.SYN_DIRECTORY_FILE.COLLECTTAG; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getPId(); - } - - @Override - public String component3() { - return getFilesuper(); - } - - @Override - public Integer component4() { - return getFilecount(); - } - - @Override - public String component5() { - return getDutyperson(); - } - - @Override - public String component6() { - return getEweavedate(); - } - - @Override - public Integer component7() { - return getFilepage(); - } - - @Override - public String component8() { - return getSortorder(); - } - - @Override - public String component9() { - return getBpeg(); - } - - @Override - public String component10() { - return getEpeg(); - } - - @Override - public String component11() { - return getFilenum(); - } - - @Override - public String component12() { - return getRemark(); - } - - @Override - public String component13() { - return getRecordnum(); - } - - @Override - public String component14() { - return getPiecenumber(); - } - - @Override - public String component15() { - return getAdddate(); - } - - @Override - public String component16() { - return getEditdate(); - } - - @Override - public String component17() { - return getTimeStamp(); - } - - @Override - public Integer component18() { - return getIsdel(); - } - - @Override - public String component19() { - return getCatalogpdfurl(); - } - - @Override - public String component20() { - return getSigntag(); - } - - @Override - public String component21() { - return getCollecttag(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getPId(); - } - - @Override - public String value3() { - return getFilesuper(); - } - - @Override - public Integer value4() { - return getFilecount(); - } - - @Override - public String value5() { - return getDutyperson(); - } - - @Override - public String value6() { - return getEweavedate(); - } - - @Override - public Integer value7() { - return getFilepage(); - } - - @Override - public String value8() { - return getSortorder(); - } - - @Override - public String value9() { - return getBpeg(); - } - - @Override - public String value10() { - return getEpeg(); - } - - @Override - public String value11() { - return getFilenum(); - } - - @Override - public String value12() { - return getRemark(); - } - - @Override - public String value13() { - return getRecordnum(); - } - - @Override - public String value14() { - return getPiecenumber(); - } - - @Override - public String value15() { - return getAdddate(); - } - - @Override - public String value16() { - return getEditdate(); - } - - @Override - public String value17() { - return getTimeStamp(); - } - - @Override - public Integer value18() { - return getIsdel(); - } - - @Override - public String value19() { - return getCatalogpdfurl(); - } - - @Override - public String value20() { - return getSigntag(); - } - - @Override - public String value21() { - return getCollecttag(); - } - - @Override - public SynDirectoryFileRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SynDirectoryFileRecord value2(String value) { - setPId(value); - return this; - } - - @Override - public SynDirectoryFileRecord value3(String value) { - setFilesuper(value); - return this; - } - - @Override - public SynDirectoryFileRecord value4(Integer value) { - setFilecount(value); - return this; - } - - @Override - public SynDirectoryFileRecord value5(String value) { - setDutyperson(value); - return this; - } - - @Override - public SynDirectoryFileRecord value6(String value) { - setEweavedate(value); - return this; - } - - @Override - public SynDirectoryFileRecord value7(Integer value) { - setFilepage(value); - return this; - } - - @Override - public SynDirectoryFileRecord value8(String value) { - setSortorder(value); - return this; - } - - @Override - public SynDirectoryFileRecord value9(String value) { - setBpeg(value); - return this; - } - - @Override - public SynDirectoryFileRecord value10(String value) { - setEpeg(value); - return this; - } - - @Override - public SynDirectoryFileRecord value11(String value) { - setFilenum(value); - return this; - } - - @Override - public SynDirectoryFileRecord value12(String value) { - setRemark(value); - return this; - } - - @Override - public SynDirectoryFileRecord value13(String value) { - setRecordnum(value); - return this; - } - - @Override - public SynDirectoryFileRecord value14(String value) { - setPiecenumber(value); - return this; - } - - @Override - public SynDirectoryFileRecord value15(String value) { - setAdddate(value); - return this; - } - - @Override - public SynDirectoryFileRecord value16(String value) { - setEditdate(value); - return this; - } - - @Override - public SynDirectoryFileRecord value17(String value) { - setTimeStamp(value); - return this; - } - - @Override - public SynDirectoryFileRecord value18(Integer value) { - setIsdel(value); - return this; - } - - @Override - public SynDirectoryFileRecord value19(String value) { - setCatalogpdfurl(value); - return this; - } - - @Override - public SynDirectoryFileRecord value20(String value) { - setSigntag(value); - return this; - } - - @Override - public SynDirectoryFileRecord value21(String value) { - setCollecttag(value); - return this; - } - - @Override - public SynDirectoryFileRecord values(String value1, String value2, String value3, Integer value4, String value5, String value6, Integer value7, String value8, String value9, String value10, String value11, String value12, String value13, String value14, String value15, String value16, String value17, Integer value18, String value19, String value20, String value21) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - value15(value15); - value16(value16); - value17(value17); - value18(value18); - value19(value19); - value20(value20); - value21(value21); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SynDirectoryFileRecord - */ - public SynDirectoryFileRecord() { - super(SynDirectoryFile.SYN_DIRECTORY_FILE); - } - - /** - * Create a detached, initialised SynDirectoryFileRecord - */ - public SynDirectoryFileRecord(String id, String pId, String filesuper, Integer filecount, String dutyperson, String eweavedate, Integer filepage, String sortorder, String bpeg, String epeg, String filenum, String remark, String recordnum, String piecenumber, String adddate, String editdate, String timeStamp, Integer isdel, String catalogpdfurl, String signtag, String collecttag) { - super(SynDirectoryFile.SYN_DIRECTORY_FILE); - - setId(id); - setPId(pId); - setFilesuper(filesuper); - setFilecount(filecount); - setDutyperson(dutyperson); - setEweavedate(eweavedate); - setFilepage(filepage); - setSortorder(sortorder); - setBpeg(bpeg); - setEpeg(epeg); - setFilenum(filenum); - setRemark(remark); - setRecordnum(recordnum); - setPiecenumber(piecenumber); - setAdddate(adddate); - setEditdate(editdate); - setTimeStamp(timeStamp); - setIsdel(isdel); - setCatalogpdfurl(catalogpdfurl); - setSigntag(signtag); - setCollecttag(collecttag); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised SynDirectoryFileRecord - */ - public SynDirectoryFileRecord(jj.tech.paolu.repository.jooq.tables.pojos.SynDirectoryFile value) { - super(SynDirectoryFile.SYN_DIRECTORY_FILE); - - if (value != null) { - setId(value.getId()); - setPId(value.getPId()); - setFilesuper(value.getFilesuper()); - setFilecount(value.getFilecount()); - setDutyperson(value.getDutyperson()); - setEweavedate(value.getEweavedate()); - setFilepage(value.getFilepage()); - setSortorder(value.getSortorder()); - setBpeg(value.getBpeg()); - setEpeg(value.getEpeg()); - setFilenum(value.getFilenum()); - setRemark(value.getRemark()); - setRecordnum(value.getRecordnum()); - setPiecenumber(value.getPiecenumber()); - setAdddate(value.getAdddate()); - setEditdate(value.getEditdate()); - setTimeStamp(value.getTimeStamp()); - setIsdel(value.getIsdel()); - setCatalogpdfurl(value.getCatalogpdfurl()); - setSigntag(value.getSigntag()); - setCollecttag(value.getCollecttag()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SynDirectoryRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SynDirectoryRecord.java deleted file mode 100644 index 67c664e..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SynDirectoryRecord.java +++ /dev/null @@ -1,386 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import jj.tech.paolu.repository.jooq.tables.SynDirectory; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record8; -import org.jooq.Row8; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SynDirectoryRecord extends UpdatableRecordImpl implements Record8 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.syn_directory.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.syn_directory.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.syn_directory.p_id. - */ - public void setPId(String value) { - set(1, value); - } - - /** - * Getter for public.syn_directory.p_id. - */ - public String getPId() { - return (String) get(1); - } - - /** - * Setter for public.syn_directory.wbs_id. - */ - public void setWbsId(String value) { - set(2, value); - } - - /** - * Getter for public.syn_directory.wbs_id. - */ - public String getWbsId() { - return (String) get(2); - } - - /** - * Setter for public.syn_directory.time_stamp. - */ - public void setTimeStamp(String value) { - set(3, value); - } - - /** - * Getter for public.syn_directory.time_stamp. - */ - public String getTimeStamp() { - return (String) get(3); - } - - /** - * Setter for public.syn_directory.sortorder. - */ - public void setSortorder(Integer value) { - set(4, value); - } - - /** - * Getter for public.syn_directory.sortorder. - */ - public Integer getSortorder() { - return (Integer) get(4); - } - - /** - * Setter for public.syn_directory.tname. - */ - public void setTname(String value) { - set(5, value); - } - - /** - * Getter for public.syn_directory.tname. - */ - public String getTname() { - return (String) get(5); - } - - /** - * Setter for public.syn_directory.subjoin. - */ - public void setSubjoin(Integer value) { - set(6, value); - } - - /** - * Getter for public.syn_directory.subjoin. - */ - public Integer getSubjoin() { - return (Integer) get(6); - } - - /** - * Setter for public.syn_directory.isdel. - */ - public void setIsdel(Integer value) { - set(7, value); - } - - /** - * Getter for public.syn_directory.isdel. - */ - public Integer getIsdel() { - return (Integer) get(7); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record8 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row8 fieldsRow() { - return (Row8) super.fieldsRow(); - } - - @Override - public Row8 valuesRow() { - return (Row8) super.valuesRow(); - } - - @Override - public Field field1() { - return SynDirectory.SYN_DIRECTORY.ID; - } - - @Override - public Field field2() { - return SynDirectory.SYN_DIRECTORY.P_ID; - } - - @Override - public Field field3() { - return SynDirectory.SYN_DIRECTORY.WBS_ID; - } - - @Override - public Field field4() { - return SynDirectory.SYN_DIRECTORY.TIME_STAMP; - } - - @Override - public Field field5() { - return SynDirectory.SYN_DIRECTORY.SORTORDER; - } - - @Override - public Field field6() { - return SynDirectory.SYN_DIRECTORY.TNAME; - } - - @Override - public Field field7() { - return SynDirectory.SYN_DIRECTORY.SUBJOIN; - } - - @Override - public Field field8() { - return SynDirectory.SYN_DIRECTORY.ISDEL; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getPId(); - } - - @Override - public String component3() { - return getWbsId(); - } - - @Override - public String component4() { - return getTimeStamp(); - } - - @Override - public Integer component5() { - return getSortorder(); - } - - @Override - public String component6() { - return getTname(); - } - - @Override - public Integer component7() { - return getSubjoin(); - } - - @Override - public Integer component8() { - return getIsdel(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getPId(); - } - - @Override - public String value3() { - return getWbsId(); - } - - @Override - public String value4() { - return getTimeStamp(); - } - - @Override - public Integer value5() { - return getSortorder(); - } - - @Override - public String value6() { - return getTname(); - } - - @Override - public Integer value7() { - return getSubjoin(); - } - - @Override - public Integer value8() { - return getIsdel(); - } - - @Override - public SynDirectoryRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SynDirectoryRecord value2(String value) { - setPId(value); - return this; - } - - @Override - public SynDirectoryRecord value3(String value) { - setWbsId(value); - return this; - } - - @Override - public SynDirectoryRecord value4(String value) { - setTimeStamp(value); - return this; - } - - @Override - public SynDirectoryRecord value5(Integer value) { - setSortorder(value); - return this; - } - - @Override - public SynDirectoryRecord value6(String value) { - setTname(value); - return this; - } - - @Override - public SynDirectoryRecord value7(Integer value) { - setSubjoin(value); - return this; - } - - @Override - public SynDirectoryRecord value8(Integer value) { - setIsdel(value); - return this; - } - - @Override - public SynDirectoryRecord values(String value1, String value2, String value3, String value4, Integer value5, String value6, Integer value7, Integer value8) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SynDirectoryRecord - */ - public SynDirectoryRecord() { - super(SynDirectory.SYN_DIRECTORY); - } - - /** - * Create a detached, initialised SynDirectoryRecord - */ - public SynDirectoryRecord(String id, String pId, String wbsId, String timeStamp, Integer sortorder, String tname, Integer subjoin, Integer isdel) { - super(SynDirectory.SYN_DIRECTORY); - - setId(id); - setPId(pId); - setWbsId(wbsId); - setTimeStamp(timeStamp); - setSortorder(sortorder); - setTname(tname); - setSubjoin(subjoin); - setIsdel(isdel); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised SynDirectoryRecord - */ - public SynDirectoryRecord(jj.tech.paolu.repository.jooq.tables.pojos.SynDirectory value) { - super(SynDirectory.SYN_DIRECTORY); - - if (value != null) { - setId(value.getId()); - setPId(value.getPId()); - setWbsId(value.getWbsId()); - setTimeStamp(value.getTimeStamp()); - setSortorder(value.getSortorder()); - setTname(value.getTname()); - setSubjoin(value.getSubjoin()); - setIsdel(value.getIsdel()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SynFileRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SynFileRecord.java deleted file mode 100644 index 76d5e0f..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SynFileRecord.java +++ /dev/null @@ -1,728 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import jj.tech.paolu.repository.jooq.tables.SynFile; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record17; -import org.jooq.Row17; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SynFileRecord extends UpdatableRecordImpl implements Record17 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.syn_file.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.syn_file.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.syn_file.p_id. - */ - public void setPId(String value) { - set(1, value); - } - - /** - * Getter for public.syn_file.p_id. - */ - public String getPId() { - return (String) get(1); - } - - /** - * Setter for public.syn_file.tablenumber. - */ - public void setTablenumber(String value) { - set(2, value); - } - - /** - * Getter for public.syn_file.tablenumber. - */ - public String getTablenumber() { - return (String) get(2); - } - - /** - * Setter for public.syn_file.annexname. - */ - public void setAnnexname(String value) { - set(3, value); - } - - /** - * Getter for public.syn_file.annexname. - */ - public String getAnnexname() { - return (String) get(3); - } - - /** - * Setter for public.syn_file.projectname. - */ - public void setProjectname(String value) { - set(4, value); - } - - /** - * Getter for public.syn_file.projectname. - */ - public String getProjectname() { - return (String) get(4); - } - - /** - * Setter for public.syn_file.eweavedate. - */ - public void setEweavedate(String value) { - set(5, value); - } - - /** - * Getter for public.syn_file.eweavedate. - */ - public String getEweavedate() { - return (String) get(5); - } - - /** - * Setter for public.syn_file.checkdate. - */ - public void setCheckdate(String value) { - set(6, value); - } - - /** - * Getter for public.syn_file.checkdate. - */ - public String getCheckdate() { - return (String) get(6); - } - - /** - * Setter for public.syn_file.annexpage. - */ - public void setAnnexpage(Integer value) { - set(7, value); - } - - /** - * Getter for public.syn_file.annexpage. - */ - public Integer getAnnexpage() { - return (Integer) get(7); - } - - /** - * Setter for public.syn_file.sortorder. - */ - public void setSortorder(String value) { - set(8, value); - } - - /** - * Getter for public.syn_file.sortorder. - */ - public String getSortorder() { - return (String) get(8); - } - - /** - * Setter for public.syn_file.filefrom. - */ - public void setFilefrom(String value) { - set(9, value); - } - - /** - * Getter for public.syn_file.filefrom. - */ - public String getFilefrom() { - return (String) get(9); - } - - /** - * Setter for public.syn_file.archivestag. - */ - public void setArchivestag(String value) { - set(10, value); - } - - /** - * Getter for public.syn_file.archivestag. - */ - public String getArchivestag() { - return (String) get(10); - } - - /** - * Setter for public.syn_file.adddate. - */ - public void setAdddate(String value) { - set(11, value); - } - - /** - * Getter for public.syn_file.adddate. - */ - public String getAdddate() { - return (String) get(11); - } - - /** - * Setter for public.syn_file.editdate. - */ - public void setEditdate(String value) { - set(12, value); - } - - /** - * Getter for public.syn_file.editdate. - */ - public String getEditdate() { - return (String) get(12); - } - - /** - * Setter for public.syn_file.time_stamp. - */ - public void setTimeStamp(String value) { - set(13, value); - } - - /** - * Getter for public.syn_file.time_stamp. - */ - public String getTimeStamp() { - return (String) get(13); - } - - /** - * Setter for public.syn_file.isdel. - */ - public void setIsdel(Integer value) { - set(14, value); - } - - /** - * Getter for public.syn_file.isdel. - */ - public Integer getIsdel() { - return (Integer) get(14); - } - - /** - * Setter for public.syn_file.downurl. - */ - public void setDownurl(String value) { - set(15, value); - } - - /** - * Getter for public.syn_file.downurl. - */ - public String getDownurl() { - return (String) get(15); - } - - /** - * Setter for public.syn_file.filesize. - */ - public void setFilesize(Integer value) { - set(16, value); - } - - /** - * Getter for public.syn_file.filesize. - */ - public Integer getFilesize() { - return (Integer) get(16); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record17 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row17 fieldsRow() { - return (Row17) super.fieldsRow(); - } - - @Override - public Row17 valuesRow() { - return (Row17) super.valuesRow(); - } - - @Override - public Field field1() { - return SynFile.SYN_FILE.ID; - } - - @Override - public Field field2() { - return SynFile.SYN_FILE.P_ID; - } - - @Override - public Field field3() { - return SynFile.SYN_FILE.TABLENUMBER; - } - - @Override - public Field field4() { - return SynFile.SYN_FILE.ANNEXNAME; - } - - @Override - public Field field5() { - return SynFile.SYN_FILE.PROJECTNAME; - } - - @Override - public Field field6() { - return SynFile.SYN_FILE.EWEAVEDATE; - } - - @Override - public Field field7() { - return SynFile.SYN_FILE.CHECKDATE; - } - - @Override - public Field field8() { - return SynFile.SYN_FILE.ANNEXPAGE; - } - - @Override - public Field field9() { - return SynFile.SYN_FILE.SORTORDER; - } - - @Override - public Field field10() { - return SynFile.SYN_FILE.FILEFROM; - } - - @Override - public Field field11() { - return SynFile.SYN_FILE.ARCHIVESTAG; - } - - @Override - public Field field12() { - return SynFile.SYN_FILE.ADDDATE; - } - - @Override - public Field field13() { - return SynFile.SYN_FILE.EDITDATE; - } - - @Override - public Field field14() { - return SynFile.SYN_FILE.TIME_STAMP; - } - - @Override - public Field field15() { - return SynFile.SYN_FILE.ISDEL; - } - - @Override - public Field field16() { - return SynFile.SYN_FILE.DOWNURL; - } - - @Override - public Field field17() { - return SynFile.SYN_FILE.FILESIZE; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getPId(); - } - - @Override - public String component3() { - return getTablenumber(); - } - - @Override - public String component4() { - return getAnnexname(); - } - - @Override - public String component5() { - return getProjectname(); - } - - @Override - public String component6() { - return getEweavedate(); - } - - @Override - public String component7() { - return getCheckdate(); - } - - @Override - public Integer component8() { - return getAnnexpage(); - } - - @Override - public String component9() { - return getSortorder(); - } - - @Override - public String component10() { - return getFilefrom(); - } - - @Override - public String component11() { - return getArchivestag(); - } - - @Override - public String component12() { - return getAdddate(); - } - - @Override - public String component13() { - return getEditdate(); - } - - @Override - public String component14() { - return getTimeStamp(); - } - - @Override - public Integer component15() { - return getIsdel(); - } - - @Override - public String component16() { - return getDownurl(); - } - - @Override - public Integer component17() { - return getFilesize(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getPId(); - } - - @Override - public String value3() { - return getTablenumber(); - } - - @Override - public String value4() { - return getAnnexname(); - } - - @Override - public String value5() { - return getProjectname(); - } - - @Override - public String value6() { - return getEweavedate(); - } - - @Override - public String value7() { - return getCheckdate(); - } - - @Override - public Integer value8() { - return getAnnexpage(); - } - - @Override - public String value9() { - return getSortorder(); - } - - @Override - public String value10() { - return getFilefrom(); - } - - @Override - public String value11() { - return getArchivestag(); - } - - @Override - public String value12() { - return getAdddate(); - } - - @Override - public String value13() { - return getEditdate(); - } - - @Override - public String value14() { - return getTimeStamp(); - } - - @Override - public Integer value15() { - return getIsdel(); - } - - @Override - public String value16() { - return getDownurl(); - } - - @Override - public Integer value17() { - return getFilesize(); - } - - @Override - public SynFileRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SynFileRecord value2(String value) { - setPId(value); - return this; - } - - @Override - public SynFileRecord value3(String value) { - setTablenumber(value); - return this; - } - - @Override - public SynFileRecord value4(String value) { - setAnnexname(value); - return this; - } - - @Override - public SynFileRecord value5(String value) { - setProjectname(value); - return this; - } - - @Override - public SynFileRecord value6(String value) { - setEweavedate(value); - return this; - } - - @Override - public SynFileRecord value7(String value) { - setCheckdate(value); - return this; - } - - @Override - public SynFileRecord value8(Integer value) { - setAnnexpage(value); - return this; - } - - @Override - public SynFileRecord value9(String value) { - setSortorder(value); - return this; - } - - @Override - public SynFileRecord value10(String value) { - setFilefrom(value); - return this; - } - - @Override - public SynFileRecord value11(String value) { - setArchivestag(value); - return this; - } - - @Override - public SynFileRecord value12(String value) { - setAdddate(value); - return this; - } - - @Override - public SynFileRecord value13(String value) { - setEditdate(value); - return this; - } - - @Override - public SynFileRecord value14(String value) { - setTimeStamp(value); - return this; - } - - @Override - public SynFileRecord value15(Integer value) { - setIsdel(value); - return this; - } - - @Override - public SynFileRecord value16(String value) { - setDownurl(value); - return this; - } - - @Override - public SynFileRecord value17(Integer value) { - setFilesize(value); - return this; - } - - @Override - public SynFileRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, Integer value8, String value9, String value10, String value11, String value12, String value13, String value14, Integer value15, String value16, Integer value17) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - value15(value15); - value16(value16); - value17(value17); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SynFileRecord - */ - public SynFileRecord() { - super(SynFile.SYN_FILE); - } - - /** - * Create a detached, initialised SynFileRecord - */ - public SynFileRecord(String id, String pId, String tablenumber, String annexname, String projectname, String eweavedate, String checkdate, Integer annexpage, String sortorder, String filefrom, String archivestag, String adddate, String editdate, String timeStamp, Integer isdel, String downurl, Integer filesize) { - super(SynFile.SYN_FILE); - - setId(id); - setPId(pId); - setTablenumber(tablenumber); - setAnnexname(annexname); - setProjectname(projectname); - setEweavedate(eweavedate); - setCheckdate(checkdate); - setAnnexpage(annexpage); - setSortorder(sortorder); - setFilefrom(filefrom); - setArchivestag(archivestag); - setAdddate(adddate); - setEditdate(editdate); - setTimeStamp(timeStamp); - setIsdel(isdel); - setDownurl(downurl); - setFilesize(filesize); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised SynFileRecord - */ - public SynFileRecord(jj.tech.paolu.repository.jooq.tables.pojos.SynFile value) { - super(SynFile.SYN_FILE); - - if (value != null) { - setId(value.getId()); - setPId(value.getPId()); - setTablenumber(value.getTablenumber()); - setAnnexname(value.getAnnexname()); - setProjectname(value.getProjectname()); - setEweavedate(value.getEweavedate()); - setCheckdate(value.getCheckdate()); - setAnnexpage(value.getAnnexpage()); - setSortorder(value.getSortorder()); - setFilefrom(value.getFilefrom()); - setArchivestag(value.getArchivestag()); - setAdddate(value.getAdddate()); - setEditdate(value.getEditdate()); - setTimeStamp(value.getTimeStamp()); - setIsdel(value.getIsdel()); - setDownurl(value.getDownurl()); - setFilesize(value.getFilesize()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminMenuRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminMenuRecord.java new file mode 100644 index 0000000..dddc1a4 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminMenuRecord.java @@ -0,0 +1,108 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.records; + + +import jj.tech.paolu.repository.jooq.tables.SysAdminMenu; + +import org.jooq.Record1; +import org.jooq.impl.UpdatableRecordImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SysAdminMenuRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for yx.sys_admin_menu.id. + */ + public void setId(String value) { + set(0, value); + } + + /** + * Getter for yx.sys_admin_menu.id. + */ + public String getId() { + return (String) get(0); + } + + /** + * Setter for yx.sys_admin_menu.adminid. + */ + public void setAdminid(String value) { + set(1, value); + } + + /** + * Getter for yx.sys_admin_menu.adminid. + */ + public String getAdminid() { + return (String) get(1); + } + + /** + * Setter for yx.sys_admin_menu.memuid. + */ + public void setMemuid(String value) { + set(2, value); + } + + /** + * Getter for yx.sys_admin_menu.memuid. + */ + public String getMemuid() { + return (String) get(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached SysAdminMenuRecord + */ + public SysAdminMenuRecord() { + super(SysAdminMenu.SYS_ADMIN_MENU); + } + + /** + * Create a detached, initialised SysAdminMenuRecord + */ + public SysAdminMenuRecord(String id, String adminid, String memuid) { + super(SysAdminMenu.SYS_ADMIN_MENU); + + setId(id); + setAdminid(adminid); + setMemuid(memuid); + resetChangedOnNotNull(); + } + + /** + * Create a detached, initialised SysAdminMenuRecord + */ + public SysAdminMenuRecord(jj.tech.paolu.repository.jooq.tables.pojos.SysAdminMenu value) { + super(SysAdminMenu.SYS_ADMIN_MENU); + + if (value != null) { + setId(value.getId()); + setAdminid(value.getAdminid()); + setMemuid(value.getMemuid()); + resetChangedOnNotNull(); + } + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRecord.java index ece259b..329fe6d 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRecord.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRecord.java @@ -6,10 +6,7 @@ package jj.tech.paolu.repository.jooq.tables.records; import jj.tech.paolu.repository.jooq.tables.SysAdmin; -import org.jooq.Field; import org.jooq.Record1; -import org.jooq.Record14; -import org.jooq.Row14; import org.jooq.impl.UpdatableRecordImpl; @@ -17,204 +14,106 @@ import org.jooq.impl.UpdatableRecordImpl; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysAdminRecord extends UpdatableRecordImpl implements Record14 { +public class SysAdminRecord extends UpdatableRecordImpl { private static final long serialVersionUID = 1L; /** - * Setter for public.sys_admin.id. + * Setter for yx.sys_admin.id. */ public void setId(String value) { set(0, value); } /** - * Getter for public.sys_admin.id. + * Getter for yx.sys_admin.id. */ public String getId() { return (String) get(0); } /** - * Setter for public.sys_admin.org_id. + * Setter for yx.sys_admin.org_id. */ public void setOrgId(String value) { set(1, value); } /** - * Getter for public.sys_admin.org_id. + * Getter for yx.sys_admin.org_id. */ public String getOrgId() { return (String) get(1); } /** - * Setter for public.sys_admin.realname. + * Setter for yx.sys_admin.type. 0管理员,1普通用户 */ - public void setRealname(String value) { + public void setType(Integer value) { set(2, value); } /** - * Getter for public.sys_admin.realname. + * Getter for yx.sys_admin.type. 0管理员,1普通用户 */ - public String getRealname() { - return (String) get(2); + public Integer getType() { + return (Integer) get(2); } /** - * Setter for public.sys_admin.username. + * Setter for yx.sys_admin.realname. */ - public void setUsername(String value) { + public void setRealname(String value) { set(3, value); } /** - * Getter for public.sys_admin.username. + * Getter for yx.sys_admin.realname. */ - public String getUsername() { + public String getRealname() { return (String) get(3); } /** - * Setter for public.sys_admin.password. + * Setter for yx.sys_admin.username. */ - public void setPassword(String value) { + public void setUsername(String value) { set(4, value); } /** - * Getter for public.sys_admin.password. + * Getter for yx.sys_admin.username. */ - public String getPassword() { + public String getUsername() { return (String) get(4); } /** - * Setter for public.sys_admin.phone. + * Setter for yx.sys_admin.password. sha3_256hex */ - public void setPhone(String value) { + public void setPassword(String value) { set(5, value); } /** - * Getter for public.sys_admin.phone. + * Getter for yx.sys_admin.password. sha3_256hex */ - public String getPhone() { + public String getPassword() { return (String) get(5); } /** - * Setter for public.sys_admin.email. + * Setter for yx.sys_admin.islock. 0正常,1锁定 */ - public void setEmail(String value) { + public void setIslock(Integer value) { set(6, value); } /** - * Getter for public.sys_admin.email. - */ - public String getEmail() { - return (String) get(6); - } - - /** - * Setter for public.sys_admin.job. - */ - public void setJob(String value) { - set(7, value); - } - - /** - * Getter for public.sys_admin.job. - */ - public String getJob() { - return (String) get(7); - } - - /** - * Setter for public.sys_admin.gender. - */ - public void setGender(Integer value) { - set(8, value); - } - - /** - * Getter for public.sys_admin.gender. - */ - public Integer getGender() { - return (Integer) get(8); - } - - /** - * Setter for public.sys_admin.islock. - */ - public void setIslock(Integer value) { - set(9, value); - } - - /** - * Getter for public.sys_admin.islock. + * Getter for yx.sys_admin.islock. 0正常,1锁定 */ public Integer getIslock() { - return (Integer) get(9); - } - - /** - * Setter for public.sys_admin.type. - */ - public void setType(Integer value) { - set(10, value); - } - - /** - * Getter for public.sys_admin.type. - */ - public Integer getType() { - return (Integer) get(10); - } - - /** - * Setter for public.sys_admin.sort. - */ - public void setSort(Integer value) { - set(11, value); - } - - /** - * Getter for public.sys_admin.sort. - */ - public Integer getSort() { - return (Integer) get(11); - } - - /** - * Setter for public.sys_admin.cer_id. - */ - public void setCerId(String value) { - set(12, value); - } - - /** - * Getter for public.sys_admin.cer_id. - */ - public String getCerId() { - return (String) get(12); - } - - /** - * Setter for public.sys_admin.company_id. 公司ID,组织ID的最高级 - */ - public void setCompanyId(String value) { - set(13, value); - } - - /** - * Getter for public.sys_admin.company_id. 公司ID,组织ID的最高级 - */ - public String getCompanyId() { - return (String) get(13); + return (Integer) get(6); } // ------------------------------------------------------------------------- @@ -226,333 +125,6 @@ public class SysAdminRecord extends UpdatableRecordImpl implemen return (Record1) super.key(); } - // ------------------------------------------------------------------------- - // Record14 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row14 fieldsRow() { - return (Row14) super.fieldsRow(); - } - - @Override - public Row14 valuesRow() { - return (Row14) super.valuesRow(); - } - - @Override - public Field field1() { - return SysAdmin.SYS_ADMIN.ID; - } - - @Override - public Field field2() { - return SysAdmin.SYS_ADMIN.ORG_ID; - } - - @Override - public Field field3() { - return SysAdmin.SYS_ADMIN.REALNAME; - } - - @Override - public Field field4() { - return SysAdmin.SYS_ADMIN.USERNAME; - } - - @Override - public Field field5() { - return SysAdmin.SYS_ADMIN.PASSWORD; - } - - @Override - public Field field6() { - return SysAdmin.SYS_ADMIN.PHONE; - } - - @Override - public Field field7() { - return SysAdmin.SYS_ADMIN.EMAIL; - } - - @Override - public Field field8() { - return SysAdmin.SYS_ADMIN.JOB; - } - - @Override - public Field field9() { - return SysAdmin.SYS_ADMIN.GENDER; - } - - @Override - public Field field10() { - return SysAdmin.SYS_ADMIN.ISLOCK; - } - - @Override - public Field field11() { - return SysAdmin.SYS_ADMIN.TYPE; - } - - @Override - public Field field12() { - return SysAdmin.SYS_ADMIN.SORT; - } - - @Override - public Field field13() { - return SysAdmin.SYS_ADMIN.CER_ID; - } - - @Override - public Field field14() { - return SysAdmin.SYS_ADMIN.COMPANY_ID; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getOrgId(); - } - - @Override - public String component3() { - return getRealname(); - } - - @Override - public String component4() { - return getUsername(); - } - - @Override - public String component5() { - return getPassword(); - } - - @Override - public String component6() { - return getPhone(); - } - - @Override - public String component7() { - return getEmail(); - } - - @Override - public String component8() { - return getJob(); - } - - @Override - public Integer component9() { - return getGender(); - } - - @Override - public Integer component10() { - return getIslock(); - } - - @Override - public Integer component11() { - return getType(); - } - - @Override - public Integer component12() { - return getSort(); - } - - @Override - public String component13() { - return getCerId(); - } - - @Override - public String component14() { - return getCompanyId(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getOrgId(); - } - - @Override - public String value3() { - return getRealname(); - } - - @Override - public String value4() { - return getUsername(); - } - - @Override - public String value5() { - return getPassword(); - } - - @Override - public String value6() { - return getPhone(); - } - - @Override - public String value7() { - return getEmail(); - } - - @Override - public String value8() { - return getJob(); - } - - @Override - public Integer value9() { - return getGender(); - } - - @Override - public Integer value10() { - return getIslock(); - } - - @Override - public Integer value11() { - return getType(); - } - - @Override - public Integer value12() { - return getSort(); - } - - @Override - public String value13() { - return getCerId(); - } - - @Override - public String value14() { - return getCompanyId(); - } - - @Override - public SysAdminRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SysAdminRecord value2(String value) { - setOrgId(value); - return this; - } - - @Override - public SysAdminRecord value3(String value) { - setRealname(value); - return this; - } - - @Override - public SysAdminRecord value4(String value) { - setUsername(value); - return this; - } - - @Override - public SysAdminRecord value5(String value) { - setPassword(value); - return this; - } - - @Override - public SysAdminRecord value6(String value) { - setPhone(value); - return this; - } - - @Override - public SysAdminRecord value7(String value) { - setEmail(value); - return this; - } - - @Override - public SysAdminRecord value8(String value) { - setJob(value); - return this; - } - - @Override - public SysAdminRecord value9(Integer value) { - setGender(value); - return this; - } - - @Override - public SysAdminRecord value10(Integer value) { - setIslock(value); - return this; - } - - @Override - public SysAdminRecord value11(Integer value) { - setType(value); - return this; - } - - @Override - public SysAdminRecord value12(Integer value) { - setSort(value); - return this; - } - - @Override - public SysAdminRecord value13(String value) { - setCerId(value); - return this; - } - - @Override - public SysAdminRecord value14(String value) { - setCompanyId(value); - return this; - } - - @Override - public SysAdminRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, Integer value9, Integer value10, Integer value11, Integer value12, String value13, String value14) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - return this; - } - // ------------------------------------------------------------------------- // Constructors // ------------------------------------------------------------------------- @@ -567,23 +139,16 @@ public class SysAdminRecord extends UpdatableRecordImpl implemen /** * Create a detached, initialised SysAdminRecord */ - public SysAdminRecord(String id, String orgId, String realname, String username, String password, String phone, String email, String job, Integer gender, Integer islock, Integer type, Integer sort, String cerId, String companyId) { + public SysAdminRecord(String id, String orgId, Integer type, String realname, String username, String password, Integer islock) { super(SysAdmin.SYS_ADMIN); setId(id); setOrgId(orgId); + setType(type); setRealname(realname); setUsername(username); setPassword(password); - setPhone(phone); - setEmail(email); - setJob(job); - setGender(gender); setIslock(islock); - setType(type); - setSort(sort); - setCerId(cerId); - setCompanyId(companyId); resetChangedOnNotNull(); } @@ -596,18 +161,11 @@ public class SysAdminRecord extends UpdatableRecordImpl implemen if (value != null) { setId(value.getId()); setOrgId(value.getOrgId()); + setType(value.getType()); setRealname(value.getRealname()); setUsername(value.getUsername()); setPassword(value.getPassword()); - setPhone(value.getPhone()); - setEmail(value.getEmail()); - setJob(value.getJob()); - setGender(value.getGender()); setIslock(value.getIslock()); - setType(value.getType()); - setSort(value.getSort()); - setCerId(value.getCerId()); - setCompanyId(value.getCompanyId()); resetChangedOnNotNull(); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRoleRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRoleRecord.java index 2e1a206..ce07643 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRoleRecord.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRoleRecord.java @@ -6,10 +6,7 @@ package jj.tech.paolu.repository.jooq.tables.records; import jj.tech.paolu.repository.jooq.tables.SysAdminRole; -import org.jooq.Field; import org.jooq.Record1; -import org.jooq.Record3; -import org.jooq.Row3; import org.jooq.impl.UpdatableRecordImpl; @@ -17,50 +14,50 @@ import org.jooq.impl.UpdatableRecordImpl; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysAdminRoleRecord extends UpdatableRecordImpl implements Record3 { +public class SysAdminRoleRecord extends UpdatableRecordImpl { private static final long serialVersionUID = 1L; /** - * Setter for public.sys_admin_role.id. + * Setter for yx.sys_admin_role.id. */ public void setId(String value) { set(0, value); } /** - * Getter for public.sys_admin_role.id. + * Getter for yx.sys_admin_role.id. */ public String getId() { return (String) get(0); } /** - * Setter for public.sys_admin_role.adminid. + * Setter for yx.sys_admin_role.admin_id. */ - public void setAdminid(String value) { + public void setAdminId(String value) { set(1, value); } /** - * Getter for public.sys_admin_role.adminid. + * Getter for yx.sys_admin_role.admin_id. */ - public String getAdminid() { + public String getAdminId() { return (String) get(1); } /** - * Setter for public.sys_admin_role.roleid. + * Setter for yx.sys_admin_role.role_id. */ - public void setRoleid(String value) { + public void setRoleId(Integer value) { set(2, value); } /** - * Getter for public.sys_admin_role.roleid. + * Getter for yx.sys_admin_role.role_id. */ - public String getRoleid() { - return (String) get(2); + public Integer getRoleId() { + return (Integer) get(2); } // ------------------------------------------------------------------------- @@ -72,91 +69,6 @@ public class SysAdminRoleRecord extends UpdatableRecordImpl return (Record1) super.key(); } - // ------------------------------------------------------------------------- - // Record3 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } - - @Override - public Row3 valuesRow() { - return (Row3) super.valuesRow(); - } - - @Override - public Field field1() { - return SysAdminRole.SYS_ADMIN_ROLE.ID; - } - - @Override - public Field field2() { - return SysAdminRole.SYS_ADMIN_ROLE.ADMINID; - } - - @Override - public Field field3() { - return SysAdminRole.SYS_ADMIN_ROLE.ROLEID; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getAdminid(); - } - - @Override - public String component3() { - return getRoleid(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getAdminid(); - } - - @Override - public String value3() { - return getRoleid(); - } - - @Override - public SysAdminRoleRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SysAdminRoleRecord value2(String value) { - setAdminid(value); - return this; - } - - @Override - public SysAdminRoleRecord value3(String value) { - setRoleid(value); - return this; - } - - @Override - public SysAdminRoleRecord values(String value1, String value2, String value3) { - value1(value1); - value2(value2); - value3(value3); - return this; - } - // ------------------------------------------------------------------------- // Constructors // ------------------------------------------------------------------------- @@ -171,12 +83,12 @@ public class SysAdminRoleRecord extends UpdatableRecordImpl /** * Create a detached, initialised SysAdminRoleRecord */ - public SysAdminRoleRecord(String id, String adminid, String roleid) { + public SysAdminRoleRecord(String id, String adminId, Integer roleId) { super(SysAdminRole.SYS_ADMIN_ROLE); setId(id); - setAdminid(adminid); - setRoleid(roleid); + setAdminId(adminId); + setRoleId(roleId); resetChangedOnNotNull(); } @@ -188,8 +100,8 @@ public class SysAdminRoleRecord extends UpdatableRecordImpl if (value != null) { setId(value.getId()); - setAdminid(value.getAdminid()); - setRoleid(value.getRoleid()); + setAdminId(value.getAdminId()); + setRoleId(value.getRoleId()); resetChangedOnNotNull(); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminWeidRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminWeidRecord.java deleted file mode 100644 index 53399e4..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminWeidRecord.java +++ /dev/null @@ -1,350 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import java.time.LocalDateTime; - -import jj.tech.paolu.repository.jooq.tables.SysAdminWeid; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record7; -import org.jooq.Row7; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysAdminWeidRecord extends UpdatableRecordImpl implements Record7 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.sys_admin_weid.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.sys_admin_weid.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.sys_admin_weid.admin_id. - */ - public void setAdminId(String value) { - set(1, value); - } - - /** - * Getter for public.sys_admin_weid.admin_id. - */ - public String getAdminId() { - return (String) get(1); - } - - /** - * Setter for public.sys_admin_weid.wid. - */ - public void setWid(String value) { - set(2, value); - } - - /** - * Getter for public.sys_admin_weid.wid. - */ - public String getWid() { - return (String) get(2); - } - - /** - * Setter for public.sys_admin_weid.wprivate_key. - */ - public void setWprivateKey(String value) { - set(3, value); - } - - /** - * Getter for public.sys_admin_weid.wprivate_key. - */ - public String getWprivateKey() { - return (String) get(3); - } - - /** - * Setter for public.sys_admin_weid.add_time. - */ - public void setAddTime(LocalDateTime value) { - set(4, value); - } - - /** - * Getter for public.sys_admin_weid.add_time. - */ - public LocalDateTime getAddTime() { - return (LocalDateTime) get(4); - } - - /** - * Setter for public.sys_admin_weid.certificate_hash. 存证哈希 - */ - public void setCertificateHash(String value) { - set(5, value); - } - - /** - * Getter for public.sys_admin_weid.certificate_hash. 存证哈希 - */ - public String getCertificateHash() { - return (String) get(5); - } - - /** - * Setter for public.sys_admin_weid.chain_block. - */ - public void setChainBlock(String value) { - set(6, value); - } - - /** - * Getter for public.sys_admin_weid.chain_block. - */ - public String getChainBlock() { - return (String) get(6); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record7 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - @Override - public Row7 valuesRow() { - return (Row7) super.valuesRow(); - } - - @Override - public Field field1() { - return SysAdminWeid.SYS_ADMIN_WEID.ID; - } - - @Override - public Field field2() { - return SysAdminWeid.SYS_ADMIN_WEID.ADMIN_ID; - } - - @Override - public Field field3() { - return SysAdminWeid.SYS_ADMIN_WEID.WID; - } - - @Override - public Field field4() { - return SysAdminWeid.SYS_ADMIN_WEID.WPRIVATE_KEY; - } - - @Override - public Field field5() { - return SysAdminWeid.SYS_ADMIN_WEID.ADD_TIME; - } - - @Override - public Field field6() { - return SysAdminWeid.SYS_ADMIN_WEID.CERTIFICATE_HASH; - } - - @Override - public Field field7() { - return SysAdminWeid.SYS_ADMIN_WEID.CHAIN_BLOCK; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getAdminId(); - } - - @Override - public String component3() { - return getWid(); - } - - @Override - public String component4() { - return getWprivateKey(); - } - - @Override - public LocalDateTime component5() { - return getAddTime(); - } - - @Override - public String component6() { - return getCertificateHash(); - } - - @Override - public String component7() { - return getChainBlock(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getAdminId(); - } - - @Override - public String value3() { - return getWid(); - } - - @Override - public String value4() { - return getWprivateKey(); - } - - @Override - public LocalDateTime value5() { - return getAddTime(); - } - - @Override - public String value6() { - return getCertificateHash(); - } - - @Override - public String value7() { - return getChainBlock(); - } - - @Override - public SysAdminWeidRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SysAdminWeidRecord value2(String value) { - setAdminId(value); - return this; - } - - @Override - public SysAdminWeidRecord value3(String value) { - setWid(value); - return this; - } - - @Override - public SysAdminWeidRecord value4(String value) { - setWprivateKey(value); - return this; - } - - @Override - public SysAdminWeidRecord value5(LocalDateTime value) { - setAddTime(value); - return this; - } - - @Override - public SysAdminWeidRecord value6(String value) { - setCertificateHash(value); - return this; - } - - @Override - public SysAdminWeidRecord value7(String value) { - setChainBlock(value); - return this; - } - - @Override - public SysAdminWeidRecord values(String value1, String value2, String value3, String value4, LocalDateTime value5, String value6, String value7) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SysAdminWeidRecord - */ - public SysAdminWeidRecord() { - super(SysAdminWeid.SYS_ADMIN_WEID); - } - - /** - * Create a detached, initialised SysAdminWeidRecord - */ - public SysAdminWeidRecord(String id, String adminId, String wid, String wprivateKey, LocalDateTime addTime, String certificateHash, String chainBlock) { - super(SysAdminWeid.SYS_ADMIN_WEID); - - setId(id); - setAdminId(adminId); - setWid(wid); - setWprivateKey(wprivateKey); - setAddTime(addTime); - setCertificateHash(certificateHash); - setChainBlock(chainBlock); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised SysAdminWeidRecord - */ - public SysAdminWeidRecord(jj.tech.paolu.repository.jooq.tables.pojos.SysAdminWeid value) { - super(SysAdminWeid.SYS_ADMIN_WEID); - - if (value != null) { - setId(value.getId()); - setAdminId(value.getAdminId()); - setWid(value.getWid()); - setWprivateKey(value.getWprivateKey()); - setAddTime(value.getAddTime()); - setCertificateHash(value.getCertificateHash()); - setChainBlock(value.getChainBlock()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAreaRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAreaRecord.java deleted file mode 100644 index 918a0a3..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAreaRecord.java +++ /dev/null @@ -1,348 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import jj.tech.paolu.repository.jooq.tables.SysArea; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record7; -import org.jooq.Row7; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysAreaRecord extends UpdatableRecordImpl implements Record7 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.sys_area.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.sys_area.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.sys_area.level_code. - */ - public void setLevelCode(Short value) { - set(1, value); - } - - /** - * Getter for public.sys_area.level_code. - */ - public Short getLevelCode() { - return (Short) get(1); - } - - /** - * Setter for public.sys_area.parent_code. - */ - public void setParentCode(String value) { - set(2, value); - } - - /** - * Getter for public.sys_area.parent_code. - */ - public String getParentCode() { - return (String) get(2); - } - - /** - * Setter for public.sys_area.area_code. - */ - public void setAreaCode(String value) { - set(3, value); - } - - /** - * Getter for public.sys_area.area_code. - */ - public String getAreaCode() { - return (String) get(3); - } - - /** - * Setter for public.sys_area.name. - */ - public void setName(String value) { - set(4, value); - } - - /** - * Getter for public.sys_area.name. - */ - public String getName() { - return (String) get(4); - } - - /** - * Setter for public.sys_area.pid. - */ - public void setPid(String value) { - set(5, value); - } - - /** - * Getter for public.sys_area.pid. - */ - public String getPid() { - return (String) get(5); - } - - /** - * Setter for public.sys_area.pids. - */ - public void setPids(String value) { - set(6, value); - } - - /** - * Getter for public.sys_area.pids. - */ - public String getPids() { - return (String) get(6); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record7 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - @Override - public Row7 valuesRow() { - return (Row7) super.valuesRow(); - } - - @Override - public Field field1() { - return SysArea.SYS_AREA.ID; - } - - @Override - public Field field2() { - return SysArea.SYS_AREA.LEVEL_CODE; - } - - @Override - public Field field3() { - return SysArea.SYS_AREA.PARENT_CODE; - } - - @Override - public Field field4() { - return SysArea.SYS_AREA.AREA_CODE; - } - - @Override - public Field field5() { - return SysArea.SYS_AREA.NAME; - } - - @Override - public Field field6() { - return SysArea.SYS_AREA.PID; - } - - @Override - public Field field7() { - return SysArea.SYS_AREA.PIDS; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public Short component2() { - return getLevelCode(); - } - - @Override - public String component3() { - return getParentCode(); - } - - @Override - public String component4() { - return getAreaCode(); - } - - @Override - public String component5() { - return getName(); - } - - @Override - public String component6() { - return getPid(); - } - - @Override - public String component7() { - return getPids(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public Short value2() { - return getLevelCode(); - } - - @Override - public String value3() { - return getParentCode(); - } - - @Override - public String value4() { - return getAreaCode(); - } - - @Override - public String value5() { - return getName(); - } - - @Override - public String value6() { - return getPid(); - } - - @Override - public String value7() { - return getPids(); - } - - @Override - public SysAreaRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SysAreaRecord value2(Short value) { - setLevelCode(value); - return this; - } - - @Override - public SysAreaRecord value3(String value) { - setParentCode(value); - return this; - } - - @Override - public SysAreaRecord value4(String value) { - setAreaCode(value); - return this; - } - - @Override - public SysAreaRecord value5(String value) { - setName(value); - return this; - } - - @Override - public SysAreaRecord value6(String value) { - setPid(value); - return this; - } - - @Override - public SysAreaRecord value7(String value) { - setPids(value); - return this; - } - - @Override - public SysAreaRecord values(String value1, Short value2, String value3, String value4, String value5, String value6, String value7) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SysAreaRecord - */ - public SysAreaRecord() { - super(SysArea.SYS_AREA); - } - - /** - * Create a detached, initialised SysAreaRecord - */ - public SysAreaRecord(String id, Short levelCode, String parentCode, String areaCode, String name, String pid, String pids) { - super(SysArea.SYS_AREA); - - setId(id); - setLevelCode(levelCode); - setParentCode(parentCode); - setAreaCode(areaCode); - setName(name); - setPid(pid); - setPids(pids); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised SysAreaRecord - */ - public SysAreaRecord(jj.tech.paolu.repository.jooq.tables.pojos.SysArea value) { - super(SysArea.SYS_AREA); - - if (value != null) { - setId(value.getId()); - setLevelCode(value.getLevelCode()); - setParentCode(value.getParentCode()); - setAreaCode(value.getAreaCode()); - setName(value.getName()); - setPid(value.getPid()); - setPids(value.getPids()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysConfigRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysConfigRecord.java index b1b62c1..1f89311 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysConfigRecord.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysConfigRecord.java @@ -8,10 +8,7 @@ import java.time.LocalDateTime; import jj.tech.paolu.repository.jooq.tables.SysConfig; -import org.jooq.Field; import org.jooq.Record1; -import org.jooq.Record7; -import org.jooq.Row7; import org.jooq.impl.UpdatableRecordImpl; @@ -19,103 +16,103 @@ import org.jooq.impl.UpdatableRecordImpl; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysConfigRecord extends UpdatableRecordImpl implements Record7 { +public class SysConfigRecord extends UpdatableRecordImpl { private static final long serialVersionUID = 1L; /** - * Setter for public.sys_config.id. + * Setter for yx.sys_config.id. */ public void setId(String value) { set(0, value); } /** - * Getter for public.sys_config.id. + * Getter for yx.sys_config.id. */ public String getId() { return (String) get(0); } /** - * Setter for public.sys_config.subgroup. + * Setter for yx.sys_config.subgroup. 分组 */ public void setSubgroup(String value) { set(1, value); } /** - * Getter for public.sys_config.subgroup. + * Getter for yx.sys_config.subgroup. 分组 */ public String getSubgroup() { return (String) get(1); } /** - * Setter for public.sys_config.keys. + * Setter for yx.sys_config.k. 键 */ - public void setKeys(String value) { + public void setK(String value) { set(2, value); } /** - * Getter for public.sys_config.keys. + * Getter for yx.sys_config.k. 键 */ - public String getKeys() { + public String getK() { return (String) get(2); } /** - * Setter for public.sys_config.val. + * Setter for yx.sys_config.val. 值 */ public void setVal(String value) { set(3, value); } /** - * Getter for public.sys_config.val. + * Getter for yx.sys_config.val. 值 */ public String getVal() { return (String) get(3); } /** - * Setter for public.sys_config.admin_id. + * Setter for yx.sys_config.admin_id. 管理员id */ public void setAdminId(String value) { set(4, value); } /** - * Getter for public.sys_config.admin_id. + * Getter for yx.sys_config.admin_id. 管理员id */ public String getAdminId() { return (String) get(4); } /** - * Setter for public.sys_config.adminname. + * Setter for yx.sys_config.adminname. 管理员名称 */ public void setAdminname(String value) { set(5, value); } /** - * Getter for public.sys_config.adminname. + * Getter for yx.sys_config.adminname. 管理员名称 */ public String getAdminname() { return (String) get(5); } /** - * Setter for public.sys_config.edittime. + * Setter for yx.sys_config.edittime. 最后编辑时间 */ public void setEdittime(LocalDateTime value) { set(6, value); } /** - * Getter for public.sys_config.edittime. + * Getter for yx.sys_config.edittime. 最后编辑时间 */ public LocalDateTime getEdittime() { return (LocalDateTime) get(6); @@ -130,179 +127,6 @@ public class SysConfigRecord extends UpdatableRecordImpl implem return (Record1) super.key(); } - // ------------------------------------------------------------------------- - // Record7 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - @Override - public Row7 valuesRow() { - return (Row7) super.valuesRow(); - } - - @Override - public Field field1() { - return SysConfig.SYS_CONFIG.ID; - } - - @Override - public Field field2() { - return SysConfig.SYS_CONFIG.SUBGROUP; - } - - @Override - public Field field3() { - return SysConfig.SYS_CONFIG.KEYS; - } - - @Override - public Field field4() { - return SysConfig.SYS_CONFIG.VAL; - } - - @Override - public Field field5() { - return SysConfig.SYS_CONFIG.ADMIN_ID; - } - - @Override - public Field field6() { - return SysConfig.SYS_CONFIG.ADMINNAME; - } - - @Override - public Field field7() { - return SysConfig.SYS_CONFIG.EDITTIME; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getSubgroup(); - } - - @Override - public String component3() { - return getKeys(); - } - - @Override - public String component4() { - return getVal(); - } - - @Override - public String component5() { - return getAdminId(); - } - - @Override - public String component6() { - return getAdminname(); - } - - @Override - public LocalDateTime component7() { - return getEdittime(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getSubgroup(); - } - - @Override - public String value3() { - return getKeys(); - } - - @Override - public String value4() { - return getVal(); - } - - @Override - public String value5() { - return getAdminId(); - } - - @Override - public String value6() { - return getAdminname(); - } - - @Override - public LocalDateTime value7() { - return getEdittime(); - } - - @Override - public SysConfigRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SysConfigRecord value2(String value) { - setSubgroup(value); - return this; - } - - @Override - public SysConfigRecord value3(String value) { - setKeys(value); - return this; - } - - @Override - public SysConfigRecord value4(String value) { - setVal(value); - return this; - } - - @Override - public SysConfigRecord value5(String value) { - setAdminId(value); - return this; - } - - @Override - public SysConfigRecord value6(String value) { - setAdminname(value); - return this; - } - - @Override - public SysConfigRecord value7(LocalDateTime value) { - setEdittime(value); - return this; - } - - @Override - public SysConfigRecord values(String value1, String value2, String value3, String value4, String value5, String value6, LocalDateTime value7) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - return this; - } - // ------------------------------------------------------------------------- // Constructors // ------------------------------------------------------------------------- @@ -317,12 +141,12 @@ public class SysConfigRecord extends UpdatableRecordImpl implem /** * Create a detached, initialised SysConfigRecord */ - public SysConfigRecord(String id, String subgroup, String keys, String val, String adminId, String adminname, LocalDateTime edittime) { + public SysConfigRecord(String id, String subgroup, String k, String val, String adminId, String adminname, LocalDateTime edittime) { super(SysConfig.SYS_CONFIG); setId(id); setSubgroup(subgroup); - setKeys(keys); + setK(k); setVal(val); setAdminId(adminId); setAdminname(adminname); @@ -339,7 +163,7 @@ public class SysConfigRecord extends UpdatableRecordImpl implem if (value != null) { setId(value.getId()); setSubgroup(value.getSubgroup()); - setKeys(value.getKeys()); + setK(value.getK()); setVal(value.getVal()); setAdminId(value.getAdminId()); setAdminname(value.getAdminname()); diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysMenuRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysMenuRecord.java index 926d773..edc6916 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysMenuRecord.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysMenuRecord.java @@ -6,10 +6,7 @@ package jj.tech.paolu.repository.jooq.tables.records; import jj.tech.paolu.repository.jooq.tables.SysMenu; -import org.jooq.Field; import org.jooq.Record1; -import org.jooq.Record11; -import org.jooq.Row11; import org.jooq.impl.UpdatableRecordImpl; @@ -17,164 +14,150 @@ import org.jooq.impl.UpdatableRecordImpl; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysMenuRecord extends UpdatableRecordImpl implements Record11 { +public class SysMenuRecord extends UpdatableRecordImpl { private static final long serialVersionUID = 1L; /** - * Setter for public.sys_menu.id. + * Setter for yx.sys_menu.id. */ public void setId(String value) { set(0, value); } /** - * Getter for public.sys_menu.id. + * Getter for yx.sys_menu.id. */ public String getId() { return (String) get(0); } /** - * Setter for public.sys_menu.parent_id. + * Setter for yx.sys_menu.parent_id. */ public void setParentId(String value) { set(1, value); } /** - * Getter for public.sys_menu.parent_id. + * Getter for yx.sys_menu.parent_id. */ public String getParentId() { return (String) get(1); } /** - * Setter for public.sys_menu.level. + * Setter for yx.sys_menu.level. */ public void setLevel(Integer value) { set(2, value); } /** - * Getter for public.sys_menu.level. + * Getter for yx.sys_menu.level. */ public Integer getLevel() { return (Integer) get(2); } /** - * Setter for public.sys_menu.name. + * Setter for yx.sys_menu.name. */ public void setName(String value) { set(3, value); } /** - * Getter for public.sys_menu.name. + * Getter for yx.sys_menu.name. */ public String getName() { return (String) get(3); } /** - * Setter for public.sys_menu.types. + * Setter for yx.sys_menu.types. menu,url */ public void setTypes(String value) { set(4, value); } /** - * Getter for public.sys_menu.types. + * Getter for yx.sys_menu.types. menu,url */ public String getTypes() { return (String) get(4); } /** - * Setter for public.sys_menu.url. + * Setter for yx.sys_menu.url. */ public void setUrl(String value) { set(5, value); } /** - * Getter for public.sys_menu.url. + * Getter for yx.sys_menu.url. */ public String getUrl() { return (String) get(5); } /** - * Setter for public.sys_menu.icon. + * Setter for yx.sys_menu.icon. */ public void setIcon(String value) { set(6, value); } /** - * Getter for public.sys_menu.icon. + * Getter for yx.sys_menu.icon. */ public String getIcon() { return (String) get(6); } /** - * Setter for public.sys_menu.is_open. + * Setter for yx.sys_menu.is_open. */ public void setIsOpen(Integer value) { set(7, value); } /** - * Getter for public.sys_menu.is_open. + * Getter for yx.sys_menu.is_open. */ public Integer getIsOpen() { return (Integer) get(7); } /** - * Setter for public.sys_menu.description. + * Setter for yx.sys_menu.description. */ public void setDescription(String value) { set(8, value); } /** - * Getter for public.sys_menu.description. + * Getter for yx.sys_menu.description. */ public String getDescription() { return (String) get(8); } /** - * Setter for public.sys_menu.sort. + * Setter for yx.sys_menu.sort. */ public void setSort(Integer value) { set(9, value); } /** - * Getter for public.sys_menu.sort. + * Getter for yx.sys_menu.sort. */ public Integer getSort() { return (Integer) get(9); } - /** - * Setter for public.sys_menu.parentpath. - */ - public void setParentpath(String value) { - set(10, value); - } - - /** - * Getter for public.sys_menu.parentpath. - */ - public String getParentpath() { - return (String) get(10); - } - // ------------------------------------------------------------------------- // Primary key information // ------------------------------------------------------------------------- @@ -184,267 +167,6 @@ public class SysMenuRecord extends UpdatableRecordImpl implements return (Record1) super.key(); } - // ------------------------------------------------------------------------- - // Record11 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row11 fieldsRow() { - return (Row11) super.fieldsRow(); - } - - @Override - public Row11 valuesRow() { - return (Row11) super.valuesRow(); - } - - @Override - public Field field1() { - return SysMenu.SYS_MENU.ID; - } - - @Override - public Field field2() { - return SysMenu.SYS_MENU.PARENT_ID; - } - - @Override - public Field field3() { - return SysMenu.SYS_MENU.LEVEL; - } - - @Override - public Field field4() { - return SysMenu.SYS_MENU.NAME; - } - - @Override - public Field field5() { - return SysMenu.SYS_MENU.TYPES; - } - - @Override - public Field field6() { - return SysMenu.SYS_MENU.URL; - } - - @Override - public Field field7() { - return SysMenu.SYS_MENU.ICON; - } - - @Override - public Field field8() { - return SysMenu.SYS_MENU.IS_OPEN; - } - - @Override - public Field field9() { - return SysMenu.SYS_MENU.DESCRIPTION; - } - - @Override - public Field field10() { - return SysMenu.SYS_MENU.SORT; - } - - @Override - public Field field11() { - return SysMenu.SYS_MENU.PARENTPATH; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getParentId(); - } - - @Override - public Integer component3() { - return getLevel(); - } - - @Override - public String component4() { - return getName(); - } - - @Override - public String component5() { - return getTypes(); - } - - @Override - public String component6() { - return getUrl(); - } - - @Override - public String component7() { - return getIcon(); - } - - @Override - public Integer component8() { - return getIsOpen(); - } - - @Override - public String component9() { - return getDescription(); - } - - @Override - public Integer component10() { - return getSort(); - } - - @Override - public String component11() { - return getParentpath(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getParentId(); - } - - @Override - public Integer value3() { - return getLevel(); - } - - @Override - public String value4() { - return getName(); - } - - @Override - public String value5() { - return getTypes(); - } - - @Override - public String value6() { - return getUrl(); - } - - @Override - public String value7() { - return getIcon(); - } - - @Override - public Integer value8() { - return getIsOpen(); - } - - @Override - public String value9() { - return getDescription(); - } - - @Override - public Integer value10() { - return getSort(); - } - - @Override - public String value11() { - return getParentpath(); - } - - @Override - public SysMenuRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SysMenuRecord value2(String value) { - setParentId(value); - return this; - } - - @Override - public SysMenuRecord value3(Integer value) { - setLevel(value); - return this; - } - - @Override - public SysMenuRecord value4(String value) { - setName(value); - return this; - } - - @Override - public SysMenuRecord value5(String value) { - setTypes(value); - return this; - } - - @Override - public SysMenuRecord value6(String value) { - setUrl(value); - return this; - } - - @Override - public SysMenuRecord value7(String value) { - setIcon(value); - return this; - } - - @Override - public SysMenuRecord value8(Integer value) { - setIsOpen(value); - return this; - } - - @Override - public SysMenuRecord value9(String value) { - setDescription(value); - return this; - } - - @Override - public SysMenuRecord value10(Integer value) { - setSort(value); - return this; - } - - @Override - public SysMenuRecord value11(String value) { - setParentpath(value); - return this; - } - - @Override - public SysMenuRecord values(String value1, String value2, Integer value3, String value4, String value5, String value6, String value7, Integer value8, String value9, Integer value10, String value11) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - return this; - } - // ------------------------------------------------------------------------- // Constructors // ------------------------------------------------------------------------- @@ -459,7 +181,7 @@ public class SysMenuRecord extends UpdatableRecordImpl implements /** * Create a detached, initialised SysMenuRecord */ - public SysMenuRecord(String id, String parentId, Integer level, String name, String types, String url, String icon, Integer isOpen, String description, Integer sort, String parentpath) { + public SysMenuRecord(String id, String parentId, Integer level, String name, String types, String url, String icon, Integer isOpen, String description, Integer sort) { super(SysMenu.SYS_MENU); setId(id); @@ -472,7 +194,6 @@ public class SysMenuRecord extends UpdatableRecordImpl implements setIsOpen(isOpen); setDescription(description); setSort(sort); - setParentpath(parentpath); resetChangedOnNotNull(); } @@ -493,7 +214,6 @@ public class SysMenuRecord extends UpdatableRecordImpl implements setIsOpen(value.getIsOpen()); setDescription(value.getDescription()); setSort(value.getSort()); - setParentpath(value.getParentpath()); resetChangedOnNotNull(); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysOrgRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysOrgRecord.java index 5e1910b..6bc26a9 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysOrgRecord.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysOrgRecord.java @@ -4,8 +4,6 @@ package jj.tech.paolu.repository.jooq.tables.records; -import java.time.LocalDateTime; - import jj.tech.paolu.repository.jooq.tables.SysOrg; import org.jooq.Record1; @@ -21,423 +19,59 @@ public class SysOrgRecord extends UpdatableRecordImpl { private static final long serialVersionUID = 1L; /** - * Setter for public.sys_org.id. + * Setter for yx.sys_org.id. */ public void setId(String value) { set(0, value); } /** - * Getter for public.sys_org.id. + * Getter for yx.sys_org.id. */ public String getId() { return (String) get(0); } /** - * Setter for public.sys_org.pid. + * Setter for yx.sys_org.pid. */ public void setPid(String value) { set(1, value); } /** - * Getter for public.sys_org.pid. + * Getter for yx.sys_org.pid. */ public String getPid() { return (String) get(1); } /** - * Setter for public.sys_org.chinese_simple_name. + * Setter for yx.sys_org.status. */ - public void setChineseSimpleName(String value) { + public void setStatus(Integer value) { set(2, value); } /** - * Getter for public.sys_org.chinese_simple_name. + * Getter for yx.sys_org.status. */ - public String getChineseSimpleName() { - return (String) get(2); + public Integer getStatus() { + return (Integer) get(2); } /** - * Setter for public.sys_org.english_simple_name. + * Setter for yx.sys_org.org_type. */ - public void setEnglishSimpleName(String value) { + public void setOrgType(String value) { set(3, value); } /** - * Getter for public.sys_org.english_simple_name. - */ - public String getEnglishSimpleName() { - return (String) get(3); - } - - /** - * Setter for public.sys_org.chinese_full_name. - */ - public void setChineseFullName(String value) { - set(4, value); - } - - /** - * Getter for public.sys_org.chinese_full_name. - */ - public String getChineseFullName() { - return (String) get(4); - } - - /** - * Setter for public.sys_org.english_full_name. - */ - public void setEnglishFullName(String value) { - set(5, value); - } - - /** - * Getter for public.sys_org.english_full_name. - */ - public String getEnglishFullName() { - return (String) get(5); - } - - /** - * Setter for public.sys_org.code. - */ - public void setCode(String value) { - set(6, value); - } - - /** - * Getter for public.sys_org.code. - */ - public String getCode() { - return (String) get(6); - } - - /** - * Setter for public.sys_org.sort. - */ - public void setSort(Integer value) { - set(7, value); - } - - /** - * Getter for public.sys_org.sort. - */ - public Integer getSort() { - return (Integer) get(7); - } - - /** - * Setter for public.sys_org.status. - */ - public void setStatus(Integer value) { - set(8, value); - } - - /** - * Getter for public.sys_org.status. - */ - public Integer getStatus() { - return (Integer) get(8); - } - - /** - * Setter for public.sys_org.is_company_department. - */ - public void setIsCompanyDepartment(Integer value) { - set(9, value); - } - - /** - * Getter for public.sys_org.is_company_department. - */ - public Integer getIsCompanyDepartment() { - return (Integer) get(9); - } - - /** - * Setter for public.sys_org.enterprise_legal_person. - */ - public void setEnterpriseLegalPerson(String value) { - set(10, value); - } - - /** - * Getter for public.sys_org.enterprise_legal_person. - */ - public String getEnterpriseLegalPerson() { - return (String) get(10); - } - - /** - * Setter for public.sys_org.contact_person. - */ - public void setContactPerson(String value) { - set(11, value); - } - - /** - * Getter for public.sys_org.contact_person. - */ - public String getContactPerson() { - return (String) get(11); - } - - /** - * Setter for public.sys_org.contact_phone. - */ - public void setContactPhone(String value) { - set(12, value); - } - - /** - * Getter for public.sys_org.contact_phone. - */ - public String getContactPhone() { - return (String) get(12); - } - - /** - * Setter for public.sys_org.remark. - */ - public void setRemark(String value) { - set(13, value); - } - - /** - * Getter for public.sys_org.remark. - */ - public String getRemark() { - return (String) get(13); - } - - /** - * Setter for public.sys_org.create_time. - */ - public void setCreateTime(LocalDateTime value) { - set(14, value); - } - - /** - * Getter for public.sys_org.create_time. - */ - public LocalDateTime getCreateTime() { - return (LocalDateTime) get(14); - } - - /** - * Setter for public.sys_org.create_user. - */ - public void setCreateUser(String value) { - set(15, value); - } - - /** - * Getter for public.sys_org.create_user. - */ - public String getCreateUser() { - return (String) get(15); - } - - /** - * Setter for public.sys_org.update_time. - */ - public void setUpdateTime(LocalDateTime value) { - set(16, value); - } - - /** - * Getter for public.sys_org.update_time. - */ - public LocalDateTime getUpdateTime() { - return (LocalDateTime) get(16); - } - - /** - * Setter for public.sys_org.update_user. - */ - public void setUpdateUser(String value) { - set(17, value); - } - - /** - * Getter for public.sys_org.update_user. - */ - public String getUpdateUser() { - return (String) get(17); - } - - /** - * Setter for public.sys_org.name. - */ - public void setName(String value) { - set(18, value); - } - - /** - * Getter for public.sys_org.name. - */ - public String getName() { - return (String) get(18); - } - - /** - * Setter for public.sys_org.industry_name. - */ - public void setIndustryName(String value) { - set(19, value); - } - - /** - * Getter for public.sys_org.industry_name. - */ - public String getIndustryName() { - return (String) get(19); - } - - /** - * Setter for public.sys_org.industry_code. - */ - public void setIndustryCode(String value) { - set(20, value); - } - - /** - * Getter for public.sys_org.industry_code. - */ - public String getIndustryCode() { - return (String) get(20); - } - - /** - * Setter for public.sys_org.province_code. - */ - public void setProvinceCode(String value) { - set(21, value); - } - - /** - * Getter for public.sys_org.province_code. - */ - public String getProvinceCode() { - return (String) get(21); - } - - /** - * Setter for public.sys_org.city_code. - */ - public void setCityCode(String value) { - set(22, value); - } - - /** - * Getter for public.sys_org.city_code. - */ - public String getCityCode() { - return (String) get(22); - } - - /** - * Setter for public.sys_org.area_code. - */ - public void setAreaCode(String value) { - set(23, value); - } - - /** - * Getter for public.sys_org.area_code. - */ - public String getAreaCode() { - return (String) get(23); - } - - /** - * Setter for public.sys_org.addr. - */ - public void setAddr(String value) { - set(24, value); - } - - /** - * Getter for public.sys_org.addr. - */ - public String getAddr() { - return (String) get(24); - } - - /** - * Setter for public.sys_org.uscc. - */ - public void setUscc(String value) { - set(25, value); - } - - /** - * Getter for public.sys_org.uscc. - */ - public String getUscc() { - return (String) get(25); - } - - /** - * Setter for public.sys_org.org_type. - */ - public void setOrgType(String value) { - set(26, value); - } - - /** - * Getter for public.sys_org.org_type. + * Getter for yx.sys_org.org_type. */ public String getOrgType() { - return (String) get(26); - } - - /** - * Setter for public.sys_org.is_archives_dep. - */ - public void setIsArchivesDep(Integer value) { - set(27, value); - } - - /** - * Getter for public.sys_org.is_archives_dep. - */ - public Integer getIsArchivesDep() { - return (Integer) get(27); - } - - /** - * Setter for public.sys_org.cer_id. - */ - public void setCerId(String value) { - set(28, value); - } - - /** - * Getter for public.sys_org.cer_id. - */ - public String getCerId() { - return (String) get(28); - } - - /** - * Setter for public.sys_org.is_forbidden. - */ - public void setIsForbidden(Integer value) { - set(29, value); - } - - /** - * Getter for public.sys_org.is_forbidden. - */ - public Integer getIsForbidden() { - return (Integer) get(29); + return (String) get(3); } // ------------------------------------------------------------------------- @@ -463,39 +97,13 @@ public class SysOrgRecord extends UpdatableRecordImpl { /** * Create a detached, initialised SysOrgRecord */ - public SysOrgRecord(String id, String pid, String chineseSimpleName, String englishSimpleName, String chineseFullName, String englishFullName, String code, Integer sort, Integer status, Integer isCompanyDepartment, String enterpriseLegalPerson, String contactPerson, String contactPhone, String remark, LocalDateTime createTime, String createUser, LocalDateTime updateTime, String updateUser, String name, String industryName, String industryCode, String provinceCode, String cityCode, String areaCode, String addr, String uscc, String orgType, Integer isArchivesDep, String cerId, Integer isForbidden) { + public SysOrgRecord(String id, String pid, Integer status, String orgType) { super(SysOrg.SYS_ORG); setId(id); setPid(pid); - setChineseSimpleName(chineseSimpleName); - setEnglishSimpleName(englishSimpleName); - setChineseFullName(chineseFullName); - setEnglishFullName(englishFullName); - setCode(code); - setSort(sort); setStatus(status); - setIsCompanyDepartment(isCompanyDepartment); - setEnterpriseLegalPerson(enterpriseLegalPerson); - setContactPerson(contactPerson); - setContactPhone(contactPhone); - setRemark(remark); - setCreateTime(createTime); - setCreateUser(createUser); - setUpdateTime(updateTime); - setUpdateUser(updateUser); - setName(name); - setIndustryName(industryName); - setIndustryCode(industryCode); - setProvinceCode(provinceCode); - setCityCode(cityCode); - setAreaCode(areaCode); - setAddr(addr); - setUscc(uscc); setOrgType(orgType); - setIsArchivesDep(isArchivesDep); - setCerId(cerId); - setIsForbidden(isForbidden); resetChangedOnNotNull(); } @@ -508,34 +116,8 @@ public class SysOrgRecord extends UpdatableRecordImpl { if (value != null) { setId(value.getId()); setPid(value.getPid()); - setChineseSimpleName(value.getChineseSimpleName()); - setEnglishSimpleName(value.getEnglishSimpleName()); - setChineseFullName(value.getChineseFullName()); - setEnglishFullName(value.getEnglishFullName()); - setCode(value.getCode()); - setSort(value.getSort()); setStatus(value.getStatus()); - setIsCompanyDepartment(value.getIsCompanyDepartment()); - setEnterpriseLegalPerson(value.getEnterpriseLegalPerson()); - setContactPerson(value.getContactPerson()); - setContactPhone(value.getContactPhone()); - setRemark(value.getRemark()); - setCreateTime(value.getCreateTime()); - setCreateUser(value.getCreateUser()); - setUpdateTime(value.getUpdateTime()); - setUpdateUser(value.getUpdateUser()); - setName(value.getName()); - setIndustryName(value.getIndustryName()); - setIndustryCode(value.getIndustryCode()); - setProvinceCode(value.getProvinceCode()); - setCityCode(value.getCityCode()); - setAreaCode(value.getAreaCode()); - setAddr(value.getAddr()); - setUscc(value.getUscc()); setOrgType(value.getOrgType()); - setIsArchivesDep(value.getIsArchivesDep()); - setCerId(value.getCerId()); - setIsForbidden(value.getIsForbidden()); resetChangedOnNotNull(); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysResourceRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysResourceRecord.java new file mode 100644 index 0000000..3214378 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysResourceRecord.java @@ -0,0 +1,204 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.records; + + +import jj.tech.paolu.repository.jooq.tables.SysResource; + +import org.jooq.Record1; +import org.jooq.impl.UpdatableRecordImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SysResourceRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for yx.sys_resource.id. + */ + public void setId(String value) { + set(0, value); + } + + /** + * Getter for yx.sys_resource.id. + */ + public String getId() { + return (String) get(0); + } + + /** + * Setter for yx.sys_resource.parent_id. + */ + public void setParentId(String value) { + set(1, value); + } + + /** + * Getter for yx.sys_resource.parent_id. + */ + public String getParentId() { + return (String) get(1); + } + + /** + * Setter for yx.sys_resource.level. 菜单排列顺序 + */ + public void setLevel(Short value) { + set(2, value); + } + + /** + * Getter for yx.sys_resource.level. 菜单排列顺序 + */ + public Short getLevel() { + return (Short) get(2); + } + + /** + * Setter for yx.sys_resource.name. + */ + public void setName(String value) { + set(3, value); + } + + /** + * Getter for yx.sys_resource.name. + */ + public String getName() { + return (String) get(3); + } + + /** + * Setter for yx.sys_resource.types. 资源类型 + */ + public void setTypes(String value) { + set(4, value); + } + + /** + * Getter for yx.sys_resource.types. 资源类型 + */ + public String getTypes() { + return (String) get(4); + } + + /** + * Setter for yx.sys_resource.url. + */ + public void setUrl(String value) { + set(5, value); + } + + /** + * Getter for yx.sys_resource.url. + */ + public String getUrl() { + return (String) get(5); + } + + /** + * Setter for yx.sys_resource.icon. 菜单图标 + */ + public void setIcon(String value) { + set(6, value); + } + + /** + * Getter for yx.sys_resource.icon. 菜单图标 + */ + public String getIcon() { + return (String) get(6); + } + + /** + * Setter for yx.sys_resource.ishide. 是否折叠隐藏 + */ + public void setIshide(Byte value) { + set(7, value); + } + + /** + * Getter for yx.sys_resource.ishide. 是否折叠隐藏 + */ + public Byte getIshide() { + return (Byte) get(7); + } + + /** + * Setter for yx.sys_resource.description. + */ + public void setDescription(String value) { + set(8, value); + } + + /** + * Getter for yx.sys_resource.description. + */ + public String getDescription() { + return (String) get(8); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached SysResourceRecord + */ + public SysResourceRecord() { + super(SysResource.SYS_RESOURCE); + } + + /** + * Create a detached, initialised SysResourceRecord + */ + public SysResourceRecord(String id, String parentId, Short level, String name, String types, String url, String icon, Byte ishide, String description) { + super(SysResource.SYS_RESOURCE); + + setId(id); + setParentId(parentId); + setLevel(level); + setName(name); + setTypes(types); + setUrl(url); + setIcon(icon); + setIshide(ishide); + setDescription(description); + resetChangedOnNotNull(); + } + + /** + * Create a detached, initialised SysResourceRecord + */ + public SysResourceRecord(jj.tech.paolu.repository.jooq.tables.pojos.SysResource value) { + super(SysResource.SYS_RESOURCE); + + if (value != null) { + setId(value.getId()); + setParentId(value.getParentId()); + setLevel(value.getLevel()); + setName(value.getName()); + setTypes(value.getTypes()); + setUrl(value.getUrl()); + setIcon(value.getIcon()); + setIshide(value.getIshide()); + setDescription(value.getDescription()); + resetChangedOnNotNull(); + } + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleMenuRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleMenuRecord.java deleted file mode 100644 index efe8c04..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleMenuRecord.java +++ /dev/null @@ -1,196 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import jj.tech.paolu.repository.jooq.tables.SysRoleMenu; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record3; -import org.jooq.Row3; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysRoleMenuRecord extends UpdatableRecordImpl implements Record3 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.sys_role_menu.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.sys_role_menu.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.sys_role_menu.roleid. - */ - public void setRoleid(String value) { - set(1, value); - } - - /** - * Getter for public.sys_role_menu.roleid. - */ - public String getRoleid() { - return (String) get(1); - } - - /** - * Setter for public.sys_role_menu.menuid. - */ - public void setMenuid(String value) { - set(2, value); - } - - /** - * Getter for public.sys_role_menu.menuid. - */ - public String getMenuid() { - return (String) get(2); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record3 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } - - @Override - public Row3 valuesRow() { - return (Row3) super.valuesRow(); - } - - @Override - public Field field1() { - return SysRoleMenu.SYS_ROLE_MENU.ID; - } - - @Override - public Field field2() { - return SysRoleMenu.SYS_ROLE_MENU.ROLEID; - } - - @Override - public Field field3() { - return SysRoleMenu.SYS_ROLE_MENU.MENUID; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getRoleid(); - } - - @Override - public String component3() { - return getMenuid(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getRoleid(); - } - - @Override - public String value3() { - return getMenuid(); - } - - @Override - public SysRoleMenuRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SysRoleMenuRecord value2(String value) { - setRoleid(value); - return this; - } - - @Override - public SysRoleMenuRecord value3(String value) { - setMenuid(value); - return this; - } - - @Override - public SysRoleMenuRecord values(String value1, String value2, String value3) { - value1(value1); - value2(value2); - value3(value3); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SysRoleMenuRecord - */ - public SysRoleMenuRecord() { - super(SysRoleMenu.SYS_ROLE_MENU); - } - - /** - * Create a detached, initialised SysRoleMenuRecord - */ - public SysRoleMenuRecord(String id, String roleid, String menuid) { - super(SysRoleMenu.SYS_ROLE_MENU); - - setId(id); - setRoleid(roleid); - setMenuid(menuid); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised SysRoleMenuRecord - */ - public SysRoleMenuRecord(jj.tech.paolu.repository.jooq.tables.pojos.SysRoleMenu value) { - super(SysRoleMenu.SYS_ROLE_MENU); - - if (value != null) { - setId(value.getId()); - setRoleid(value.getRoleid()); - setMenuid(value.getMenuid()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleRecord.java index 43b69cb..6603f9f 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleRecord.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleRecord.java @@ -6,10 +6,7 @@ package jj.tech.paolu.repository.jooq.tables.records; import jj.tech.paolu.repository.jooq.tables.SysRole; -import org.jooq.Field; import org.jooq.Record1; -import org.jooq.Record9; -import org.jooq.Row9; import org.jooq.impl.UpdatableRecordImpl; @@ -17,136 +14,52 @@ import org.jooq.impl.UpdatableRecordImpl; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysRoleRecord extends UpdatableRecordImpl implements Record9 { +public class SysRoleRecord extends UpdatableRecordImpl { private static final long serialVersionUID = 1L; /** - * Setter for public.sys_role.id. + * Setter for yx.sys_role.id. */ public void setId(String value) { set(0, value); } /** - * Getter for public.sys_role.id. + * Getter for yx.sys_role.id. */ public String getId() { return (String) get(0); } /** - * Setter for public.sys_role.rolename. + * Setter for yx.sys_role.rolename. */ public void setRolename(String value) { set(1, value); } /** - * Getter for public.sys_role.rolename. + * Getter for yx.sys_role.rolename. */ public String getRolename() { return (String) get(1); } /** - * Setter for public.sys_role.describe. + * Setter for yx.sys_role.department. */ - public void setDescribe(String value) { + public void setDepartment(String value) { set(2, value); } /** - * Getter for public.sys_role.describe. + * Getter for yx.sys_role.department. */ - public String getDescribe() { + public String getDepartment() { return (String) get(2); } - /** - * Setter for public.sys_role.sort. - */ - public void setSort(Integer value) { - set(3, value); - } - - /** - * Getter for public.sys_role.sort. - */ - public Integer getSort() { - return (Integer) get(3); - } - - /** - * Setter for public.sys_role.is_open. - */ - public void setIsOpen(Integer value) { - set(4, value); - } - - /** - * Getter for public.sys_role.is_open. - */ - public Integer getIsOpen() { - return (Integer) get(4); - } - - /** - * Setter for public.sys_role.sign_name. - */ - public void setSignName(String value) { - set(5, value); - } - - /** - * Getter for public.sys_role.sign_name. - */ - public String getSignName() { - return (String) get(5); - } - - /** - * Setter for public.sys_role.sign_id. - */ - public void setSignId(String value) { - set(6, value); - } - - /** - * Getter for public.sys_role.sign_id. - */ - public String getSignId() { - return (String) get(6); - } - - /** - * Setter for public.sys_role.company_id. - */ - public void setCompanyId(String value) { - set(7, value); - } - - /** - * Getter for public.sys_role.company_id. - */ - public String getCompanyId() { - return (String) get(7); - } - - /** - * Setter for public.sys_role.company_name. - */ - public void setCompanyName(String value) { - set(8, value); - } - - /** - * Getter for public.sys_role.company_name. - */ - public String getCompanyName() { - return (String) get(8); - } - // ------------------------------------------------------------------------- // Primary key information // ------------------------------------------------------------------------- @@ -156,223 +69,6 @@ public class SysRoleRecord extends UpdatableRecordImpl implements return (Record1) super.key(); } - // ------------------------------------------------------------------------- - // Record9 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row9 fieldsRow() { - return (Row9) super.fieldsRow(); - } - - @Override - public Row9 valuesRow() { - return (Row9) super.valuesRow(); - } - - @Override - public Field field1() { - return SysRole.SYS_ROLE.ID; - } - - @Override - public Field field2() { - return SysRole.SYS_ROLE.ROLENAME; - } - - @Override - public Field field3() { - return SysRole.SYS_ROLE.DESCRIBE; - } - - @Override - public Field field4() { - return SysRole.SYS_ROLE.SORT; - } - - @Override - public Field field5() { - return SysRole.SYS_ROLE.IS_OPEN; - } - - @Override - public Field field6() { - return SysRole.SYS_ROLE.SIGN_NAME; - } - - @Override - public Field field7() { - return SysRole.SYS_ROLE.SIGN_ID; - } - - @Override - public Field field8() { - return SysRole.SYS_ROLE.COMPANY_ID; - } - - @Override - public Field field9() { - return SysRole.SYS_ROLE.COMPANY_NAME; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getRolename(); - } - - @Override - public String component3() { - return getDescribe(); - } - - @Override - public Integer component4() { - return getSort(); - } - - @Override - public Integer component5() { - return getIsOpen(); - } - - @Override - public String component6() { - return getSignName(); - } - - @Override - public String component7() { - return getSignId(); - } - - @Override - public String component8() { - return getCompanyId(); - } - - @Override - public String component9() { - return getCompanyName(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getRolename(); - } - - @Override - public String value3() { - return getDescribe(); - } - - @Override - public Integer value4() { - return getSort(); - } - - @Override - public Integer value5() { - return getIsOpen(); - } - - @Override - public String value6() { - return getSignName(); - } - - @Override - public String value7() { - return getSignId(); - } - - @Override - public String value8() { - return getCompanyId(); - } - - @Override - public String value9() { - return getCompanyName(); - } - - @Override - public SysRoleRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SysRoleRecord value2(String value) { - setRolename(value); - return this; - } - - @Override - public SysRoleRecord value3(String value) { - setDescribe(value); - return this; - } - - @Override - public SysRoleRecord value4(Integer value) { - setSort(value); - return this; - } - - @Override - public SysRoleRecord value5(Integer value) { - setIsOpen(value); - return this; - } - - @Override - public SysRoleRecord value6(String value) { - setSignName(value); - return this; - } - - @Override - public SysRoleRecord value7(String value) { - setSignId(value); - return this; - } - - @Override - public SysRoleRecord value8(String value) { - setCompanyId(value); - return this; - } - - @Override - public SysRoleRecord value9(String value) { - setCompanyName(value); - return this; - } - - @Override - public SysRoleRecord values(String value1, String value2, String value3, Integer value4, Integer value5, String value6, String value7, String value8, String value9) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - return this; - } - // ------------------------------------------------------------------------- // Constructors // ------------------------------------------------------------------------- @@ -387,18 +83,12 @@ public class SysRoleRecord extends UpdatableRecordImpl implements /** * Create a detached, initialised SysRoleRecord */ - public SysRoleRecord(String id, String rolename, String describe, Integer sort, Integer isOpen, String signName, String signId, String companyId, String companyName) { + public SysRoleRecord(String id, String rolename, String department) { super(SysRole.SYS_ROLE); setId(id); setRolename(rolename); - setDescribe(describe); - setSort(sort); - setIsOpen(isOpen); - setSignName(signName); - setSignId(signId); - setCompanyId(companyId); - setCompanyName(companyName); + setDepartment(department); resetChangedOnNotNull(); } @@ -411,13 +101,7 @@ public class SysRoleRecord extends UpdatableRecordImpl implements if (value != null) { setId(value.getId()); setRolename(value.getRolename()); - setDescribe(value.getDescribe()); - setSort(value.getSort()); - setIsOpen(value.getIsOpen()); - setSignName(value.getSignName()); - setSignId(value.getSignId()); - setCompanyId(value.getCompanyId()); - setCompanyName(value.getCompanyName()); + setDepartment(value.getDepartment()); resetChangedOnNotNull(); } } diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleResourceRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleResourceRecord.java new file mode 100644 index 0000000..dcd0ea6 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleResourceRecord.java @@ -0,0 +1,108 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.records; + + +import jj.tech.paolu.repository.jooq.tables.SysRoleResource; + +import org.jooq.Record2; +import org.jooq.impl.UpdatableRecordImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SysRoleResourceRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for yx.sys_role_resource.id. + */ + public void setId(String value) { + set(0, value); + } + + /** + * Getter for yx.sys_role_resource.id. + */ + public String getId() { + return (String) get(0); + } + + /** + * Setter for yx.sys_role_resource.roleid. + */ + public void setRoleid(String value) { + set(1, value); + } + + /** + * Getter for yx.sys_role_resource.roleid. + */ + public String getRoleid() { + return (String) get(1); + } + + /** + * Setter for yx.sys_role_resource.resid. + */ + public void setResid(String value) { + set(2, value); + } + + /** + * Getter for yx.sys_role_resource.resid. + */ + public String getResid() { + return (String) get(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record2 key() { + return (Record2) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached SysRoleResourceRecord + */ + public SysRoleResourceRecord() { + super(SysRoleResource.SYS_ROLE_RESOURCE); + } + + /** + * Create a detached, initialised SysRoleResourceRecord + */ + public SysRoleResourceRecord(String id, String roleid, String resid) { + super(SysRoleResource.SYS_ROLE_RESOURCE); + + setId(id); + setRoleid(roleid); + setResid(resid); + resetChangedOnNotNull(); + } + + /** + * Create a detached, initialised SysRoleResourceRecord + */ + public SysRoleResourceRecord(jj.tech.paolu.repository.jooq.tables.pojos.SysRoleResource value) { + super(SysRoleResource.SYS_ROLE_RESOURCE); + + if (value != null) { + setId(value.getId()); + setRoleid(value.getRoleid()); + setResid(value.getResid()); + resetChangedOnNotNull(); + } + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleSignRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleSignRecord.java deleted file mode 100644 index e969247..0000000 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleSignRecord.java +++ /dev/null @@ -1,196 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package jj.tech.paolu.repository.jooq.tables.records; - - -import jj.tech.paolu.repository.jooq.tables.SysRoleSign; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record3; -import org.jooq.Row3; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysRoleSignRecord extends UpdatableRecordImpl implements Record3 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.sys_role_sign.id. - */ - public void setId(String value) { - set(0, value); - } - - /** - * Getter for public.sys_role_sign.id. - */ - public String getId() { - return (String) get(0); - } - - /** - * Setter for public.sys_role_sign.sign_name. - */ - public void setSignName(String value) { - set(1, value); - } - - /** - * Getter for public.sys_role_sign.sign_name. - */ - public String getSignName() { - return (String) get(1); - } - - /** - * Setter for public.sys_role_sign.sign_code. - */ - public void setSignCode(String value) { - set(2, value); - } - - /** - * Getter for public.sys_role_sign.sign_code. - */ - public String getSignCode() { - return (String) get(2); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record3 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } - - @Override - public Row3 valuesRow() { - return (Row3) super.valuesRow(); - } - - @Override - public Field field1() { - return SysRoleSign.SYS_ROLE_SIGN.ID; - } - - @Override - public Field field2() { - return SysRoleSign.SYS_ROLE_SIGN.SIGN_NAME; - } - - @Override - public Field field3() { - return SysRoleSign.SYS_ROLE_SIGN.SIGN_CODE; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getSignName(); - } - - @Override - public String component3() { - return getSignCode(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getSignName(); - } - - @Override - public String value3() { - return getSignCode(); - } - - @Override - public SysRoleSignRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SysRoleSignRecord value2(String value) { - setSignName(value); - return this; - } - - @Override - public SysRoleSignRecord value3(String value) { - setSignCode(value); - return this; - } - - @Override - public SysRoleSignRecord values(String value1, String value2, String value3) { - value1(value1); - value2(value2); - value3(value3); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SysRoleSignRecord - */ - public SysRoleSignRecord() { - super(SysRoleSign.SYS_ROLE_SIGN); - } - - /** - * Create a detached, initialised SysRoleSignRecord - */ - public SysRoleSignRecord(String id, String signName, String signCode) { - super(SysRoleSign.SYS_ROLE_SIGN); - - setId(id); - setSignName(signName); - setSignCode(signCode); - resetChangedOnNotNull(); - } - - /** - * Create a detached, initialised SysRoleSignRecord - */ - public SysRoleSignRecord(jj.tech.paolu.repository.jooq.tables.pojos.SysRoleSign value) { - super(SysRoleSign.SYS_ROLE_SIGN); - - if (value != null) { - setId(value.getId()); - setSignName(value.getSignName()); - setSignCode(value.getSignCode()); - resetChangedOnNotNull(); - } - } -} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleUrlRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleUrlRecord.java index b027a8f..ce20b48 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleUrlRecord.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysRoleUrlRecord.java @@ -6,10 +6,7 @@ package jj.tech.paolu.repository.jooq.tables.records; import jj.tech.paolu.repository.jooq.tables.SysRoleUrl; -import org.jooq.Field; import org.jooq.Record1; -import org.jooq.Record4; -import org.jooq.Row4; import org.jooq.impl.UpdatableRecordImpl; @@ -17,61 +14,61 @@ import org.jooq.impl.UpdatableRecordImpl; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysRoleUrlRecord extends UpdatableRecordImpl implements Record4 { +public class SysRoleUrlRecord extends UpdatableRecordImpl { private static final long serialVersionUID = 1L; /** - * Setter for public.sys_role_url.id. + * Setter for yx.sys_role_url.id. */ public void setId(String value) { set(0, value); } /** - * Getter for public.sys_role_url.id. + * Getter for yx.sys_role_url.id. */ public String getId() { return (String) get(0); } /** - * Setter for public.sys_role_url.roleid. + * Setter for yx.sys_role_url.roleid. */ public void setRoleid(String value) { set(1, value); } /** - * Getter for public.sys_role_url.roleid. + * Getter for yx.sys_role_url.roleid. */ public String getRoleid() { return (String) get(1); } /** - * Setter for public.sys_role_url.url. + * Setter for yx.sys_role_url.url. 对应sys_urls的url */ public void setUrl(String value) { set(2, value); } /** - * Getter for public.sys_role_url.url. + * Getter for yx.sys_role_url.url. 对应sys_urls的url */ public String getUrl() { return (String) get(2); } /** - * Setter for public.sys_role_url.urltypes. + * Setter for yx.sys_role_url.urltypes. 1:url,2:菜单 */ public void setUrltypes(Integer value) { set(3, value); } /** - * Getter for public.sys_role_url.urltypes. + * Getter for yx.sys_role_url.urltypes. 1:url,2:菜单 */ public Integer getUrltypes() { return (Integer) get(3); @@ -86,113 +83,6 @@ public class SysRoleUrlRecord extends UpdatableRecordImpl impl return (Record1) super.key(); } - // ------------------------------------------------------------------------- - // Record4 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row4 fieldsRow() { - return (Row4) super.fieldsRow(); - } - - @Override - public Row4 valuesRow() { - return (Row4) super.valuesRow(); - } - - @Override - public Field field1() { - return SysRoleUrl.SYS_ROLE_URL.ID; - } - - @Override - public Field field2() { - return SysRoleUrl.SYS_ROLE_URL.ROLEID; - } - - @Override - public Field field3() { - return SysRoleUrl.SYS_ROLE_URL.URL; - } - - @Override - public Field field4() { - return SysRoleUrl.SYS_ROLE_URL.URLTYPES; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getRoleid(); - } - - @Override - public String component3() { - return getUrl(); - } - - @Override - public Integer component4() { - return getUrltypes(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getRoleid(); - } - - @Override - public String value3() { - return getUrl(); - } - - @Override - public Integer value4() { - return getUrltypes(); - } - - @Override - public SysRoleUrlRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SysRoleUrlRecord value2(String value) { - setRoleid(value); - return this; - } - - @Override - public SysRoleUrlRecord value3(String value) { - setUrl(value); - return this; - } - - @Override - public SysRoleUrlRecord value4(Integer value) { - setUrltypes(value); - return this; - } - - @Override - public SysRoleUrlRecord values(String value1, String value2, String value3, Integer value4) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - return this; - } - // ------------------------------------------------------------------------- // Constructors // ------------------------------------------------------------------------- diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysUrlsRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysUrlsRecord.java index 623785a..744d14c 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysUrlsRecord.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysUrlsRecord.java @@ -6,10 +6,7 @@ package jj.tech.paolu.repository.jooq.tables.records; import jj.tech.paolu.repository.jooq.tables.SysUrls; -import org.jooq.Field; import org.jooq.Record1; -import org.jooq.Record7; -import org.jooq.Row7; import org.jooq.impl.UpdatableRecordImpl; @@ -17,103 +14,103 @@ import org.jooq.impl.UpdatableRecordImpl; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysUrlsRecord extends UpdatableRecordImpl implements Record7 { +public class SysUrlsRecord extends UpdatableRecordImpl { private static final long serialVersionUID = 1L; /** - * Setter for public.sys_urls.id. + * Setter for yx.sys_urls.id. */ public void setId(String value) { set(0, value); } /** - * Getter for public.sys_urls.id. + * Getter for yx.sys_urls.id. */ public String getId() { return (String) get(0); } /** - * Setter for public.sys_urls.pid. + * Setter for yx.sys_urls.pid. 父类id */ - public void setPid(String value) { + public void setPid(Integer value) { set(1, value); } /** - * Getter for public.sys_urls.pid. + * Getter for yx.sys_urls.pid. 父类id */ - public String getPid() { - return (String) get(1); + public Integer getPid() { + return (Integer) get(1); } /** - * Setter for public.sys_urls.types. + * Setter for yx.sys_urls.types. 1:url,2:菜单 */ public void setTypes(Integer value) { set(2, value); } /** - * Getter for public.sys_urls.types. + * Getter for yx.sys_urls.types. 1:url,2:菜单 */ public Integer getTypes() { return (Integer) get(2); } /** - * Setter for public.sys_urls.level. + * Setter for yx.sys_urls.level. 0:url,1:一级菜单, 2:二级菜单 */ public void setLevel(Integer value) { set(3, value); } /** - * Getter for public.sys_urls.level. + * Getter for yx.sys_urls.level. 0:url,1:一级菜单, 2:二级菜单 */ public Integer getLevel() { return (Integer) get(3); } /** - * Setter for public.sys_urls.url. + * Setter for yx.sys_urls.url. */ public void setUrl(String value) { set(4, value); } /** - * Getter for public.sys_urls.url. + * Getter for yx.sys_urls.url. */ public String getUrl() { return (String) get(4); } /** - * Setter for public.sys_urls.name. + * Setter for yx.sys_urls.name. */ public void setName(String value) { set(5, value); } /** - * Getter for public.sys_urls.name. + * Getter for yx.sys_urls.name. */ public String getName() { return (String) get(5); } /** - * Setter for public.sys_urls.method. + * Setter for yx.sys_urls.method. */ public void setMethod(String value) { set(6, value); } /** - * Getter for public.sys_urls.method. + * Getter for yx.sys_urls.method. */ public String getMethod() { return (String) get(6); @@ -128,179 +125,6 @@ public class SysUrlsRecord extends UpdatableRecordImpl implements return (Record1) super.key(); } - // ------------------------------------------------------------------------- - // Record7 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - @Override - public Row7 valuesRow() { - return (Row7) super.valuesRow(); - } - - @Override - public Field field1() { - return SysUrls.SYS_URLS.ID; - } - - @Override - public Field field2() { - return SysUrls.SYS_URLS.PID; - } - - @Override - public Field field3() { - return SysUrls.SYS_URLS.TYPES; - } - - @Override - public Field field4() { - return SysUrls.SYS_URLS.LEVEL; - } - - @Override - public Field field5() { - return SysUrls.SYS_URLS.URL; - } - - @Override - public Field field6() { - return SysUrls.SYS_URLS.NAME; - } - - @Override - public Field field7() { - return SysUrls.SYS_URLS.METHOD; - } - - @Override - public String component1() { - return getId(); - } - - @Override - public String component2() { - return getPid(); - } - - @Override - public Integer component3() { - return getTypes(); - } - - @Override - public Integer component4() { - return getLevel(); - } - - @Override - public String component5() { - return getUrl(); - } - - @Override - public String component6() { - return getName(); - } - - @Override - public String component7() { - return getMethod(); - } - - @Override - public String value1() { - return getId(); - } - - @Override - public String value2() { - return getPid(); - } - - @Override - public Integer value3() { - return getTypes(); - } - - @Override - public Integer value4() { - return getLevel(); - } - - @Override - public String value5() { - return getUrl(); - } - - @Override - public String value6() { - return getName(); - } - - @Override - public String value7() { - return getMethod(); - } - - @Override - public SysUrlsRecord value1(String value) { - setId(value); - return this; - } - - @Override - public SysUrlsRecord value2(String value) { - setPid(value); - return this; - } - - @Override - public SysUrlsRecord value3(Integer value) { - setTypes(value); - return this; - } - - @Override - public SysUrlsRecord value4(Integer value) { - setLevel(value); - return this; - } - - @Override - public SysUrlsRecord value5(String value) { - setUrl(value); - return this; - } - - @Override - public SysUrlsRecord value6(String value) { - setName(value); - return this; - } - - @Override - public SysUrlsRecord value7(String value) { - setMethod(value); - return this; - } - - @Override - public SysUrlsRecord values(String value1, String value2, Integer value3, Integer value4, String value5, String value6, String value7) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - return this; - } - // ------------------------------------------------------------------------- // Constructors // ------------------------------------------------------------------------- @@ -315,7 +139,7 @@ public class SysUrlsRecord extends UpdatableRecordImpl implements /** * Create a detached, initialised SysUrlsRecord */ - public SysUrlsRecord(String id, String pid, Integer types, Integer level, String url, String name, String method) { + public SysUrlsRecord(String id, Integer pid, Integer types, Integer level, String url, String name, String method) { super(SysUrls.SYS_URLS); setId(id); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/ArchiveSynLogController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/ArchiveSynLogController.java deleted file mode 100644 index 4710a9b..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/ArchiveSynLogController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.ArchiveSynLogMapper; -import jj.tech.paolu.repository.mybatis.entity.ArchiveSynLog; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/archiveSynLog") -public class ArchiveSynLogController { - - @Autowired - public ArchiveSynLogMapper archiveSynLogMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(archiveSynLogMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(archiveSynLogMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody ArchiveSynLog record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(archiveSynLogMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody ArchiveSynLog record) { - return R.SUCCESS(archiveSynLogMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/ArchiveSynLogDetailController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/ArchiveSynLogDetailController.java deleted file mode 100644 index 342fae0..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/ArchiveSynLogDetailController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.ArchiveSynLogDetailMapper; -import jj.tech.paolu.repository.mybatis.entity.ArchiveSynLogDetail; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/archiveSynLogDetail") -public class ArchiveSynLogDetailController { - - @Autowired - public ArchiveSynLogDetailMapper archiveSynLogDetailMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(archiveSynLogDetailMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(archiveSynLogDetailMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody ArchiveSynLogDetail record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(archiveSynLogDetailMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody ArchiveSynLogDetail record) { - return R.SUCCESS(archiveSynLogDetailMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/ArchiveSynTimestampController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/ArchiveSynTimestampController.java deleted file mode 100644 index 44c4f59..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/ArchiveSynTimestampController.java +++ /dev/null @@ -1,31 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.ArchiveSynTimestampMapper; -import jj.tech.paolu.repository.mybatis.entity.ArchiveSynTimestamp; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/archiveSynTimestamp") -public class ArchiveSynTimestampController { - - @Autowired - public ArchiveSynTimestampMapper archiveSynTimestampMapper; - - @PostMapping("findById/{node_id}/{node_type}") - public Object findById(@PathVariable("node_id") String node_id, @PathVariable("node_type") Integer node_type) { - return R.SUCCESS(archiveSynTimestampMapper.selectByPrimaryKey(node_id,node_type).orElse(null)); - } - - @PostMapping("delete/{node_id}/{node_type}") - public Object delete(@PathVariable("node_id") String node_id, @PathVariable("node_type") Integer node_type) { - return R.SUCCESS(archiveSynTimestampMapper.deleteByPrimaryKey(node_id,node_type)); - } - - @PostMapping("update") - public Object update(@RequestBody ArchiveSynTimestamp record) { - return R.SUCCESS(archiveSynTimestampMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/CertificateApplyController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/CertificateApplyController.java deleted file mode 100644 index b5b694f..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/CertificateApplyController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.CertificateApplyMapper; -import jj.tech.paolu.repository.mybatis.entity.CertificateApply; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/certificateApply") -public class CertificateApplyController { - - @Autowired - public CertificateApplyMapper certificateApplyMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(certificateApplyMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(certificateApplyMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody CertificateApply record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(certificateApplyMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody CertificateApply record) { - return R.SUCCESS(certificateApplyMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/CertificateApplyRecordController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/CertificateApplyRecordController.java deleted file mode 100644 index d2d42af..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/CertificateApplyRecordController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.CertificateApplyRecordMapper; -import jj.tech.paolu.repository.mybatis.entity.CertificateApplyRecord; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/certificateApplyRecord") -public class CertificateApplyRecordController { - - @Autowired - public CertificateApplyRecordMapper certificateApplyRecordMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(certificateApplyRecordMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(certificateApplyRecordMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody CertificateApplyRecord record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(certificateApplyRecordMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody CertificateApplyRecord record) { - return R.SUCCESS(certificateApplyRecordMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/CertificateDetailController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/CertificateDetailController.java deleted file mode 100644 index bd7563b..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/CertificateDetailController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.CertificateDetailMapper; -import jj.tech.paolu.repository.mybatis.entity.CertificateDetail; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/certificateDetail") -public class CertificateDetailController { - - @Autowired - public CertificateDetailMapper certificateDetailMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(certificateDetailMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(certificateDetailMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody CertificateDetail record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(certificateDetailMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody CertificateDetail record) { - return R.SUCCESS(certificateDetailMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/DecryptLogController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/DecryptLogController.java deleted file mode 100644 index b682895..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/DecryptLogController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.DecryptLogMapper; -import jj.tech.paolu.repository.mybatis.entity.DecryptLog; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/decryptLog") -public class DecryptLogController { - - @Autowired - public DecryptLogMapper decryptLogMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(decryptLogMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(decryptLogMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody DecryptLog record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(decryptLogMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody DecryptLog record) { - return R.SUCCESS(decryptLogMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/DownloadLogController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/DownloadLogController.java deleted file mode 100644 index cc4d587..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/DownloadLogController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.DownloadLogMapper; -import jj.tech.paolu.repository.mybatis.entity.DownloadLog; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/downloadLog") -public class DownloadLogController { - - @Autowired - public DownloadLogMapper downloadLogMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(downloadLogMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(downloadLogMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody DownloadLog record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(downloadLogMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody DownloadLog record) { - return R.SUCCESS(downloadLogMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyCheckRecordController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyCheckRecordController.java deleted file mode 100644 index 5c13cf4..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyCheckRecordController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.FilesApplyCheckRecordMapper; -import jj.tech.paolu.repository.mybatis.entity.FilesApplyCheckRecord; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/filesApplyCheckRecord") -public class FilesApplyCheckRecordController { - - @Autowired - public FilesApplyCheckRecordMapper filesApplyCheckRecordMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(filesApplyCheckRecordMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(filesApplyCheckRecordMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody FilesApplyCheckRecord record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(filesApplyCheckRecordMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody FilesApplyCheckRecord record) { - return R.SUCCESS(filesApplyCheckRecordMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyController.java deleted file mode 100644 index 0e68789..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.FilesApplyMapper; -import jj.tech.paolu.repository.mybatis.entity.FilesApply; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/filesApply") -public class FilesApplyController { - - @Autowired - public FilesApplyMapper filesApplyMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(filesApplyMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(filesApplyMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody FilesApply record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(filesApplyMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody FilesApply record) { - return R.SUCCESS(filesApplyMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyDirectoryDocsController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyDirectoryDocsController.java deleted file mode 100644 index 99e7435..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyDirectoryDocsController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.FilesApplyDirectoryDocsMapper; -import jj.tech.paolu.repository.mybatis.entity.FilesApplyDirectoryDocs; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/filesApplyDirectoryDocs") -public class FilesApplyDirectoryDocsController { - - @Autowired - public FilesApplyDirectoryDocsMapper filesApplyDirectoryDocsMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(filesApplyDirectoryDocsMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(filesApplyDirectoryDocsMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody FilesApplyDirectoryDocs record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(filesApplyDirectoryDocsMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody FilesApplyDirectoryDocs record) { - return R.SUCCESS(filesApplyDirectoryDocsMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyDocsController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyDocsController.java deleted file mode 100644 index 799f481..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyDocsController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.FilesApplyDocsMapper; -import jj.tech.paolu.repository.mybatis.entity.FilesApplyDocs; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/filesApplyDocs") -public class FilesApplyDocsController { - - @Autowired - public FilesApplyDocsMapper filesApplyDocsMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(filesApplyDocsMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(filesApplyDocsMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody FilesApplyDocs record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(filesApplyDocsMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody FilesApplyDocs record) { - return R.SUCCESS(filesApplyDocsMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyDownloadRecordController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyDownloadRecordController.java deleted file mode 100644 index e7a6f8e..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/FilesApplyDownloadRecordController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.FilesApplyDownloadRecordMapper; -import jj.tech.paolu.repository.mybatis.entity.FilesApplyDownloadRecord; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/filesApplyDownloadRecord") -public class FilesApplyDownloadRecordController { - - @Autowired - public FilesApplyDownloadRecordMapper filesApplyDownloadRecordMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(filesApplyDownloadRecordMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(filesApplyDownloadRecordMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody FilesApplyDownloadRecord record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(filesApplyDownloadRecordMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody FilesApplyDownloadRecord record) { - return R.SUCCESS(filesApplyDownloadRecordMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/PreShareDirectoryFileTagController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/PreShareDirectoryFileTagController.java deleted file mode 100644 index 06bada4..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/PreShareDirectoryFileTagController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.PreShareDirectoryFileTagMapper; -import jj.tech.paolu.repository.mybatis.entity.PreShareDirectoryFileTag; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/preShareDirectoryFileTag") -public class PreShareDirectoryFileTagController { - - @Autowired - public PreShareDirectoryFileTagMapper preShareDirectoryFileTagMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(preShareDirectoryFileTagMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(preShareDirectoryFileTagMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody PreShareDirectoryFileTag record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(preShareDirectoryFileTagMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody PreShareDirectoryFileTag record) { - return R.SUCCESS(preShareDirectoryFileTagMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/PreShareDirectoryTagController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/PreShareDirectoryTagController.java deleted file mode 100644 index cbdd47d..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/PreShareDirectoryTagController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.PreShareDirectoryTagMapper; -import jj.tech.paolu.repository.mybatis.entity.PreShareDirectoryTag; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/preShareDirectoryTag") -public class PreShareDirectoryTagController { - - @Autowired - public PreShareDirectoryTagMapper preShareDirectoryTagMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(preShareDirectoryTagMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(preShareDirectoryTagMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody PreShareDirectoryTag record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(preShareDirectoryTagMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody PreShareDirectoryTag record) { - return R.SUCCESS(preShareDirectoryTagMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/PreShareFileTagController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/PreShareFileTagController.java deleted file mode 100644 index 3334f2e..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/PreShareFileTagController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.PreShareFileTagMapper; -import jj.tech.paolu.repository.mybatis.entity.PreShareFileTag; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/preShareFileTag") -public class PreShareFileTagController { - - @Autowired - public PreShareFileTagMapper preShareFileTagMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(preShareFileTagMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(preShareFileTagMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody PreShareFileTag record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(preShareFileTagMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody PreShareFileTag record) { - return R.SUCCESS(preShareFileTagMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/ProjectController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/ProjectController.java deleted file mode 100644 index e13fdfb..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/ProjectController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.ProjectMapper; -import jj.tech.paolu.repository.mybatis.entity.Project; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/project") -public class ProjectController { - - @Autowired - public ProjectMapper projectMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(projectMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(projectMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody Project record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(projectMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody Project record) { - return R.SUCCESS(projectMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/ProviderController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/ProviderController.java deleted file mode 100644 index 05921f8..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/ProviderController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.ProviderMapper; -import jj.tech.paolu.repository.mybatis.entity.Provider; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/provider") -public class ProviderController { - - @Autowired - public ProviderMapper providerMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(providerMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(providerMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody Provider record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(providerMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody Provider record) { - return R.SUCCESS(providerMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/ReadLogController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/ReadLogController.java deleted file mode 100644 index 79bf408..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/ReadLogController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.ReadLogMapper; -import jj.tech.paolu.repository.mybatis.entity.ReadLog; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/readLog") -public class ReadLogController { - - @Autowired - public ReadLogMapper readLogMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(readLogMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(readLogMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody ReadLog record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(readLogMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody ReadLog record) { - return R.SUCCESS(readLogMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/ShareDirectoryController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/ShareDirectoryController.java deleted file mode 100644 index 0c0c531..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/ShareDirectoryController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.ShareDirectoryMapper; -import jj.tech.paolu.repository.mybatis.entity.ShareDirectory; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/shareDirectory") -public class ShareDirectoryController { - - @Autowired - public ShareDirectoryMapper shareDirectoryMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(shareDirectoryMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(shareDirectoryMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody ShareDirectory record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(shareDirectoryMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody ShareDirectory record) { - return R.SUCCESS(shareDirectoryMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/ShareDirectoryFileController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/ShareDirectoryFileController.java deleted file mode 100644 index 6b4b3d4..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/ShareDirectoryFileController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.ShareDirectoryFileMapper; -import jj.tech.paolu.repository.mybatis.entity.ShareDirectoryFile; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/shareDirectoryFile") -public class ShareDirectoryFileController { - - @Autowired - public ShareDirectoryFileMapper shareDirectoryFileMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(shareDirectoryFileMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(shareDirectoryFileMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody ShareDirectoryFile record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(shareDirectoryFileMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody ShareDirectoryFile record) { - return R.SUCCESS(shareDirectoryFileMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/ShareFileController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/ShareFileController.java deleted file mode 100644 index 476cc14..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/ShareFileController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.ShareFileMapper; -import jj.tech.paolu.repository.mybatis.entity.ShareFile; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/shareFile") -public class ShareFileController { - - @Autowired - public ShareFileMapper shareFileMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(shareFileMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(shareFileMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody ShareFile record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(shareFileMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody ShareFile record) { - return R.SUCCESS(shareFileMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedElementUpdateDetailController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedElementUpdateDetailController.java deleted file mode 100644 index 217a911..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedElementUpdateDetailController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.SharedElementUpdateDetailMapper; -import jj.tech.paolu.repository.mybatis.entity.SharedElementUpdateDetail; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/sharedElementUpdateDetail") -public class SharedElementUpdateDetailController { - - @Autowired - public SharedElementUpdateDetailMapper sharedElementUpdateDetailMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(sharedElementUpdateDetailMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(sharedElementUpdateDetailMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody SharedElementUpdateDetail record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(sharedElementUpdateDetailMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody SharedElementUpdateDetail record) { - return R.SUCCESS(sharedElementUpdateDetailMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedElementUpdateRecordController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedElementUpdateRecordController.java deleted file mode 100644 index 252750c..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedElementUpdateRecordController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.SharedElementUpdateRecordMapper; -import jj.tech.paolu.repository.mybatis.entity.SharedElementUpdateRecord; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/sharedElementUpdateRecord") -public class SharedElementUpdateRecordController { - - @Autowired - public SharedElementUpdateRecordMapper sharedElementUpdateRecordMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(sharedElementUpdateRecordMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(sharedElementUpdateRecordMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody SharedElementUpdateRecord record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(sharedElementUpdateRecordMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody SharedElementUpdateRecord record) { - return R.SUCCESS(sharedElementUpdateRecordMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedRuleConfigController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedRuleConfigController.java deleted file mode 100644 index 871827e..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedRuleConfigController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.SharedRuleConfigMapper; -import jj.tech.paolu.repository.mybatis.entity.SharedRuleConfig; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/sharedRuleConfig") -public class SharedRuleConfigController { - - @Autowired - public SharedRuleConfigMapper sharedRuleConfigMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(sharedRuleConfigMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(sharedRuleConfigMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody SharedRuleConfig record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(sharedRuleConfigMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody SharedRuleConfig record) { - return R.SUCCESS(sharedRuleConfigMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedSynAllController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedSynAllController.java deleted file mode 100644 index 73ba5b0..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SharedSynAllController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.SharedSynAllMapper; -import jj.tech.paolu.repository.mybatis.entity.SharedSynAll; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/sharedSynAll") -public class SharedSynAllController { - - @Autowired - public SharedSynAllMapper sharedSynAllMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(sharedSynAllMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(sharedSynAllMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody SharedSynAll record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(sharedSynAllMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody SharedSynAll record) { - return R.SUCCESS(sharedSynAllMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SynDirectoryController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SynDirectoryController.java deleted file mode 100644 index 9838314..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SynDirectoryController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.SynDirectoryMapper; -import jj.tech.paolu.repository.mybatis.entity.SynDirectory; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/synDirectory") -public class SynDirectoryController { - - @Autowired - public SynDirectoryMapper synDirectoryMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(synDirectoryMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(synDirectoryMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody SynDirectory record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(synDirectoryMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody SynDirectory record) { - return R.SUCCESS(synDirectoryMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SynDirectoryFileController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SynDirectoryFileController.java deleted file mode 100644 index b293ea5..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SynDirectoryFileController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.SynDirectoryFileMapper; -import jj.tech.paolu.repository.mybatis.entity.SynDirectoryFile; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/synDirectoryFile") -public class SynDirectoryFileController { - - @Autowired - public SynDirectoryFileMapper synDirectoryFileMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(synDirectoryFileMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(synDirectoryFileMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody SynDirectoryFile record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(synDirectoryFileMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody SynDirectoryFile record) { - return R.SUCCESS(synDirectoryFileMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SynFileController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SynFileController.java deleted file mode 100644 index 72f4879..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SynFileController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.SynFileMapper; -import jj.tech.paolu.repository.mybatis.entity.SynFile; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/synFile") -public class SynFileController { - - @Autowired - public SynFileMapper synFileMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(synFileMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(synFileMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody SynFile record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(synFileMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody SynFile record) { - return R.SUCCESS(synFileMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/Sync2blockchainTaskController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/Sync2blockchainTaskController.java deleted file mode 100644 index 4fb9f9f..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/Sync2blockchainTaskController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.Sync2blockchainTaskMapper; -import jj.tech.paolu.repository.mybatis.entity.Sync2blockchainTask; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/sync2blockchainTask") -public class Sync2blockchainTaskController { - - @Autowired - public Sync2blockchainTaskMapper sync2blockchainTaskMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(sync2blockchainTaskMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(sync2blockchainTaskMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody Sync2blockchainTask record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(sync2blockchainTaskMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody Sync2blockchainTask record) { - return R.SUCCESS(sync2blockchainTaskMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysAdminMenuController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SysAdminMenuController.java new file mode 100644 index 0000000..905b2a6 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/control/SysAdminMenuController.java @@ -0,0 +1,37 @@ +package jj.tech.paolu.repository.mybatis.control; + +import jj.tech.paolu.repository.mybatis.dao.SysAdminMenuMapper; +import jj.tech.paolu.repository.mybatis.entity.SysAdminMenu; +import jj.tech.paolu.utils.IDHelp; +import jj.tech.paolu.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +@RestController +@RequestMapping("mybatis/sysAdminMenu") +public class SysAdminMenuController { + + @Autowired + public SysAdminMenuMapper sysAdminMenuMapper; + + @PostMapping("findById/{id}") + public Object findById(@PathVariable("id") String id) { + return R.SUCCESS(sysAdminMenuMapper.selectByPrimaryKey(id).orElse(null)); + } + + @PostMapping("delete/{id}") + public Object delete(@PathVariable("id") String id) { + return R.SUCCESS(sysAdminMenuMapper.deleteByPrimaryKey(id)); + } + + @PostMapping("save") + public Object save(@RequestBody SysAdminMenu record) { + record.setId(IDHelp.getInstance().nextId()); + return R.SUCCESS(sysAdminMenuMapper.insertSelective(record)); + } + + @PostMapping("update") + public Object update(@RequestBody SysAdminMenu record) { + return R.SUCCESS(sysAdminMenuMapper.updateByPrimaryKeySelective(record)); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysAdminWeidController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SysAdminWeidController.java deleted file mode 100644 index 871f01c..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysAdminWeidController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.SysAdminWeidMapper; -import jj.tech.paolu.repository.mybatis.entity.SysAdminWeid; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/sysAdminWeid") -public class SysAdminWeidController { - - @Autowired - public SysAdminWeidMapper sysAdminWeidMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(sysAdminWeidMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(sysAdminWeidMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody SysAdminWeid record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(sysAdminWeidMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody SysAdminWeid record) { - return R.SUCCESS(sysAdminWeidMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysAreaController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SysAreaController.java deleted file mode 100644 index 4378b6a..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysAreaController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.SysAreaMapper; -import jj.tech.paolu.repository.mybatis.entity.SysArea; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/sysArea") -public class SysAreaController { - - @Autowired - public SysAreaMapper sysAreaMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(sysAreaMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(sysAreaMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody SysArea record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(sysAreaMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody SysArea record) { - return R.SUCCESS(sysAreaMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysMenuController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SysMenuController.java index da5aa8e..b93c5c3 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysMenuController.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/control/SysMenuController.java @@ -1,37 +1,37 @@ -//package jj.tech.paolu.repository.mybatis.control; -// -//import jj.tech.paolu.repository.mybatis.dao.SysMenuMapper; -//import jj.tech.paolu.repository.mybatis.entity.SysMenu; -//import jj.tech.paolu.utils.IDHelp; -//import jj.tech.paolu.utils.R; -//import org.springframework.beans.factory.annotation.Autowired; -//import org.springframework.web.bind.annotation.*; -// -//@RestController -//@RequestMapping("mybatis/sysMenu") -//public class SysMenuController { -// -// @Autowired -// public SysMenuMapper sysMenuMapper; -// -// @PostMapping("findById/{id}") -// public Object findById(@PathVariable("id") String id) { -// return R.SUCCESS(sysMenuMapper.selectByPrimaryKey(id).orElse(null)); -// } -// -// @PostMapping("delete/{id}") -// public Object delete(@PathVariable("id") String id) { -// return R.SUCCESS(sysMenuMapper.deleteByPrimaryKey(id)); -// } -// -// @PostMapping("save") -// public Object save(@RequestBody SysMenu record) { -// record.setId(IDHelp.getInstance().nextId()); -// return R.SUCCESS(sysMenuMapper.insertSelective(record)); -// } -// -// @PostMapping("update") -// public Object update(@RequestBody SysMenu record) { -// return R.SUCCESS(sysMenuMapper.updateByPrimaryKeySelective(record)); -// } -//} \ No newline at end of file +package jj.tech.paolu.repository.mybatis.control; + +import jj.tech.paolu.repository.mybatis.dao.SysMenuMapper; +import jj.tech.paolu.repository.mybatis.entity.SysMenu; +import jj.tech.paolu.utils.IDHelp; +import jj.tech.paolu.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +@RestController +@RequestMapping("mybatis/sysMenu") +public class SysMenuController { + + @Autowired + public SysMenuMapper sysMenuMapper; + + @PostMapping("findById/{id}") + public Object findById(@PathVariable("id") String id) { + return R.SUCCESS(sysMenuMapper.selectByPrimaryKey(id).orElse(null)); + } + + @PostMapping("delete/{id}") + public Object delete(@PathVariable("id") String id) { + return R.SUCCESS(sysMenuMapper.deleteByPrimaryKey(id)); + } + + @PostMapping("save") + public Object save(@RequestBody SysMenu record) { + record.setId(IDHelp.getInstance().nextId()); + return R.SUCCESS(sysMenuMapper.insertSelective(record)); + } + + @PostMapping("update") + public Object update(@RequestBody SysMenu record) { + return R.SUCCESS(sysMenuMapper.updateByPrimaryKeySelective(record)); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysRoleSignController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SysResourceController.java similarity index 50% rename from src/main/java/jj/tech/paolu/repository/mybatis/control/SysRoleSignController.java rename to src/main/java/jj/tech/paolu/repository/mybatis/control/SysResourceController.java index 478adec..f52f898 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysRoleSignController.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/control/SysResourceController.java @@ -1,37 +1,37 @@ package jj.tech.paolu.repository.mybatis.control; -import jj.tech.paolu.repository.mybatis.dao.SysRoleSignMapper; -import jj.tech.paolu.repository.mybatis.entity.SysRoleSign; +import jj.tech.paolu.repository.mybatis.dao.SysResourceMapper; +import jj.tech.paolu.repository.mybatis.entity.SysResource; import jj.tech.paolu.utils.IDHelp; import jj.tech.paolu.utils.R; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; @RestController -@RequestMapping("mybatis/sysRoleSign") -public class SysRoleSignController { +@RequestMapping("mybatis/sysResource") +public class SysResourceController { @Autowired - public SysRoleSignMapper sysRoleSignMapper; + public SysResourceMapper sysResourceMapper; @PostMapping("findById/{id}") public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(sysRoleSignMapper.selectByPrimaryKey(id).orElse(null)); + return R.SUCCESS(sysResourceMapper.selectByPrimaryKey(id).orElse(null)); } @PostMapping("delete/{id}") public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(sysRoleSignMapper.deleteByPrimaryKey(id)); + return R.SUCCESS(sysResourceMapper.deleteByPrimaryKey(id)); } @PostMapping("save") - public Object save(@RequestBody SysRoleSign record) { + public Object save(@RequestBody SysResource record) { record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(sysRoleSignMapper.insertSelective(record)); + return R.SUCCESS(sysResourceMapper.insertSelective(record)); } @PostMapping("update") - public Object update(@RequestBody SysRoleSign record) { - return R.SUCCESS(sysRoleSignMapper.updateByPrimaryKeySelective(record)); + public Object update(@RequestBody SysResource record) { + return R.SUCCESS(sysResourceMapper.updateByPrimaryKeySelective(record)); } } \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysRoleMenuController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SysRoleMenuController.java deleted file mode 100644 index dd8836a..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysRoleMenuController.java +++ /dev/null @@ -1,37 +0,0 @@ -package jj.tech.paolu.repository.mybatis.control; - -import jj.tech.paolu.repository.mybatis.dao.SysRoleMenuMapper; -import jj.tech.paolu.repository.mybatis.entity.SysRoleMenu; -import jj.tech.paolu.utils.IDHelp; -import jj.tech.paolu.utils.R; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("mybatis/sysRoleMenu") -public class SysRoleMenuController { - - @Autowired - public SysRoleMenuMapper sysRoleMenuMapper; - - @PostMapping("findById/{id}") - public Object findById(@PathVariable("id") String id) { - return R.SUCCESS(sysRoleMenuMapper.selectByPrimaryKey(id).orElse(null)); - } - - @PostMapping("delete/{id}") - public Object delete(@PathVariable("id") String id) { - return R.SUCCESS(sysRoleMenuMapper.deleteByPrimaryKey(id)); - } - - @PostMapping("save") - public Object save(@RequestBody SysRoleMenu record) { - record.setId(IDHelp.getInstance().nextId()); - return R.SUCCESS(sysRoleMenuMapper.insertSelective(record)); - } - - @PostMapping("update") - public Object update(@RequestBody SysRoleMenu record) { - return R.SUCCESS(sysRoleMenuMapper.updateByPrimaryKeySelective(record)); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/SysRoleResourceController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/SysRoleResourceController.java new file mode 100644 index 0000000..30f1ce8 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/control/SysRoleResourceController.java @@ -0,0 +1,37 @@ +package jj.tech.paolu.repository.mybatis.control; + +import jj.tech.paolu.repository.mybatis.dao.SysRoleResourceMapper; +import jj.tech.paolu.repository.mybatis.entity.SysRoleResource; +import jj.tech.paolu.utils.IDHelp; +import jj.tech.paolu.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +@RestController +@RequestMapping("mybatis/sysRoleResource") +public class SysRoleResourceController { + + @Autowired + public SysRoleResourceMapper sysRoleResourceMapper; + + @PostMapping("findById/{roleid}/{resid}") + public Object findById(@PathVariable("roleid") String roleid, @PathVariable("resid") String resid) { + return R.SUCCESS(sysRoleResourceMapper.selectByPrimaryKey(roleid,resid).orElse(null)); + } + + @PostMapping("delete/{roleid}/{resid}") + public Object delete(@PathVariable("roleid") String roleid, @PathVariable("resid") String resid) { + return R.SUCCESS(sysRoleResourceMapper.deleteByPrimaryKey(roleid,resid)); + } + + @PostMapping("save") + public Object save(@RequestBody SysRoleResource record) { + record.setId(IDHelp.getInstance().nextId()); + return R.SUCCESS(sysRoleResourceMapper.insertSelective(record)); + } + + @PostMapping("update") + public Object update(@RequestBody SysRoleResource record) { + return R.SUCCESS(sysRoleResourceMapper.updateByPrimaryKeySelective(record)); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ArchiveSynLogDetailMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/ArchiveSynLogDetailMapper.java deleted file mode 100644 index 5564182..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ArchiveSynLogDetailMapper.java +++ /dev/null @@ -1,177 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.ArchiveSynLogDetailDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.ArchiveSynLogDetail; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface ArchiveSynLogDetailMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6567952+08:00", comments="Source Table: public.archive_syn_log_detail") - BasicColumn[] selectList = BasicColumn.columnList(id, node_id, note_type, process_type, create_time, log_id); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6477277+08:00", comments="Source Table: public.archive_syn_log_detail") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="ArchiveSynLogDetailResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="node_id", property="node_id", jdbcType=JdbcType.VARCHAR), - @Result(column="note_type", property="note_type", jdbcType=JdbcType.INTEGER), - @Result(column="process_type", property="process_type", jdbcType=JdbcType.INTEGER), - @Result(column="create_time", property="create_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="log_id", property="log_id", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.648734+08:00", comments="Source Table: public.archive_syn_log_detail") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("ArchiveSynLogDetailResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6499717+08:00", comments="Source Table: public.archive_syn_log_detail") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, archiveSynLogDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6499717+08:00", comments="Source Table: public.archive_syn_log_detail") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, archiveSynLogDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6499717+08:00", comments="Source Table: public.archive_syn_log_detail") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6511217+08:00", comments="Source Table: public.archive_syn_log_detail") - default int insert(ArchiveSynLogDetail row) { - return MyBatis3Utils.insert(this::insert, row, archiveSynLogDetail, c -> - c.map(id).toProperty("id") - .map(node_id).toProperty("node_id") - .map(note_type).toProperty("note_type") - .map(process_type).toProperty("process_type") - .map(create_time).toProperty("create_time") - .map(log_id).toProperty("log_id") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6544067+08:00", comments="Source Table: public.archive_syn_log_detail") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, archiveSynLogDetail, c -> - c.map(id).toProperty("id") - .map(node_id).toProperty("node_id") - .map(note_type).toProperty("note_type") - .map(process_type).toProperty("process_type") - .map(create_time).toProperty("create_time") - .map(log_id).toProperty("log_id") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6554066+08:00", comments="Source Table: public.archive_syn_log_detail") - default int insertSelective(ArchiveSynLogDetail row) { - return MyBatis3Utils.insert(this::insert, row, archiveSynLogDetail, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(node_id).toPropertyWhenPresent("node_id", row::getNode_id) - .map(note_type).toPropertyWhenPresent("note_type", row::getNote_type) - .map(process_type).toPropertyWhenPresent("process_type", row::getProcess_type) - .map(create_time).toPropertyWhenPresent("create_time", row::getCreate_time) - .map(log_id).toPropertyWhenPresent("log_id", row::getLog_id) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6567952+08:00", comments="Source Table: public.archive_syn_log_detail") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, archiveSynLogDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6578+08:00", comments="Source Table: public.archive_syn_log_detail") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, archiveSynLogDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6578+08:00", comments="Source Table: public.archive_syn_log_detail") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, archiveSynLogDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6578+08:00", comments="Source Table: public.archive_syn_log_detail") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6587996+08:00", comments="Source Table: public.archive_syn_log_detail") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, archiveSynLogDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6587996+08:00", comments="Source Table: public.archive_syn_log_detail") - static UpdateDSL updateAllColumns(ArchiveSynLogDetail row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(node_id).equalTo(row::getNode_id) - .set(note_type).equalTo(row::getNote_type) - .set(process_type).equalTo(row::getProcess_type) - .set(create_time).equalTo(row::getCreate_time) - .set(log_id).equalTo(row::getLog_id); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6587996+08:00", comments="Source Table: public.archive_syn_log_detail") - static UpdateDSL updateSelectiveColumns(ArchiveSynLogDetail row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(node_id).equalToWhenPresent(row::getNode_id) - .set(note_type).equalToWhenPresent(row::getNote_type) - .set(process_type).equalToWhenPresent(row::getProcess_type) - .set(create_time).equalToWhenPresent(row::getCreate_time) - .set(log_id).equalToWhenPresent(row::getLog_id); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6597992+08:00", comments="Source Table: public.archive_syn_log_detail") - default int updateByPrimaryKey(ArchiveSynLogDetail row) { - return update(c -> - c.set(node_id).equalTo(row::getNode_id) - .set(note_type).equalTo(row::getNote_type) - .set(process_type).equalTo(row::getProcess_type) - .set(create_time).equalTo(row::getCreate_time) - .set(log_id).equalTo(row::getLog_id) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6609965+08:00", comments="Source Table: public.archive_syn_log_detail") - default int updateByPrimaryKeySelective(ArchiveSynLogDetail row) { - return update(c -> - c.set(node_id).equalToWhenPresent(row::getNode_id) - .set(note_type).equalToWhenPresent(row::getNote_type) - .set(process_type).equalToWhenPresent(row::getProcess_type) - .set(create_time).equalToWhenPresent(row::getCreate_time) - .set(log_id).equalToWhenPresent(row::getLog_id) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ArchiveSynLogMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/ArchiveSynLogMapper.java deleted file mode 100644 index 1c6c81e..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ArchiveSynLogMapper.java +++ /dev/null @@ -1,233 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.ArchiveSynLogDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.ArchiveSynLog; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface ArchiveSynLogMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - BasicColumn[] selectList = BasicColumn.columnList(id, start_time, insert_dir_count, update_dir_count, insert_dirfile_count, update_dirfile_count, insert_file_count, update_file_count, description, run_result, update_timestamp, next_update_timestamp, end_time); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source Table: public.archive_syn_log") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="ArchiveSynLogResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="start_time", property="start_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="insert_dir_count", property="insert_dir_count", jdbcType=JdbcType.BIGINT), - @Result(column="update_dir_count", property="update_dir_count", jdbcType=JdbcType.BIGINT), - @Result(column="insert_dirfile_count", property="insert_dirfile_count", jdbcType=JdbcType.BIGINT), - @Result(column="update_dirfile_count", property="update_dirfile_count", jdbcType=JdbcType.BIGINT), - @Result(column="insert_file_count", property="insert_file_count", jdbcType=JdbcType.BIGINT), - @Result(column="update_file_count", property="update_file_count", jdbcType=JdbcType.BIGINT), - @Result(column="description", property="description", jdbcType=JdbcType.VARCHAR), - @Result(column="run_result", property="run_result", jdbcType=JdbcType.VARCHAR), - @Result(column="update_timestamp", property="update_timestamp", jdbcType=JdbcType.BIGINT), - @Result(column="next_update_timestamp", property="next_update_timestamp", jdbcType=JdbcType.BIGINT), - @Result(column="end_time", property="end_time", jdbcType=JdbcType.TIMESTAMP) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source Table: public.archive_syn_log") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("ArchiveSynLogResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source Table: public.archive_syn_log") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, archiveSynLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source Table: public.archive_syn_log") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, archiveSynLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source Table: public.archive_syn_log") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source Table: public.archive_syn_log") - default int insert(ArchiveSynLog row) { - return MyBatis3Utils.insert(this::insert, row, archiveSynLog, c -> - c.map(id).toProperty("id") - .map(start_time).toProperty("start_time") - .map(insert_dir_count).toProperty("insert_dir_count") - .map(update_dir_count).toProperty("update_dir_count") - .map(insert_dirfile_count).toProperty("insert_dirfile_count") - .map(update_dirfile_count).toProperty("update_dirfile_count") - .map(insert_file_count).toProperty("insert_file_count") - .map(update_file_count).toProperty("update_file_count") - .map(description).toProperty("description") - .map(run_result).toProperty("run_result") - .map(update_timestamp).toProperty("update_timestamp") - .map(next_update_timestamp).toProperty("next_update_timestamp") - .map(end_time).toProperty("end_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, archiveSynLog, c -> - c.map(id).toProperty("id") - .map(start_time).toProperty("start_time") - .map(insert_dir_count).toProperty("insert_dir_count") - .map(update_dir_count).toProperty("update_dir_count") - .map(insert_dirfile_count).toProperty("insert_dirfile_count") - .map(update_dirfile_count).toProperty("update_dirfile_count") - .map(insert_file_count).toProperty("insert_file_count") - .map(update_file_count).toProperty("update_file_count") - .map(description).toProperty("description") - .map(run_result).toProperty("run_result") - .map(update_timestamp).toProperty("update_timestamp") - .map(next_update_timestamp).toProperty("next_update_timestamp") - .map(end_time).toProperty("end_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - default int insertSelective(ArchiveSynLog row) { - return MyBatis3Utils.insert(this::insert, row, archiveSynLog, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(start_time).toPropertyWhenPresent("start_time", row::getStart_time) - .map(insert_dir_count).toPropertyWhenPresent("insert_dir_count", row::getInsert_dir_count) - .map(update_dir_count).toPropertyWhenPresent("update_dir_count", row::getUpdate_dir_count) - .map(insert_dirfile_count).toPropertyWhenPresent("insert_dirfile_count", row::getInsert_dirfile_count) - .map(update_dirfile_count).toPropertyWhenPresent("update_dirfile_count", row::getUpdate_dirfile_count) - .map(insert_file_count).toPropertyWhenPresent("insert_file_count", row::getInsert_file_count) - .map(update_file_count).toPropertyWhenPresent("update_file_count", row::getUpdate_file_count) - .map(description).toPropertyWhenPresent("description", row::getDescription) - .map(run_result).toPropertyWhenPresent("run_result", row::getRun_result) - .map(update_timestamp).toPropertyWhenPresent("update_timestamp", row::getUpdate_timestamp) - .map(next_update_timestamp).toPropertyWhenPresent("next_update_timestamp", row::getNext_update_timestamp) - .map(end_time).toPropertyWhenPresent("end_time", row::getEnd_time) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, archiveSynLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, archiveSynLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, archiveSynLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, archiveSynLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - static UpdateDSL updateAllColumns(ArchiveSynLog row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(start_time).equalTo(row::getStart_time) - .set(insert_dir_count).equalTo(row::getInsert_dir_count) - .set(update_dir_count).equalTo(row::getUpdate_dir_count) - .set(insert_dirfile_count).equalTo(row::getInsert_dirfile_count) - .set(update_dirfile_count).equalTo(row::getUpdate_dirfile_count) - .set(insert_file_count).equalTo(row::getInsert_file_count) - .set(update_file_count).equalTo(row::getUpdate_file_count) - .set(description).equalTo(row::getDescription) - .set(run_result).equalTo(row::getRun_result) - .set(update_timestamp).equalTo(row::getUpdate_timestamp) - .set(next_update_timestamp).equalTo(row::getNext_update_timestamp) - .set(end_time).equalTo(row::getEnd_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - static UpdateDSL updateSelectiveColumns(ArchiveSynLog row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(start_time).equalToWhenPresent(row::getStart_time) - .set(insert_dir_count).equalToWhenPresent(row::getInsert_dir_count) - .set(update_dir_count).equalToWhenPresent(row::getUpdate_dir_count) - .set(insert_dirfile_count).equalToWhenPresent(row::getInsert_dirfile_count) - .set(update_dirfile_count).equalToWhenPresent(row::getUpdate_dirfile_count) - .set(insert_file_count).equalToWhenPresent(row::getInsert_file_count) - .set(update_file_count).equalToWhenPresent(row::getUpdate_file_count) - .set(description).equalToWhenPresent(row::getDescription) - .set(run_result).equalToWhenPresent(row::getRun_result) - .set(update_timestamp).equalToWhenPresent(row::getUpdate_timestamp) - .set(next_update_timestamp).equalToWhenPresent(row::getNext_update_timestamp) - .set(end_time).equalToWhenPresent(row::getEnd_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - default int updateByPrimaryKey(ArchiveSynLog row) { - return update(c -> - c.set(start_time).equalTo(row::getStart_time) - .set(insert_dir_count).equalTo(row::getInsert_dir_count) - .set(update_dir_count).equalTo(row::getUpdate_dir_count) - .set(insert_dirfile_count).equalTo(row::getInsert_dirfile_count) - .set(update_dirfile_count).equalTo(row::getUpdate_dirfile_count) - .set(insert_file_count).equalTo(row::getInsert_file_count) - .set(update_file_count).equalTo(row::getUpdate_file_count) - .set(description).equalTo(row::getDescription) - .set(run_result).equalTo(row::getRun_result) - .set(update_timestamp).equalTo(row::getUpdate_timestamp) - .set(next_update_timestamp).equalTo(row::getNext_update_timestamp) - .set(end_time).equalTo(row::getEnd_time) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2891521+08:00", comments="Source Table: public.archive_syn_log") - default int updateByPrimaryKeySelective(ArchiveSynLog row) { - return update(c -> - c.set(start_time).equalToWhenPresent(row::getStart_time) - .set(insert_dir_count).equalToWhenPresent(row::getInsert_dir_count) - .set(update_dir_count).equalToWhenPresent(row::getUpdate_dir_count) - .set(insert_dirfile_count).equalToWhenPresent(row::getInsert_dirfile_count) - .set(update_dirfile_count).equalToWhenPresent(row::getUpdate_dirfile_count) - .set(insert_file_count).equalToWhenPresent(row::getInsert_file_count) - .set(update_file_count).equalToWhenPresent(row::getUpdate_file_count) - .set(description).equalToWhenPresent(row::getDescription) - .set(run_result).equalToWhenPresent(row::getRun_result) - .set(update_timestamp).equalToWhenPresent(row::getUpdate_timestamp) - .set(next_update_timestamp).equalToWhenPresent(row::getNext_update_timestamp) - .set(end_time).equalToWhenPresent(row::getEnd_time) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ArchiveSynTimestampMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/ArchiveSynTimestampMapper.java deleted file mode 100644 index e980078..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ArchiveSynTimestampMapper.java +++ /dev/null @@ -1,155 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.ArchiveSynTimestampDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.ArchiveSynTimestamp; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface ArchiveSynTimestampMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7122239+08:00", comments="Source Table: public.archive_syn_timestamp") - BasicColumn[] selectList = BasicColumn.columnList(node_id, node_type, timestamp); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7036908+08:00", comments="Source Table: public.archive_syn_timestamp") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="ArchiveSynTimestampResult", value = { - @Result(column="node_id", property="node_id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="node_type", property="node_type", jdbcType=JdbcType.INTEGER, id=true), - @Result(column="timestamp", property="timestamp", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7046911+08:00", comments="Source Table: public.archive_syn_timestamp") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("ArchiveSynTimestampResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7061882+08:00", comments="Source Table: public.archive_syn_timestamp") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, archiveSynTimestamp, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7061882+08:00", comments="Source Table: public.archive_syn_timestamp") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, archiveSynTimestamp, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7061882+08:00", comments="Source Table: public.archive_syn_timestamp") - default int deleteByPrimaryKey(String node_id_, Integer node_type_) { - return delete(c -> - c.where(node_id, isEqualTo(node_id_)) - .and(node_type, isEqualTo(node_type_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7075694+08:00", comments="Source Table: public.archive_syn_timestamp") - default int insert(ArchiveSynTimestamp row) { - return MyBatis3Utils.insert(this::insert, row, archiveSynTimestamp, c -> - c.map(node_id).toProperty("node_id") - .map(node_type).toProperty("node_type") - .map(timestamp).toProperty("timestamp") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7098802+08:00", comments="Source Table: public.archive_syn_timestamp") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, archiveSynTimestamp, c -> - c.map(node_id).toProperty("node_id") - .map(node_type).toProperty("node_type") - .map(timestamp).toProperty("timestamp") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7110346+08:00", comments="Source Table: public.archive_syn_timestamp") - default int insertSelective(ArchiveSynTimestamp row) { - return MyBatis3Utils.insert(this::insert, row, archiveSynTimestamp, c -> - c.map(node_id).toPropertyWhenPresent("node_id", row::getNode_id) - .map(node_type).toPropertyWhenPresent("node_type", row::getNode_type) - .map(timestamp).toPropertyWhenPresent("timestamp", row::getTimestamp) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7122239+08:00", comments="Source Table: public.archive_syn_timestamp") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, archiveSynTimestamp, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7133331+08:00", comments="Source Table: public.archive_syn_timestamp") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, archiveSynTimestamp, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7133331+08:00", comments="Source Table: public.archive_syn_timestamp") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, archiveSynTimestamp, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7133331+08:00", comments="Source Table: public.archive_syn_timestamp") - default Optional selectByPrimaryKey(String node_id_, Integer node_type_) { - return selectOne(c -> - c.where(node_id, isEqualTo(node_id_)) - .and(node_type, isEqualTo(node_type_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7143793+08:00", comments="Source Table: public.archive_syn_timestamp") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, archiveSynTimestamp, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7143793+08:00", comments="Source Table: public.archive_syn_timestamp") - static UpdateDSL updateAllColumns(ArchiveSynTimestamp row, UpdateDSL dsl) { - return dsl.set(node_id).equalTo(row::getNode_id) - .set(node_type).equalTo(row::getNode_type) - .set(timestamp).equalTo(row::getTimestamp); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7143793+08:00", comments="Source Table: public.archive_syn_timestamp") - static UpdateDSL updateSelectiveColumns(ArchiveSynTimestamp row, UpdateDSL dsl) { - return dsl.set(node_id).equalToWhenPresent(row::getNode_id) - .set(node_type).equalToWhenPresent(row::getNode_type) - .set(timestamp).equalToWhenPresent(row::getTimestamp); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7155033+08:00", comments="Source Table: public.archive_syn_timestamp") - default int updateByPrimaryKey(ArchiveSynTimestamp row) { - return update(c -> - c.set(timestamp).equalTo(row::getTimestamp) - .where(node_id, isEqualTo(row::getNode_id)) - .and(node_type, isEqualTo(row::getNode_type)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7155033+08:00", comments="Source Table: public.archive_syn_timestamp") - default int updateByPrimaryKeySelective(ArchiveSynTimestamp row) { - return update(c -> - c.set(timestamp).equalToWhenPresent(row::getTimestamp) - .where(node_id, isEqualTo(row::getNode_id)) - .and(node_type, isEqualTo(row::getNode_type)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/CertificateApplyMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/CertificateApplyMapper.java deleted file mode 100644 index a3fc6d1..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/CertificateApplyMapper.java +++ /dev/null @@ -1,265 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.CertificateApplyDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.CertificateApply; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface CertificateApplyMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - BasicColumn[] selectList = BasicColumn.columnList(id, is_org, user_id, user_name, user_real_name, user_phone, user_org_id, user_org_name, apply_type, status, apply_time, apply_finish_time, apply_reason, next_check_org_id, end_check_org_id, cer_id, company_id); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="CertificateApplyResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="is_org", property="is_org", jdbcType=JdbcType.INTEGER), - @Result(column="user_id", property="user_id", jdbcType=JdbcType.VARCHAR), - @Result(column="user_name", property="user_name", jdbcType=JdbcType.VARCHAR), - @Result(column="user_real_name", property="user_real_name", jdbcType=JdbcType.VARCHAR), - @Result(column="user_phone", property="user_phone", jdbcType=JdbcType.VARCHAR), - @Result(column="user_org_id", property="user_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="user_org_name", property="user_org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_type", property="apply_type", jdbcType=JdbcType.INTEGER), - @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), - @Result(column="apply_time", property="apply_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="apply_finish_time", property="apply_finish_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="apply_reason", property="apply_reason", jdbcType=JdbcType.VARCHAR), - @Result(column="next_check_org_id", property="next_check_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="end_check_org_id", property="end_check_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="cer_id", property="cer_id", jdbcType=JdbcType.VARCHAR), - @Result(column="company_id", property="company_id", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("CertificateApplyResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, certificateApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, certificateApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - default int insert(CertificateApply row) { - return MyBatis3Utils.insert(this::insert, row, certificateApply, c -> - c.map(id).toProperty("id") - .map(is_org).toProperty("is_org") - .map(user_id).toProperty("user_id") - .map(user_name).toProperty("user_name") - .map(user_real_name).toProperty("user_real_name") - .map(user_phone).toProperty("user_phone") - .map(user_org_id).toProperty("user_org_id") - .map(user_org_name).toProperty("user_org_name") - .map(apply_type).toProperty("apply_type") - .map(status).toProperty("status") - .map(apply_time).toProperty("apply_time") - .map(apply_finish_time).toProperty("apply_finish_time") - .map(apply_reason).toProperty("apply_reason") - .map(next_check_org_id).toProperty("next_check_org_id") - .map(end_check_org_id).toProperty("end_check_org_id") - .map(cer_id).toProperty("cer_id") - .map(company_id).toProperty("company_id") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, certificateApply, c -> - c.map(id).toProperty("id") - .map(is_org).toProperty("is_org") - .map(user_id).toProperty("user_id") - .map(user_name).toProperty("user_name") - .map(user_real_name).toProperty("user_real_name") - .map(user_phone).toProperty("user_phone") - .map(user_org_id).toProperty("user_org_id") - .map(user_org_name).toProperty("user_org_name") - .map(apply_type).toProperty("apply_type") - .map(status).toProperty("status") - .map(apply_time).toProperty("apply_time") - .map(apply_finish_time).toProperty("apply_finish_time") - .map(apply_reason).toProperty("apply_reason") - .map(next_check_org_id).toProperty("next_check_org_id") - .map(end_check_org_id).toProperty("end_check_org_id") - .map(cer_id).toProperty("cer_id") - .map(company_id).toProperty("company_id") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - default int insertSelective(CertificateApply row) { - return MyBatis3Utils.insert(this::insert, row, certificateApply, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(is_org).toPropertyWhenPresent("is_org", row::getIs_org) - .map(user_id).toPropertyWhenPresent("user_id", row::getUser_id) - .map(user_name).toPropertyWhenPresent("user_name", row::getUser_name) - .map(user_real_name).toPropertyWhenPresent("user_real_name", row::getUser_real_name) - .map(user_phone).toPropertyWhenPresent("user_phone", row::getUser_phone) - .map(user_org_id).toPropertyWhenPresent("user_org_id", row::getUser_org_id) - .map(user_org_name).toPropertyWhenPresent("user_org_name", row::getUser_org_name) - .map(apply_type).toPropertyWhenPresent("apply_type", row::getApply_type) - .map(status).toPropertyWhenPresent("status", row::getStatus) - .map(apply_time).toPropertyWhenPresent("apply_time", row::getApply_time) - .map(apply_finish_time).toPropertyWhenPresent("apply_finish_time", row::getApply_finish_time) - .map(apply_reason).toPropertyWhenPresent("apply_reason", row::getApply_reason) - .map(next_check_org_id).toPropertyWhenPresent("next_check_org_id", row::getNext_check_org_id) - .map(end_check_org_id).toPropertyWhenPresent("end_check_org_id", row::getEnd_check_org_id) - .map(cer_id).toPropertyWhenPresent("cer_id", row::getCer_id) - .map(company_id).toPropertyWhenPresent("company_id", row::getCompany_id) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, certificateApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source Table: public.certificate_apply") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, certificateApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source Table: public.certificate_apply") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, certificateApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source Table: public.certificate_apply") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source Table: public.certificate_apply") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, certificateApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source Table: public.certificate_apply") - static UpdateDSL updateAllColumns(CertificateApply row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(is_org).equalTo(row::getIs_org) - .set(user_id).equalTo(row::getUser_id) - .set(user_name).equalTo(row::getUser_name) - .set(user_real_name).equalTo(row::getUser_real_name) - .set(user_phone).equalTo(row::getUser_phone) - .set(user_org_id).equalTo(row::getUser_org_id) - .set(user_org_name).equalTo(row::getUser_org_name) - .set(apply_type).equalTo(row::getApply_type) - .set(status).equalTo(row::getStatus) - .set(apply_time).equalTo(row::getApply_time) - .set(apply_finish_time).equalTo(row::getApply_finish_time) - .set(apply_reason).equalTo(row::getApply_reason) - .set(next_check_org_id).equalTo(row::getNext_check_org_id) - .set(end_check_org_id).equalTo(row::getEnd_check_org_id) - .set(cer_id).equalTo(row::getCer_id) - .set(company_id).equalTo(row::getCompany_id); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source Table: public.certificate_apply") - static UpdateDSL updateSelectiveColumns(CertificateApply row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(is_org).equalToWhenPresent(row::getIs_org) - .set(user_id).equalToWhenPresent(row::getUser_id) - .set(user_name).equalToWhenPresent(row::getUser_name) - .set(user_real_name).equalToWhenPresent(row::getUser_real_name) - .set(user_phone).equalToWhenPresent(row::getUser_phone) - .set(user_org_id).equalToWhenPresent(row::getUser_org_id) - .set(user_org_name).equalToWhenPresent(row::getUser_org_name) - .set(apply_type).equalToWhenPresent(row::getApply_type) - .set(status).equalToWhenPresent(row::getStatus) - .set(apply_time).equalToWhenPresent(row::getApply_time) - .set(apply_finish_time).equalToWhenPresent(row::getApply_finish_time) - .set(apply_reason).equalToWhenPresent(row::getApply_reason) - .set(next_check_org_id).equalToWhenPresent(row::getNext_check_org_id) - .set(end_check_org_id).equalToWhenPresent(row::getEnd_check_org_id) - .set(cer_id).equalToWhenPresent(row::getCer_id) - .set(company_id).equalToWhenPresent(row::getCompany_id); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source Table: public.certificate_apply") - default int updateByPrimaryKey(CertificateApply row) { - return update(c -> - c.set(is_org).equalTo(row::getIs_org) - .set(user_id).equalTo(row::getUser_id) - .set(user_name).equalTo(row::getUser_name) - .set(user_real_name).equalTo(row::getUser_real_name) - .set(user_phone).equalTo(row::getUser_phone) - .set(user_org_id).equalTo(row::getUser_org_id) - .set(user_org_name).equalTo(row::getUser_org_name) - .set(apply_type).equalTo(row::getApply_type) - .set(status).equalTo(row::getStatus) - .set(apply_time).equalTo(row::getApply_time) - .set(apply_finish_time).equalTo(row::getApply_finish_time) - .set(apply_reason).equalTo(row::getApply_reason) - .set(next_check_org_id).equalTo(row::getNext_check_org_id) - .set(end_check_org_id).equalTo(row::getEnd_check_org_id) - .set(cer_id).equalTo(row::getCer_id) - .set(company_id).equalTo(row::getCompany_id) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source Table: public.certificate_apply") - default int updateByPrimaryKeySelective(CertificateApply row) { - return update(c -> - c.set(is_org).equalToWhenPresent(row::getIs_org) - .set(user_id).equalToWhenPresent(row::getUser_id) - .set(user_name).equalToWhenPresent(row::getUser_name) - .set(user_real_name).equalToWhenPresent(row::getUser_real_name) - .set(user_phone).equalToWhenPresent(row::getUser_phone) - .set(user_org_id).equalToWhenPresent(row::getUser_org_id) - .set(user_org_name).equalToWhenPresent(row::getUser_org_name) - .set(apply_type).equalToWhenPresent(row::getApply_type) - .set(status).equalToWhenPresent(row::getStatus) - .set(apply_time).equalToWhenPresent(row::getApply_time) - .set(apply_finish_time).equalToWhenPresent(row::getApply_finish_time) - .set(apply_reason).equalToWhenPresent(row::getApply_reason) - .set(next_check_org_id).equalToWhenPresent(row::getNext_check_org_id) - .set(end_check_org_id).equalToWhenPresent(row::getEnd_check_org_id) - .set(cer_id).equalToWhenPresent(row::getCer_id) - .set(company_id).equalToWhenPresent(row::getCompany_id) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/CertificateApplyRecordMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/CertificateApplyRecordMapper.java deleted file mode 100644 index edd442e..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/CertificateApplyRecordMapper.java +++ /dev/null @@ -1,249 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.CertificateApplyRecordDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.CertificateApplyRecord; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface CertificateApplyRecordMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - BasicColumn[] selectList = BasicColumn.columnList(id, certificate_apply_id, certificate_apply_user_id, certificate_apply_user_org_id, is_org, apply_type, check_user_id, check_user_name, check_org_id, check_org_name, check_describe, check_status, check_time, next_check_org_id, next_check_org_name); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="CertificateApplyRecordResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="certificate_apply_id", property="certificate_apply_id", jdbcType=JdbcType.VARCHAR), - @Result(column="certificate_apply_user_id", property="certificate_apply_user_id", jdbcType=JdbcType.VARCHAR), - @Result(column="certificate_apply_user_org_id", property="certificate_apply_user_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="is_org", property="is_org", jdbcType=JdbcType.INTEGER), - @Result(column="apply_type", property="apply_type", jdbcType=JdbcType.INTEGER), - @Result(column="check_user_id", property="check_user_id", jdbcType=JdbcType.VARCHAR), - @Result(column="check_user_name", property="check_user_name", jdbcType=JdbcType.VARCHAR), - @Result(column="check_org_id", property="check_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="check_org_name", property="check_org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="check_describe", property="check_describe", jdbcType=JdbcType.VARCHAR), - @Result(column="check_status", property="check_status", jdbcType=JdbcType.INTEGER), - @Result(column="check_time", property="check_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="next_check_org_id", property="next_check_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="next_check_org_name", property="next_check_org_name", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("CertificateApplyRecordResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, certificateApplyRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, certificateApplyRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - default int insert(CertificateApplyRecord row) { - return MyBatis3Utils.insert(this::insert, row, certificateApplyRecord, c -> - c.map(id).toProperty("id") - .map(certificate_apply_id).toProperty("certificate_apply_id") - .map(certificate_apply_user_id).toProperty("certificate_apply_user_id") - .map(certificate_apply_user_org_id).toProperty("certificate_apply_user_org_id") - .map(is_org).toProperty("is_org") - .map(apply_type).toProperty("apply_type") - .map(check_user_id).toProperty("check_user_id") - .map(check_user_name).toProperty("check_user_name") - .map(check_org_id).toProperty("check_org_id") - .map(check_org_name).toProperty("check_org_name") - .map(check_describe).toProperty("check_describe") - .map(check_status).toProperty("check_status") - .map(check_time).toProperty("check_time") - .map(next_check_org_id).toProperty("next_check_org_id") - .map(next_check_org_name).toProperty("next_check_org_name") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, certificateApplyRecord, c -> - c.map(id).toProperty("id") - .map(certificate_apply_id).toProperty("certificate_apply_id") - .map(certificate_apply_user_id).toProperty("certificate_apply_user_id") - .map(certificate_apply_user_org_id).toProperty("certificate_apply_user_org_id") - .map(is_org).toProperty("is_org") - .map(apply_type).toProperty("apply_type") - .map(check_user_id).toProperty("check_user_id") - .map(check_user_name).toProperty("check_user_name") - .map(check_org_id).toProperty("check_org_id") - .map(check_org_name).toProperty("check_org_name") - .map(check_describe).toProperty("check_describe") - .map(check_status).toProperty("check_status") - .map(check_time).toProperty("check_time") - .map(next_check_org_id).toProperty("next_check_org_id") - .map(next_check_org_name).toProperty("next_check_org_name") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - default int insertSelective(CertificateApplyRecord row) { - return MyBatis3Utils.insert(this::insert, row, certificateApplyRecord, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(certificate_apply_id).toPropertyWhenPresent("certificate_apply_id", row::getCertificate_apply_id) - .map(certificate_apply_user_id).toPropertyWhenPresent("certificate_apply_user_id", row::getCertificate_apply_user_id) - .map(certificate_apply_user_org_id).toPropertyWhenPresent("certificate_apply_user_org_id", row::getCertificate_apply_user_org_id) - .map(is_org).toPropertyWhenPresent("is_org", row::getIs_org) - .map(apply_type).toPropertyWhenPresent("apply_type", row::getApply_type) - .map(check_user_id).toPropertyWhenPresent("check_user_id", row::getCheck_user_id) - .map(check_user_name).toPropertyWhenPresent("check_user_name", row::getCheck_user_name) - .map(check_org_id).toPropertyWhenPresent("check_org_id", row::getCheck_org_id) - .map(check_org_name).toPropertyWhenPresent("check_org_name", row::getCheck_org_name) - .map(check_describe).toPropertyWhenPresent("check_describe", row::getCheck_describe) - .map(check_status).toPropertyWhenPresent("check_status", row::getCheck_status) - .map(check_time).toPropertyWhenPresent("check_time", row::getCheck_time) - .map(next_check_org_id).toPropertyWhenPresent("next_check_org_id", row::getNext_check_org_id) - .map(next_check_org_name).toPropertyWhenPresent("next_check_org_name", row::getNext_check_org_name) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, certificateApplyRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, certificateApplyRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, certificateApplyRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, certificateApplyRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source Table: public.certificate_apply_record") - static UpdateDSL updateAllColumns(CertificateApplyRecord row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(certificate_apply_id).equalTo(row::getCertificate_apply_id) - .set(certificate_apply_user_id).equalTo(row::getCertificate_apply_user_id) - .set(certificate_apply_user_org_id).equalTo(row::getCertificate_apply_user_org_id) - .set(is_org).equalTo(row::getIs_org) - .set(apply_type).equalTo(row::getApply_type) - .set(check_user_id).equalTo(row::getCheck_user_id) - .set(check_user_name).equalTo(row::getCheck_user_name) - .set(check_org_id).equalTo(row::getCheck_org_id) - .set(check_org_name).equalTo(row::getCheck_org_name) - .set(check_describe).equalTo(row::getCheck_describe) - .set(check_status).equalTo(row::getCheck_status) - .set(check_time).equalTo(row::getCheck_time) - .set(next_check_org_id).equalTo(row::getNext_check_org_id) - .set(next_check_org_name).equalTo(row::getNext_check_org_name); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source Table: public.certificate_apply_record") - static UpdateDSL updateSelectiveColumns(CertificateApplyRecord row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(certificate_apply_id).equalToWhenPresent(row::getCertificate_apply_id) - .set(certificate_apply_user_id).equalToWhenPresent(row::getCertificate_apply_user_id) - .set(certificate_apply_user_org_id).equalToWhenPresent(row::getCertificate_apply_user_org_id) - .set(is_org).equalToWhenPresent(row::getIs_org) - .set(apply_type).equalToWhenPresent(row::getApply_type) - .set(check_user_id).equalToWhenPresent(row::getCheck_user_id) - .set(check_user_name).equalToWhenPresent(row::getCheck_user_name) - .set(check_org_id).equalToWhenPresent(row::getCheck_org_id) - .set(check_org_name).equalToWhenPresent(row::getCheck_org_name) - .set(check_describe).equalToWhenPresent(row::getCheck_describe) - .set(check_status).equalToWhenPresent(row::getCheck_status) - .set(check_time).equalToWhenPresent(row::getCheck_time) - .set(next_check_org_id).equalToWhenPresent(row::getNext_check_org_id) - .set(next_check_org_name).equalToWhenPresent(row::getNext_check_org_name); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source Table: public.certificate_apply_record") - default int updateByPrimaryKey(CertificateApplyRecord row) { - return update(c -> - c.set(certificate_apply_id).equalTo(row::getCertificate_apply_id) - .set(certificate_apply_user_id).equalTo(row::getCertificate_apply_user_id) - .set(certificate_apply_user_org_id).equalTo(row::getCertificate_apply_user_org_id) - .set(is_org).equalTo(row::getIs_org) - .set(apply_type).equalTo(row::getApply_type) - .set(check_user_id).equalTo(row::getCheck_user_id) - .set(check_user_name).equalTo(row::getCheck_user_name) - .set(check_org_id).equalTo(row::getCheck_org_id) - .set(check_org_name).equalTo(row::getCheck_org_name) - .set(check_describe).equalTo(row::getCheck_describe) - .set(check_status).equalTo(row::getCheck_status) - .set(check_time).equalTo(row::getCheck_time) - .set(next_check_org_id).equalTo(row::getNext_check_org_id) - .set(next_check_org_name).equalTo(row::getNext_check_org_name) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source Table: public.certificate_apply_record") - default int updateByPrimaryKeySelective(CertificateApplyRecord row) { - return update(c -> - c.set(certificate_apply_id).equalToWhenPresent(row::getCertificate_apply_id) - .set(certificate_apply_user_id).equalToWhenPresent(row::getCertificate_apply_user_id) - .set(certificate_apply_user_org_id).equalToWhenPresent(row::getCertificate_apply_user_org_id) - .set(is_org).equalToWhenPresent(row::getIs_org) - .set(apply_type).equalToWhenPresent(row::getApply_type) - .set(check_user_id).equalToWhenPresent(row::getCheck_user_id) - .set(check_user_name).equalToWhenPresent(row::getCheck_user_name) - .set(check_org_id).equalToWhenPresent(row::getCheck_org_id) - .set(check_org_name).equalToWhenPresent(row::getCheck_org_name) - .set(check_describe).equalToWhenPresent(row::getCheck_describe) - .set(check_status).equalToWhenPresent(row::getCheck_status) - .set(check_time).equalToWhenPresent(row::getCheck_time) - .set(next_check_org_id).equalToWhenPresent(row::getNext_check_org_id) - .set(next_check_org_name).equalToWhenPresent(row::getNext_check_org_name) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/CertificateDetailMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/CertificateDetailMapper.java deleted file mode 100644 index 5b4cf8a..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/CertificateDetailMapper.java +++ /dev/null @@ -1,241 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.CertificateDetailDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.CertificateDetail; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface CertificateDetailMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - BasicColumn[] selectList = BasicColumn.columnList(id, certificate_apply_id, work_start_time, work_end_time, status, cert_file_content, is_up_chain, weid, private_key_hex_str, x509_serial_number, x509_subject, x509_issuer, x509_public_key, x509_sig_alg_name); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="CertificateDetailResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="certificate_apply_id", property="certificate_apply_id", jdbcType=JdbcType.VARCHAR), - @Result(column="work_start_time", property="work_start_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="work_end_time", property="work_end_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), - @Result(column="cert_file_content", property="cert_file_content", jdbcType=JdbcType.VARCHAR), - @Result(column="is_up_chain", property="is_up_chain", jdbcType=JdbcType.INTEGER), - @Result(column="weid", property="weid", jdbcType=JdbcType.VARCHAR), - @Result(column="private_key_hex_str", property="private_key_hex_str", jdbcType=JdbcType.VARCHAR), - @Result(column="x509_serial_number", property="x509_serial_number", jdbcType=JdbcType.VARCHAR), - @Result(column="x509_subject", property="x509_subject", jdbcType=JdbcType.VARCHAR), - @Result(column="x509_issuer", property="x509_issuer", jdbcType=JdbcType.VARCHAR), - @Result(column="x509_public_key", property="x509_public_key", jdbcType=JdbcType.VARCHAR), - @Result(column="x509_sig_alg_name", property="x509_sig_alg_name", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("CertificateDetailResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, certificateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, certificateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default int insert(CertificateDetail row) { - return MyBatis3Utils.insert(this::insert, row, certificateDetail, c -> - c.map(id).toProperty("id") - .map(certificate_apply_id).toProperty("certificate_apply_id") - .map(work_start_time).toProperty("work_start_time") - .map(work_end_time).toProperty("work_end_time") - .map(status).toProperty("status") - .map(cert_file_content).toProperty("cert_file_content") - .map(is_up_chain).toProperty("is_up_chain") - .map(weid).toProperty("weid") - .map(private_key_hex_str).toProperty("private_key_hex_str") - .map(x509_serial_number).toProperty("x509_serial_number") - .map(x509_subject).toProperty("x509_subject") - .map(x509_issuer).toProperty("x509_issuer") - .map(x509_public_key).toProperty("x509_public_key") - .map(x509_sig_alg_name).toProperty("x509_sig_alg_name") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, certificateDetail, c -> - c.map(id).toProperty("id") - .map(certificate_apply_id).toProperty("certificate_apply_id") - .map(work_start_time).toProperty("work_start_time") - .map(work_end_time).toProperty("work_end_time") - .map(status).toProperty("status") - .map(cert_file_content).toProperty("cert_file_content") - .map(is_up_chain).toProperty("is_up_chain") - .map(weid).toProperty("weid") - .map(private_key_hex_str).toProperty("private_key_hex_str") - .map(x509_serial_number).toProperty("x509_serial_number") - .map(x509_subject).toProperty("x509_subject") - .map(x509_issuer).toProperty("x509_issuer") - .map(x509_public_key).toProperty("x509_public_key") - .map(x509_sig_alg_name).toProperty("x509_sig_alg_name") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default int insertSelective(CertificateDetail row) { - return MyBatis3Utils.insert(this::insert, row, certificateDetail, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(certificate_apply_id).toPropertyWhenPresent("certificate_apply_id", row::getCertificate_apply_id) - .map(work_start_time).toPropertyWhenPresent("work_start_time", row::getWork_start_time) - .map(work_end_time).toPropertyWhenPresent("work_end_time", row::getWork_end_time) - .map(status).toPropertyWhenPresent("status", row::getStatus) - .map(cert_file_content).toPropertyWhenPresent("cert_file_content", row::getCert_file_content) - .map(is_up_chain).toPropertyWhenPresent("is_up_chain", row::getIs_up_chain) - .map(weid).toPropertyWhenPresent("weid", row::getWeid) - .map(private_key_hex_str).toPropertyWhenPresent("private_key_hex_str", row::getPrivate_key_hex_str) - .map(x509_serial_number).toPropertyWhenPresent("x509_serial_number", row::getX509_serial_number) - .map(x509_subject).toPropertyWhenPresent("x509_subject", row::getX509_subject) - .map(x509_issuer).toPropertyWhenPresent("x509_issuer", row::getX509_issuer) - .map(x509_public_key).toPropertyWhenPresent("x509_public_key", row::getX509_public_key) - .map(x509_sig_alg_name).toPropertyWhenPresent("x509_sig_alg_name", row::getX509_sig_alg_name) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, certificateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, certificateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, certificateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, certificateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - static UpdateDSL updateAllColumns(CertificateDetail row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(certificate_apply_id).equalTo(row::getCertificate_apply_id) - .set(work_start_time).equalTo(row::getWork_start_time) - .set(work_end_time).equalTo(row::getWork_end_time) - .set(status).equalTo(row::getStatus) - .set(cert_file_content).equalTo(row::getCert_file_content) - .set(is_up_chain).equalTo(row::getIs_up_chain) - .set(weid).equalTo(row::getWeid) - .set(private_key_hex_str).equalTo(row::getPrivate_key_hex_str) - .set(x509_serial_number).equalTo(row::getX509_serial_number) - .set(x509_subject).equalTo(row::getX509_subject) - .set(x509_issuer).equalTo(row::getX509_issuer) - .set(x509_public_key).equalTo(row::getX509_public_key) - .set(x509_sig_alg_name).equalTo(row::getX509_sig_alg_name); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - static UpdateDSL updateSelectiveColumns(CertificateDetail row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(certificate_apply_id).equalToWhenPresent(row::getCertificate_apply_id) - .set(work_start_time).equalToWhenPresent(row::getWork_start_time) - .set(work_end_time).equalToWhenPresent(row::getWork_end_time) - .set(status).equalToWhenPresent(row::getStatus) - .set(cert_file_content).equalToWhenPresent(row::getCert_file_content) - .set(is_up_chain).equalToWhenPresent(row::getIs_up_chain) - .set(weid).equalToWhenPresent(row::getWeid) - .set(private_key_hex_str).equalToWhenPresent(row::getPrivate_key_hex_str) - .set(x509_serial_number).equalToWhenPresent(row::getX509_serial_number) - .set(x509_subject).equalToWhenPresent(row::getX509_subject) - .set(x509_issuer).equalToWhenPresent(row::getX509_issuer) - .set(x509_public_key).equalToWhenPresent(row::getX509_public_key) - .set(x509_sig_alg_name).equalToWhenPresent(row::getX509_sig_alg_name); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default int updateByPrimaryKey(CertificateDetail row) { - return update(c -> - c.set(certificate_apply_id).equalTo(row::getCertificate_apply_id) - .set(work_start_time).equalTo(row::getWork_start_time) - .set(work_end_time).equalTo(row::getWork_end_time) - .set(status).equalTo(row::getStatus) - .set(cert_file_content).equalTo(row::getCert_file_content) - .set(is_up_chain).equalTo(row::getIs_up_chain) - .set(weid).equalTo(row::getWeid) - .set(private_key_hex_str).equalTo(row::getPrivate_key_hex_str) - .set(x509_serial_number).equalTo(row::getX509_serial_number) - .set(x509_subject).equalTo(row::getX509_subject) - .set(x509_issuer).equalTo(row::getX509_issuer) - .set(x509_public_key).equalTo(row::getX509_public_key) - .set(x509_sig_alg_name).equalTo(row::getX509_sig_alg_name) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source Table: public.certificate_detail") - default int updateByPrimaryKeySelective(CertificateDetail row) { - return update(c -> - c.set(certificate_apply_id).equalToWhenPresent(row::getCertificate_apply_id) - .set(work_start_time).equalToWhenPresent(row::getWork_start_time) - .set(work_end_time).equalToWhenPresent(row::getWork_end_time) - .set(status).equalToWhenPresent(row::getStatus) - .set(cert_file_content).equalToWhenPresent(row::getCert_file_content) - .set(is_up_chain).equalToWhenPresent(row::getIs_up_chain) - .set(weid).equalToWhenPresent(row::getWeid) - .set(private_key_hex_str).equalToWhenPresent(row::getPrivate_key_hex_str) - .set(x509_serial_number).equalToWhenPresent(row::getX509_serial_number) - .set(x509_subject).equalToWhenPresent(row::getX509_subject) - .set(x509_issuer).equalToWhenPresent(row::getX509_issuer) - .set(x509_public_key).equalToWhenPresent(row::getX509_public_key) - .set(x509_sig_alg_name).equalToWhenPresent(row::getX509_sig_alg_name) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/DecryptLogMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/DecryptLogMapper.java deleted file mode 100644 index f57caea..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/DecryptLogMapper.java +++ /dev/null @@ -1,201 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.DecryptLogDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.DecryptLog; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface DecryptLogMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - BasicColumn[] selectList = BasicColumn.columnList(id, weid, content_type, content_id, dec_time, location, sm9hibeid, status, sign); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="DecryptLogResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="weid", property="weid", jdbcType=JdbcType.VARCHAR), - @Result(column="content_type", property="content_type", jdbcType=JdbcType.INTEGER), - @Result(column="content_id", property="content_id", jdbcType=JdbcType.VARCHAR), - @Result(column="dec_time", property="dec_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="location", property="location", jdbcType=JdbcType.VARCHAR), - @Result(column="sm9hibeid", property="sm9hibeid", jdbcType=JdbcType.VARCHAR), - @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), - @Result(column="sign", property="sign", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("DecryptLogResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, decryptLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, decryptLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default int insert(DecryptLog row) { - return MyBatis3Utils.insert(this::insert, row, decryptLog, c -> - c.map(id).toProperty("id") - .map(weid).toProperty("weid") - .map(content_type).toProperty("content_type") - .map(content_id).toProperty("content_id") - .map(dec_time).toProperty("dec_time") - .map(location).toProperty("location") - .map(sm9hibeid).toProperty("sm9hibeid") - .map(status).toProperty("status") - .map(sign).toProperty("sign") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, decryptLog, c -> - c.map(id).toProperty("id") - .map(weid).toProperty("weid") - .map(content_type).toProperty("content_type") - .map(content_id).toProperty("content_id") - .map(dec_time).toProperty("dec_time") - .map(location).toProperty("location") - .map(sm9hibeid).toProperty("sm9hibeid") - .map(status).toProperty("status") - .map(sign).toProperty("sign") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default int insertSelective(DecryptLog row) { - return MyBatis3Utils.insert(this::insert, row, decryptLog, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(weid).toPropertyWhenPresent("weid", row::getWeid) - .map(content_type).toPropertyWhenPresent("content_type", row::getContent_type) - .map(content_id).toPropertyWhenPresent("content_id", row::getContent_id) - .map(dec_time).toPropertyWhenPresent("dec_time", row::getDec_time) - .map(location).toPropertyWhenPresent("location", row::getLocation) - .map(sm9hibeid).toPropertyWhenPresent("sm9hibeid", row::getSm9hibeid) - .map(status).toPropertyWhenPresent("status", row::getStatus) - .map(sign).toPropertyWhenPresent("sign", row::getSign) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, decryptLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, decryptLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, decryptLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, decryptLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - static UpdateDSL updateAllColumns(DecryptLog row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(weid).equalTo(row::getWeid) - .set(content_type).equalTo(row::getContent_type) - .set(content_id).equalTo(row::getContent_id) - .set(dec_time).equalTo(row::getDec_time) - .set(location).equalTo(row::getLocation) - .set(sm9hibeid).equalTo(row::getSm9hibeid) - .set(status).equalTo(row::getStatus) - .set(sign).equalTo(row::getSign); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - static UpdateDSL updateSelectiveColumns(DecryptLog row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(weid).equalToWhenPresent(row::getWeid) - .set(content_type).equalToWhenPresent(row::getContent_type) - .set(content_id).equalToWhenPresent(row::getContent_id) - .set(dec_time).equalToWhenPresent(row::getDec_time) - .set(location).equalToWhenPresent(row::getLocation) - .set(sm9hibeid).equalToWhenPresent(row::getSm9hibeid) - .set(status).equalToWhenPresent(row::getStatus) - .set(sign).equalToWhenPresent(row::getSign); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default int updateByPrimaryKey(DecryptLog row) { - return update(c -> - c.set(weid).equalTo(row::getWeid) - .set(content_type).equalTo(row::getContent_type) - .set(content_id).equalTo(row::getContent_id) - .set(dec_time).equalTo(row::getDec_time) - .set(location).equalTo(row::getLocation) - .set(sm9hibeid).equalTo(row::getSm9hibeid) - .set(status).equalTo(row::getStatus) - .set(sign).equalTo(row::getSign) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source Table: public.decrypt_log") - default int updateByPrimaryKeySelective(DecryptLog row) { - return update(c -> - c.set(weid).equalToWhenPresent(row::getWeid) - .set(content_type).equalToWhenPresent(row::getContent_type) - .set(content_id).equalToWhenPresent(row::getContent_id) - .set(dec_time).equalToWhenPresent(row::getDec_time) - .set(location).equalToWhenPresent(row::getLocation) - .set(sm9hibeid).equalToWhenPresent(row::getSm9hibeid) - .set(status).equalToWhenPresent(row::getStatus) - .set(sign).equalToWhenPresent(row::getSign) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/DownloadLogMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/DownloadLogMapper.java deleted file mode 100644 index a32bab2..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/DownloadLogMapper.java +++ /dev/null @@ -1,185 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.DownloadLogDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.DownloadLog; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface DownloadLogMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - BasicColumn[] selectList = BasicColumn.columnList(id, weid, downloadtime, filenum, content_type, contentid, sign); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source Table: public.download_log") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="DownloadLogResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="weid", property="weid", jdbcType=JdbcType.VARCHAR), - @Result(column="downloadtime", property="downloadtime", jdbcType=JdbcType.TIMESTAMP), - @Result(column="filenum", property="filenum", jdbcType=JdbcType.INTEGER), - @Result(column="content_type", property="content_type", jdbcType=JdbcType.INTEGER), - @Result(column="contentid", property="contentid", jdbcType=JdbcType.VARCHAR), - @Result(column="sign", property="sign", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source Table: public.download_log") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("DownloadLogResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source Table: public.download_log") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, downloadLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source Table: public.download_log") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, downloadLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source Table: public.download_log") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - default int insert(DownloadLog row) { - return MyBatis3Utils.insert(this::insert, row, downloadLog, c -> - c.map(id).toProperty("id") - .map(weid).toProperty("weid") - .map(downloadtime).toProperty("downloadtime") - .map(filenum).toProperty("filenum") - .map(content_type).toProperty("content_type") - .map(contentid).toProperty("contentid") - .map(sign).toProperty("sign") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, downloadLog, c -> - c.map(id).toProperty("id") - .map(weid).toProperty("weid") - .map(downloadtime).toProperty("downloadtime") - .map(filenum).toProperty("filenum") - .map(content_type).toProperty("content_type") - .map(contentid).toProperty("contentid") - .map(sign).toProperty("sign") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - default int insertSelective(DownloadLog row) { - return MyBatis3Utils.insert(this::insert, row, downloadLog, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(weid).toPropertyWhenPresent("weid", row::getWeid) - .map(downloadtime).toPropertyWhenPresent("downloadtime", row::getDownloadtime) - .map(filenum).toPropertyWhenPresent("filenum", row::getFilenum) - .map(content_type).toPropertyWhenPresent("content_type", row::getContent_type) - .map(contentid).toPropertyWhenPresent("contentid", row::getContentid) - .map(sign).toPropertyWhenPresent("sign", row::getSign) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, downloadLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, downloadLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, downloadLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, downloadLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - static UpdateDSL updateAllColumns(DownloadLog row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(weid).equalTo(row::getWeid) - .set(downloadtime).equalTo(row::getDownloadtime) - .set(filenum).equalTo(row::getFilenum) - .set(content_type).equalTo(row::getContent_type) - .set(contentid).equalTo(row::getContentid) - .set(sign).equalTo(row::getSign); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - static UpdateDSL updateSelectiveColumns(DownloadLog row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(weid).equalToWhenPresent(row::getWeid) - .set(downloadtime).equalToWhenPresent(row::getDownloadtime) - .set(filenum).equalToWhenPresent(row::getFilenum) - .set(content_type).equalToWhenPresent(row::getContent_type) - .set(contentid).equalToWhenPresent(row::getContentid) - .set(sign).equalToWhenPresent(row::getSign); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2531552+08:00", comments="Source Table: public.download_log") - default int updateByPrimaryKey(DownloadLog row) { - return update(c -> - c.set(weid).equalTo(row::getWeid) - .set(downloadtime).equalTo(row::getDownloadtime) - .set(filenum).equalTo(row::getFilenum) - .set(content_type).equalTo(row::getContent_type) - .set(contentid).equalTo(row::getContentid) - .set(sign).equalTo(row::getSign) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2541531+08:00", comments="Source Table: public.download_log") - default int updateByPrimaryKeySelective(DownloadLog row) { - return update(c -> - c.set(weid).equalToWhenPresent(row::getWeid) - .set(downloadtime).equalToWhenPresent(row::getDownloadtime) - .set(filenum).equalToWhenPresent(row::getFilenum) - .set(content_type).equalToWhenPresent(row::getContent_type) - .set(contentid).equalToWhenPresent(row::getContentid) - .set(sign).equalToWhenPresent(row::getSign) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyCheckRecordMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyCheckRecordMapper.java deleted file mode 100644 index 3dabdbd..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyCheckRecordMapper.java +++ /dev/null @@ -1,249 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.FilesApplyCheckRecordDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.FilesApplyCheckRecord; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface FilesApplyCheckRecordMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - BasicColumn[] selectList = BasicColumn.columnList(id, files_apply_id, is_apply_provider, check_user_id, check_user_name, check_org_id, check_org_name, next_check_org_id, next_check_org_name, check_describe, check_status, check_time, provider_next_check_role_sign_id, provider_next_check_role_sign_name, sign); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="FilesApplyCheckRecordResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="files_apply_id", property="files_apply_id", jdbcType=JdbcType.VARCHAR), - @Result(column="is_apply_provider", property="is_apply_provider", jdbcType=JdbcType.INTEGER), - @Result(column="check_user_id", property="check_user_id", jdbcType=JdbcType.VARCHAR), - @Result(column="check_user_name", property="check_user_name", jdbcType=JdbcType.VARCHAR), - @Result(column="check_org_id", property="check_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="check_org_name", property="check_org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="next_check_org_id", property="next_check_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="next_check_org_name", property="next_check_org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="check_describe", property="check_describe", jdbcType=JdbcType.VARCHAR), - @Result(column="check_status", property="check_status", jdbcType=JdbcType.INTEGER), - @Result(column="check_time", property="check_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="provider_next_check_role_sign_id", property="provider_next_check_role_sign_id", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_next_check_role_sign_name", property="provider_next_check_role_sign_name", jdbcType=JdbcType.VARCHAR), - @Result(column="sign", property="sign", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("FilesApplyCheckRecordResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, filesApplyCheckRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, filesApplyCheckRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default int insert(FilesApplyCheckRecord row) { - return MyBatis3Utils.insert(this::insert, row, filesApplyCheckRecord, c -> - c.map(id).toProperty("id") - .map(files_apply_id).toProperty("files_apply_id") - .map(is_apply_provider).toProperty("is_apply_provider") - .map(check_user_id).toProperty("check_user_id") - .map(check_user_name).toProperty("check_user_name") - .map(check_org_id).toProperty("check_org_id") - .map(check_org_name).toProperty("check_org_name") - .map(next_check_org_id).toProperty("next_check_org_id") - .map(next_check_org_name).toProperty("next_check_org_name") - .map(check_describe).toProperty("check_describe") - .map(check_status).toProperty("check_status") - .map(check_time).toProperty("check_time") - .map(provider_next_check_role_sign_id).toProperty("provider_next_check_role_sign_id") - .map(provider_next_check_role_sign_name).toProperty("provider_next_check_role_sign_name") - .map(sign).toProperty("sign") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, filesApplyCheckRecord, c -> - c.map(id).toProperty("id") - .map(files_apply_id).toProperty("files_apply_id") - .map(is_apply_provider).toProperty("is_apply_provider") - .map(check_user_id).toProperty("check_user_id") - .map(check_user_name).toProperty("check_user_name") - .map(check_org_id).toProperty("check_org_id") - .map(check_org_name).toProperty("check_org_name") - .map(next_check_org_id).toProperty("next_check_org_id") - .map(next_check_org_name).toProperty("next_check_org_name") - .map(check_describe).toProperty("check_describe") - .map(check_status).toProperty("check_status") - .map(check_time).toProperty("check_time") - .map(provider_next_check_role_sign_id).toProperty("provider_next_check_role_sign_id") - .map(provider_next_check_role_sign_name).toProperty("provider_next_check_role_sign_name") - .map(sign).toProperty("sign") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default int insertSelective(FilesApplyCheckRecord row) { - return MyBatis3Utils.insert(this::insert, row, filesApplyCheckRecord, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(files_apply_id).toPropertyWhenPresent("files_apply_id", row::getFiles_apply_id) - .map(is_apply_provider).toPropertyWhenPresent("is_apply_provider", row::getIs_apply_provider) - .map(check_user_id).toPropertyWhenPresent("check_user_id", row::getCheck_user_id) - .map(check_user_name).toPropertyWhenPresent("check_user_name", row::getCheck_user_name) - .map(check_org_id).toPropertyWhenPresent("check_org_id", row::getCheck_org_id) - .map(check_org_name).toPropertyWhenPresent("check_org_name", row::getCheck_org_name) - .map(next_check_org_id).toPropertyWhenPresent("next_check_org_id", row::getNext_check_org_id) - .map(next_check_org_name).toPropertyWhenPresent("next_check_org_name", row::getNext_check_org_name) - .map(check_describe).toPropertyWhenPresent("check_describe", row::getCheck_describe) - .map(check_status).toPropertyWhenPresent("check_status", row::getCheck_status) - .map(check_time).toPropertyWhenPresent("check_time", row::getCheck_time) - .map(provider_next_check_role_sign_id).toPropertyWhenPresent("provider_next_check_role_sign_id", row::getProvider_next_check_role_sign_id) - .map(provider_next_check_role_sign_name).toPropertyWhenPresent("provider_next_check_role_sign_name", row::getProvider_next_check_role_sign_name) - .map(sign).toPropertyWhenPresent("sign", row::getSign) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, filesApplyCheckRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, filesApplyCheckRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, filesApplyCheckRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, filesApplyCheckRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - static UpdateDSL updateAllColumns(FilesApplyCheckRecord row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(files_apply_id).equalTo(row::getFiles_apply_id) - .set(is_apply_provider).equalTo(row::getIs_apply_provider) - .set(check_user_id).equalTo(row::getCheck_user_id) - .set(check_user_name).equalTo(row::getCheck_user_name) - .set(check_org_id).equalTo(row::getCheck_org_id) - .set(check_org_name).equalTo(row::getCheck_org_name) - .set(next_check_org_id).equalTo(row::getNext_check_org_id) - .set(next_check_org_name).equalTo(row::getNext_check_org_name) - .set(check_describe).equalTo(row::getCheck_describe) - .set(check_status).equalTo(row::getCheck_status) - .set(check_time).equalTo(row::getCheck_time) - .set(provider_next_check_role_sign_id).equalTo(row::getProvider_next_check_role_sign_id) - .set(provider_next_check_role_sign_name).equalTo(row::getProvider_next_check_role_sign_name) - .set(sign).equalTo(row::getSign); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - static UpdateDSL updateSelectiveColumns(FilesApplyCheckRecord row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(files_apply_id).equalToWhenPresent(row::getFiles_apply_id) - .set(is_apply_provider).equalToWhenPresent(row::getIs_apply_provider) - .set(check_user_id).equalToWhenPresent(row::getCheck_user_id) - .set(check_user_name).equalToWhenPresent(row::getCheck_user_name) - .set(check_org_id).equalToWhenPresent(row::getCheck_org_id) - .set(check_org_name).equalToWhenPresent(row::getCheck_org_name) - .set(next_check_org_id).equalToWhenPresent(row::getNext_check_org_id) - .set(next_check_org_name).equalToWhenPresent(row::getNext_check_org_name) - .set(check_describe).equalToWhenPresent(row::getCheck_describe) - .set(check_status).equalToWhenPresent(row::getCheck_status) - .set(check_time).equalToWhenPresent(row::getCheck_time) - .set(provider_next_check_role_sign_id).equalToWhenPresent(row::getProvider_next_check_role_sign_id) - .set(provider_next_check_role_sign_name).equalToWhenPresent(row::getProvider_next_check_role_sign_name) - .set(sign).equalToWhenPresent(row::getSign); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default int updateByPrimaryKey(FilesApplyCheckRecord row) { - return update(c -> - c.set(files_apply_id).equalTo(row::getFiles_apply_id) - .set(is_apply_provider).equalTo(row::getIs_apply_provider) - .set(check_user_id).equalTo(row::getCheck_user_id) - .set(check_user_name).equalTo(row::getCheck_user_name) - .set(check_org_id).equalTo(row::getCheck_org_id) - .set(check_org_name).equalTo(row::getCheck_org_name) - .set(next_check_org_id).equalTo(row::getNext_check_org_id) - .set(next_check_org_name).equalTo(row::getNext_check_org_name) - .set(check_describe).equalTo(row::getCheck_describe) - .set(check_status).equalTo(row::getCheck_status) - .set(check_time).equalTo(row::getCheck_time) - .set(provider_next_check_role_sign_id).equalTo(row::getProvider_next_check_role_sign_id) - .set(provider_next_check_role_sign_name).equalTo(row::getProvider_next_check_role_sign_name) - .set(sign).equalTo(row::getSign) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source Table: public.files_apply_check_record") - default int updateByPrimaryKeySelective(FilesApplyCheckRecord row) { - return update(c -> - c.set(files_apply_id).equalToWhenPresent(row::getFiles_apply_id) - .set(is_apply_provider).equalToWhenPresent(row::getIs_apply_provider) - .set(check_user_id).equalToWhenPresent(row::getCheck_user_id) - .set(check_user_name).equalToWhenPresent(row::getCheck_user_name) - .set(check_org_id).equalToWhenPresent(row::getCheck_org_id) - .set(check_org_name).equalToWhenPresent(row::getCheck_org_name) - .set(next_check_org_id).equalToWhenPresent(row::getNext_check_org_id) - .set(next_check_org_name).equalToWhenPresent(row::getNext_check_org_name) - .set(check_describe).equalToWhenPresent(row::getCheck_describe) - .set(check_status).equalToWhenPresent(row::getCheck_status) - .set(check_time).equalToWhenPresent(row::getCheck_time) - .set(provider_next_check_role_sign_id).equalToWhenPresent(row::getProvider_next_check_role_sign_id) - .set(provider_next_check_role_sign_name).equalToWhenPresent(row::getProvider_next_check_role_sign_name) - .set(sign).equalToWhenPresent(row::getSign) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyDirectoryDocsMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyDirectoryDocsMapper.java deleted file mode 100644 index d538d40..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyDirectoryDocsMapper.java +++ /dev/null @@ -1,313 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.FilesApplyDirectoryDocsDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.FilesApplyDirectoryDocs; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface FilesApplyDirectoryDocsMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2351522+08:00", comments="Source Table: public.files_apply_directory_docs") - BasicColumn[] selectList = BasicColumn.columnList(id, files_apply_id, directory_file_id, directory_file_p_id, filesuper, filecount, dutyperson, eweavedate, filepage, sortorder, bpeg, epeg, filenum, remark, recordnum, piecenumber, adddate, editdate, time_stamp, isdel, catalogpdfurl, signtag, collecttag); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2252114+08:00", comments="Source Table: public.files_apply_directory_docs") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="FilesApplyDirectoryDocsResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="files_apply_id", property="files_apply_id", jdbcType=JdbcType.VARCHAR), - @Result(column="directory_file_id", property="directory_file_id", jdbcType=JdbcType.VARCHAR), - @Result(column="directory_file_p_id", property="directory_file_p_id", jdbcType=JdbcType.VARCHAR), - @Result(column="filesuper", property="filesuper", jdbcType=JdbcType.VARCHAR), - @Result(column="filecount", property="filecount", jdbcType=JdbcType.INTEGER), - @Result(column="dutyperson", property="dutyperson", jdbcType=JdbcType.VARCHAR), - @Result(column="eweavedate", property="eweavedate", jdbcType=JdbcType.VARCHAR), - @Result(column="filepage", property="filepage", jdbcType=JdbcType.INTEGER), - @Result(column="sortorder", property="sortorder", jdbcType=JdbcType.VARCHAR), - @Result(column="bpeg", property="bpeg", jdbcType=JdbcType.VARCHAR), - @Result(column="epeg", property="epeg", jdbcType=JdbcType.VARCHAR), - @Result(column="filenum", property="filenum", jdbcType=JdbcType.VARCHAR), - @Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), - @Result(column="recordnum", property="recordnum", jdbcType=JdbcType.VARCHAR), - @Result(column="piecenumber", property="piecenumber", jdbcType=JdbcType.VARCHAR), - @Result(column="adddate", property="adddate", jdbcType=JdbcType.VARCHAR), - @Result(column="editdate", property="editdate", jdbcType=JdbcType.VARCHAR), - @Result(column="time_stamp", property="time_stamp", jdbcType=JdbcType.VARCHAR), - @Result(column="isdel", property="isdel", jdbcType=JdbcType.INTEGER), - @Result(column="catalogpdfurl", property="catalogpdfurl", jdbcType=JdbcType.VARCHAR), - @Result(column="signtag", property="signtag", jdbcType=JdbcType.VARCHAR), - @Result(column="collecttag", property="collecttag", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2281844+08:00", comments="Source Table: public.files_apply_directory_docs") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("FilesApplyDirectoryDocsResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2291477+08:00", comments="Source Table: public.files_apply_directory_docs") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, filesApplyDirectoryDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2291477+08:00", comments="Source Table: public.files_apply_directory_docs") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, filesApplyDirectoryDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2301846+08:00", comments="Source Table: public.files_apply_directory_docs") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2301846+08:00", comments="Source Table: public.files_apply_directory_docs") - default int insert(FilesApplyDirectoryDocs row) { - return MyBatis3Utils.insert(this::insert, row, filesApplyDirectoryDocs, c -> - c.map(id).toProperty("id") - .map(files_apply_id).toProperty("files_apply_id") - .map(directory_file_id).toProperty("directory_file_id") - .map(directory_file_p_id).toProperty("directory_file_p_id") - .map(filesuper).toProperty("filesuper") - .map(filecount).toProperty("filecount") - .map(dutyperson).toProperty("dutyperson") - .map(eweavedate).toProperty("eweavedate") - .map(filepage).toProperty("filepage") - .map(sortorder).toProperty("sortorder") - .map(bpeg).toProperty("bpeg") - .map(epeg).toProperty("epeg") - .map(filenum).toProperty("filenum") - .map(remark).toProperty("remark") - .map(recordnum).toProperty("recordnum") - .map(piecenumber).toProperty("piecenumber") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(catalogpdfurl).toProperty("catalogpdfurl") - .map(signtag).toProperty("signtag") - .map(collecttag).toProperty("collecttag") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2331477+08:00", comments="Source Table: public.files_apply_directory_docs") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, filesApplyDirectoryDocs, c -> - c.map(id).toProperty("id") - .map(files_apply_id).toProperty("files_apply_id") - .map(directory_file_id).toProperty("directory_file_id") - .map(directory_file_p_id).toProperty("directory_file_p_id") - .map(filesuper).toProperty("filesuper") - .map(filecount).toProperty("filecount") - .map(dutyperson).toProperty("dutyperson") - .map(eweavedate).toProperty("eweavedate") - .map(filepage).toProperty("filepage") - .map(sortorder).toProperty("sortorder") - .map(bpeg).toProperty("bpeg") - .map(epeg).toProperty("epeg") - .map(filenum).toProperty("filenum") - .map(remark).toProperty("remark") - .map(recordnum).toProperty("recordnum") - .map(piecenumber).toProperty("piecenumber") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(catalogpdfurl).toProperty("catalogpdfurl") - .map(signtag).toProperty("signtag") - .map(collecttag).toProperty("collecttag") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2331477+08:00", comments="Source Table: public.files_apply_directory_docs") - default int insertSelective(FilesApplyDirectoryDocs row) { - return MyBatis3Utils.insert(this::insert, row, filesApplyDirectoryDocs, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(files_apply_id).toPropertyWhenPresent("files_apply_id", row::getFiles_apply_id) - .map(directory_file_id).toPropertyWhenPresent("directory_file_id", row::getDirectory_file_id) - .map(directory_file_p_id).toPropertyWhenPresent("directory_file_p_id", row::getDirectory_file_p_id) - .map(filesuper).toPropertyWhenPresent("filesuper", row::getFilesuper) - .map(filecount).toPropertyWhenPresent("filecount", row::getFilecount) - .map(dutyperson).toPropertyWhenPresent("dutyperson", row::getDutyperson) - .map(eweavedate).toPropertyWhenPresent("eweavedate", row::getEweavedate) - .map(filepage).toPropertyWhenPresent("filepage", row::getFilepage) - .map(sortorder).toPropertyWhenPresent("sortorder", row::getSortorder) - .map(bpeg).toPropertyWhenPresent("bpeg", row::getBpeg) - .map(epeg).toPropertyWhenPresent("epeg", row::getEpeg) - .map(filenum).toPropertyWhenPresent("filenum", row::getFilenum) - .map(remark).toPropertyWhenPresent("remark", row::getRemark) - .map(recordnum).toPropertyWhenPresent("recordnum", row::getRecordnum) - .map(piecenumber).toPropertyWhenPresent("piecenumber", row::getPiecenumber) - .map(adddate).toPropertyWhenPresent("adddate", row::getAdddate) - .map(editdate).toPropertyWhenPresent("editdate", row::getEditdate) - .map(time_stamp).toPropertyWhenPresent("time_stamp", row::getTime_stamp) - .map(isdel).toPropertyWhenPresent("isdel", row::getIsdel) - .map(catalogpdfurl).toPropertyWhenPresent("catalogpdfurl", row::getCatalogpdfurl) - .map(signtag).toPropertyWhenPresent("signtag", row::getSigntag) - .map(collecttag).toPropertyWhenPresent("collecttag", row::getCollecttag) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.236184+08:00", comments="Source Table: public.files_apply_directory_docs") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, filesApplyDirectoryDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.236184+08:00", comments="Source Table: public.files_apply_directory_docs") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, filesApplyDirectoryDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2371846+08:00", comments="Source Table: public.files_apply_directory_docs") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, filesApplyDirectoryDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2371846+08:00", comments="Source Table: public.files_apply_directory_docs") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2381828+08:00", comments="Source Table: public.files_apply_directory_docs") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, filesApplyDirectoryDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2381828+08:00", comments="Source Table: public.files_apply_directory_docs") - static UpdateDSL updateAllColumns(FilesApplyDirectoryDocs row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(files_apply_id).equalTo(row::getFiles_apply_id) - .set(directory_file_id).equalTo(row::getDirectory_file_id) - .set(directory_file_p_id).equalTo(row::getDirectory_file_p_id) - .set(filesuper).equalTo(row::getFilesuper) - .set(filecount).equalTo(row::getFilecount) - .set(dutyperson).equalTo(row::getDutyperson) - .set(eweavedate).equalTo(row::getEweavedate) - .set(filepage).equalTo(row::getFilepage) - .set(sortorder).equalTo(row::getSortorder) - .set(bpeg).equalTo(row::getBpeg) - .set(epeg).equalTo(row::getEpeg) - .set(filenum).equalTo(row::getFilenum) - .set(remark).equalTo(row::getRemark) - .set(recordnum).equalTo(row::getRecordnum) - .set(piecenumber).equalTo(row::getPiecenumber) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(catalogpdfurl).equalTo(row::getCatalogpdfurl) - .set(signtag).equalTo(row::getSigntag) - .set(collecttag).equalTo(row::getCollecttag); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2391507+08:00", comments="Source Table: public.files_apply_directory_docs") - static UpdateDSL updateSelectiveColumns(FilesApplyDirectoryDocs row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(files_apply_id).equalToWhenPresent(row::getFiles_apply_id) - .set(directory_file_id).equalToWhenPresent(row::getDirectory_file_id) - .set(directory_file_p_id).equalToWhenPresent(row::getDirectory_file_p_id) - .set(filesuper).equalToWhenPresent(row::getFilesuper) - .set(filecount).equalToWhenPresent(row::getFilecount) - .set(dutyperson).equalToWhenPresent(row::getDutyperson) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(filepage).equalToWhenPresent(row::getFilepage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(bpeg).equalToWhenPresent(row::getBpeg) - .set(epeg).equalToWhenPresent(row::getEpeg) - .set(filenum).equalToWhenPresent(row::getFilenum) - .set(remark).equalToWhenPresent(row::getRemark) - .set(recordnum).equalToWhenPresent(row::getRecordnum) - .set(piecenumber).equalToWhenPresent(row::getPiecenumber) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(catalogpdfurl).equalToWhenPresent(row::getCatalogpdfurl) - .set(signtag).equalToWhenPresent(row::getSigntag) - .set(collecttag).equalToWhenPresent(row::getCollecttag); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2401479+08:00", comments="Source Table: public.files_apply_directory_docs") - default int updateByPrimaryKey(FilesApplyDirectoryDocs row) { - return update(c -> - c.set(files_apply_id).equalTo(row::getFiles_apply_id) - .set(directory_file_id).equalTo(row::getDirectory_file_id) - .set(directory_file_p_id).equalTo(row::getDirectory_file_p_id) - .set(filesuper).equalTo(row::getFilesuper) - .set(filecount).equalTo(row::getFilecount) - .set(dutyperson).equalTo(row::getDutyperson) - .set(eweavedate).equalTo(row::getEweavedate) - .set(filepage).equalTo(row::getFilepage) - .set(sortorder).equalTo(row::getSortorder) - .set(bpeg).equalTo(row::getBpeg) - .set(epeg).equalTo(row::getEpeg) - .set(filenum).equalTo(row::getFilenum) - .set(remark).equalTo(row::getRemark) - .set(recordnum).equalTo(row::getRecordnum) - .set(piecenumber).equalTo(row::getPiecenumber) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(catalogpdfurl).equalTo(row::getCatalogpdfurl) - .set(signtag).equalTo(row::getSigntag) - .set(collecttag).equalTo(row::getCollecttag) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2401479+08:00", comments="Source Table: public.files_apply_directory_docs") - default int updateByPrimaryKeySelective(FilesApplyDirectoryDocs row) { - return update(c -> - c.set(files_apply_id).equalToWhenPresent(row::getFiles_apply_id) - .set(directory_file_id).equalToWhenPresent(row::getDirectory_file_id) - .set(directory_file_p_id).equalToWhenPresent(row::getDirectory_file_p_id) - .set(filesuper).equalToWhenPresent(row::getFilesuper) - .set(filecount).equalToWhenPresent(row::getFilecount) - .set(dutyperson).equalToWhenPresent(row::getDutyperson) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(filepage).equalToWhenPresent(row::getFilepage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(bpeg).equalToWhenPresent(row::getBpeg) - .set(epeg).equalToWhenPresent(row::getEpeg) - .set(filenum).equalToWhenPresent(row::getFilenum) - .set(remark).equalToWhenPresent(row::getRemark) - .set(recordnum).equalToWhenPresent(row::getRecordnum) - .set(piecenumber).equalToWhenPresent(row::getPiecenumber) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(catalogpdfurl).equalToWhenPresent(row::getCatalogpdfurl) - .set(signtag).equalToWhenPresent(row::getSigntag) - .set(collecttag).equalToWhenPresent(row::getCollecttag) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyDocsMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyDocsMapper.java deleted file mode 100644 index f177993..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyDocsMapper.java +++ /dev/null @@ -1,297 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.FilesApplyDocsDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.FilesApplyDocs; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface FilesApplyDocsMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source Table: public.files_apply_docs") - BasicColumn[] selectList = BasicColumn.columnList(id, files_apply_id, syn_file_id, syn_file_p_id, tablenumber, annexname, projectname, eweavedate, checkdate, annexpage, sortorder, filefrom, archivestag, adddate, editdate, time_stamp, isdel, downurl, filesize, apply_view_type_print, apply_view_type_online); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source Table: public.files_apply_docs") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="FilesApplyDocsResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="files_apply_id", property="files_apply_id", jdbcType=JdbcType.VARCHAR), - @Result(column="syn_file_id", property="syn_file_id", jdbcType=JdbcType.VARCHAR), - @Result(column="syn_file_p_id", property="syn_file_p_id", jdbcType=JdbcType.VARCHAR), - @Result(column="tablenumber", property="tablenumber", jdbcType=JdbcType.VARCHAR), - @Result(column="annexname", property="annexname", jdbcType=JdbcType.VARCHAR), - @Result(column="projectname", property="projectname", jdbcType=JdbcType.VARCHAR), - @Result(column="eweavedate", property="eweavedate", jdbcType=JdbcType.VARCHAR), - @Result(column="checkdate", property="checkdate", jdbcType=JdbcType.VARCHAR), - @Result(column="annexpage", property="annexpage", jdbcType=JdbcType.INTEGER), - @Result(column="sortorder", property="sortorder", jdbcType=JdbcType.VARCHAR), - @Result(column="filefrom", property="filefrom", jdbcType=JdbcType.VARCHAR), - @Result(column="archivestag", property="archivestag", jdbcType=JdbcType.VARCHAR), - @Result(column="adddate", property="adddate", jdbcType=JdbcType.VARCHAR), - @Result(column="editdate", property="editdate", jdbcType=JdbcType.VARCHAR), - @Result(column="time_stamp", property="time_stamp", jdbcType=JdbcType.VARCHAR), - @Result(column="isdel", property="isdel", jdbcType=JdbcType.INTEGER), - @Result(column="downurl", property="downurl", jdbcType=JdbcType.VARCHAR), - @Result(column="filesize", property="filesize", jdbcType=JdbcType.INTEGER), - @Result(column="apply_view_type_print", property="apply_view_type_print", jdbcType=JdbcType.INTEGER), - @Result(column="apply_view_type_online", property="apply_view_type_online", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source Table: public.files_apply_docs") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("FilesApplyDocsResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source Table: public.files_apply_docs") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, filesApplyDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source Table: public.files_apply_docs") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, filesApplyDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source Table: public.files_apply_docs") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source Table: public.files_apply_docs") - default int insert(FilesApplyDocs row) { - return MyBatis3Utils.insert(this::insert, row, filesApplyDocs, c -> - c.map(id).toProperty("id") - .map(files_apply_id).toProperty("files_apply_id") - .map(syn_file_id).toProperty("syn_file_id") - .map(syn_file_p_id).toProperty("syn_file_p_id") - .map(tablenumber).toProperty("tablenumber") - .map(annexname).toProperty("annexname") - .map(projectname).toProperty("projectname") - .map(eweavedate).toProperty("eweavedate") - .map(checkdate).toProperty("checkdate") - .map(annexpage).toProperty("annexpage") - .map(sortorder).toProperty("sortorder") - .map(filefrom).toProperty("filefrom") - .map(archivestag).toProperty("archivestag") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(downurl).toProperty("downurl") - .map(filesize).toProperty("filesize") - .map(apply_view_type_print).toProperty("apply_view_type_print") - .map(apply_view_type_online).toProperty("apply_view_type_online") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source Table: public.files_apply_docs") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, filesApplyDocs, c -> - c.map(id).toProperty("id") - .map(files_apply_id).toProperty("files_apply_id") - .map(syn_file_id).toProperty("syn_file_id") - .map(syn_file_p_id).toProperty("syn_file_p_id") - .map(tablenumber).toProperty("tablenumber") - .map(annexname).toProperty("annexname") - .map(projectname).toProperty("projectname") - .map(eweavedate).toProperty("eweavedate") - .map(checkdate).toProperty("checkdate") - .map(annexpage).toProperty("annexpage") - .map(sortorder).toProperty("sortorder") - .map(filefrom).toProperty("filefrom") - .map(archivestag).toProperty("archivestag") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(downurl).toProperty("downurl") - .map(filesize).toProperty("filesize") - .map(apply_view_type_print).toProperty("apply_view_type_print") - .map(apply_view_type_online).toProperty("apply_view_type_online") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source Table: public.files_apply_docs") - default int insertSelective(FilesApplyDocs row) { - return MyBatis3Utils.insert(this::insert, row, filesApplyDocs, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(files_apply_id).toPropertyWhenPresent("files_apply_id", row::getFiles_apply_id) - .map(syn_file_id).toPropertyWhenPresent("syn_file_id", row::getSyn_file_id) - .map(syn_file_p_id).toPropertyWhenPresent("syn_file_p_id", row::getSyn_file_p_id) - .map(tablenumber).toPropertyWhenPresent("tablenumber", row::getTablenumber) - .map(annexname).toPropertyWhenPresent("annexname", row::getAnnexname) - .map(projectname).toPropertyWhenPresent("projectname", row::getProjectname) - .map(eweavedate).toPropertyWhenPresent("eweavedate", row::getEweavedate) - .map(checkdate).toPropertyWhenPresent("checkdate", row::getCheckdate) - .map(annexpage).toPropertyWhenPresent("annexpage", row::getAnnexpage) - .map(sortorder).toPropertyWhenPresent("sortorder", row::getSortorder) - .map(filefrom).toPropertyWhenPresent("filefrom", row::getFilefrom) - .map(archivestag).toPropertyWhenPresent("archivestag", row::getArchivestag) - .map(adddate).toPropertyWhenPresent("adddate", row::getAdddate) - .map(editdate).toPropertyWhenPresent("editdate", row::getEditdate) - .map(time_stamp).toPropertyWhenPresent("time_stamp", row::getTime_stamp) - .map(isdel).toPropertyWhenPresent("isdel", row::getIsdel) - .map(downurl).toPropertyWhenPresent("downurl", row::getDownurl) - .map(filesize).toPropertyWhenPresent("filesize", row::getFilesize) - .map(apply_view_type_print).toPropertyWhenPresent("apply_view_type_print", row::getApply_view_type_print) - .map(apply_view_type_online).toPropertyWhenPresent("apply_view_type_online", row::getApply_view_type_online) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2701477+08:00", comments="Source Table: public.files_apply_docs") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, filesApplyDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2701477+08:00", comments="Source Table: public.files_apply_docs") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, filesApplyDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2701477+08:00", comments="Source Table: public.files_apply_docs") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, filesApplyDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2701477+08:00", comments="Source Table: public.files_apply_docs") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2701477+08:00", comments="Source Table: public.files_apply_docs") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, filesApplyDocs, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2701477+08:00", comments="Source Table: public.files_apply_docs") - static UpdateDSL updateAllColumns(FilesApplyDocs row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(files_apply_id).equalTo(row::getFiles_apply_id) - .set(syn_file_id).equalTo(row::getSyn_file_id) - .set(syn_file_p_id).equalTo(row::getSyn_file_p_id) - .set(tablenumber).equalTo(row::getTablenumber) - .set(annexname).equalTo(row::getAnnexname) - .set(projectname).equalTo(row::getProjectname) - .set(eweavedate).equalTo(row::getEweavedate) - .set(checkdate).equalTo(row::getCheckdate) - .set(annexpage).equalTo(row::getAnnexpage) - .set(sortorder).equalTo(row::getSortorder) - .set(filefrom).equalTo(row::getFilefrom) - .set(archivestag).equalTo(row::getArchivestag) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(downurl).equalTo(row::getDownurl) - .set(filesize).equalTo(row::getFilesize) - .set(apply_view_type_print).equalTo(row::getApply_view_type_print) - .set(apply_view_type_online).equalTo(row::getApply_view_type_online); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2701477+08:00", comments="Source Table: public.files_apply_docs") - static UpdateDSL updateSelectiveColumns(FilesApplyDocs row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(files_apply_id).equalToWhenPresent(row::getFiles_apply_id) - .set(syn_file_id).equalToWhenPresent(row::getSyn_file_id) - .set(syn_file_p_id).equalToWhenPresent(row::getSyn_file_p_id) - .set(tablenumber).equalToWhenPresent(row::getTablenumber) - .set(annexname).equalToWhenPresent(row::getAnnexname) - .set(projectname).equalToWhenPresent(row::getProjectname) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(checkdate).equalToWhenPresent(row::getCheckdate) - .set(annexpage).equalToWhenPresent(row::getAnnexpage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(filefrom).equalToWhenPresent(row::getFilefrom) - .set(archivestag).equalToWhenPresent(row::getArchivestag) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(downurl).equalToWhenPresent(row::getDownurl) - .set(filesize).equalToWhenPresent(row::getFilesize) - .set(apply_view_type_print).equalToWhenPresent(row::getApply_view_type_print) - .set(apply_view_type_online).equalToWhenPresent(row::getApply_view_type_online); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2701477+08:00", comments="Source Table: public.files_apply_docs") - default int updateByPrimaryKey(FilesApplyDocs row) { - return update(c -> - c.set(files_apply_id).equalTo(row::getFiles_apply_id) - .set(syn_file_id).equalTo(row::getSyn_file_id) - .set(syn_file_p_id).equalTo(row::getSyn_file_p_id) - .set(tablenumber).equalTo(row::getTablenumber) - .set(annexname).equalTo(row::getAnnexname) - .set(projectname).equalTo(row::getProjectname) - .set(eweavedate).equalTo(row::getEweavedate) - .set(checkdate).equalTo(row::getCheckdate) - .set(annexpage).equalTo(row::getAnnexpage) - .set(sortorder).equalTo(row::getSortorder) - .set(filefrom).equalTo(row::getFilefrom) - .set(archivestag).equalTo(row::getArchivestag) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(downurl).equalTo(row::getDownurl) - .set(filesize).equalTo(row::getFilesize) - .set(apply_view_type_print).equalTo(row::getApply_view_type_print) - .set(apply_view_type_online).equalTo(row::getApply_view_type_online) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2701477+08:00", comments="Source Table: public.files_apply_docs") - default int updateByPrimaryKeySelective(FilesApplyDocs row) { - return update(c -> - c.set(files_apply_id).equalToWhenPresent(row::getFiles_apply_id) - .set(syn_file_id).equalToWhenPresent(row::getSyn_file_id) - .set(syn_file_p_id).equalToWhenPresent(row::getSyn_file_p_id) - .set(tablenumber).equalToWhenPresent(row::getTablenumber) - .set(annexname).equalToWhenPresent(row::getAnnexname) - .set(projectname).equalToWhenPresent(row::getProjectname) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(checkdate).equalToWhenPresent(row::getCheckdate) - .set(annexpage).equalToWhenPresent(row::getAnnexpage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(filefrom).equalToWhenPresent(row::getFilefrom) - .set(archivestag).equalToWhenPresent(row::getArchivestag) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(downurl).equalToWhenPresent(row::getDownurl) - .set(filesize).equalToWhenPresent(row::getFilesize) - .set(apply_view_type_print).equalToWhenPresent(row::getApply_view_type_print) - .set(apply_view_type_online).equalToWhenPresent(row::getApply_view_type_online) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyDownloadRecordMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyDownloadRecordMapper.java deleted file mode 100644 index 7cf3010..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyDownloadRecordMapper.java +++ /dev/null @@ -1,217 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.FilesApplyDownloadRecordDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.FilesApplyDownloadRecord; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface FilesApplyDownloadRecordMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2951492+08:00", comments="Source Table: public.files_apply_download_record") - BasicColumn[] selectList = BasicColumn.columnList(id, files_apply_id, is_dir_file, syn_file_id, syn_file_p_id, syn_file_name, user_id, user_name, org_id, org_name, download_time); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2941514+08:00", comments="Source Table: public.files_apply_download_record") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="FilesApplyDownloadRecordResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="files_apply_id", property="files_apply_id", jdbcType=JdbcType.VARCHAR), - @Result(column="is_dir_file", property="is_dir_file", jdbcType=JdbcType.INTEGER), - @Result(column="syn_file_id", property="syn_file_id", jdbcType=JdbcType.VARCHAR), - @Result(column="syn_file_p_id", property="syn_file_p_id", jdbcType=JdbcType.VARCHAR), - @Result(column="syn_file_name", property="syn_file_name", jdbcType=JdbcType.VARCHAR), - @Result(column="user_id", property="user_id", jdbcType=JdbcType.VARCHAR), - @Result(column="user_name", property="user_name", jdbcType=JdbcType.VARCHAR), - @Result(column="org_id", property="org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="org_name", property="org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="download_time", property="download_time", jdbcType=JdbcType.TIMESTAMP) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2951492+08:00", comments="Source Table: public.files_apply_download_record") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("FilesApplyDownloadRecordResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2951492+08:00", comments="Source Table: public.files_apply_download_record") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, filesApplyDownloadRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2951492+08:00", comments="Source Table: public.files_apply_download_record") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, filesApplyDownloadRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2951492+08:00", comments="Source Table: public.files_apply_download_record") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2951492+08:00", comments="Source Table: public.files_apply_download_record") - default int insert(FilesApplyDownloadRecord row) { - return MyBatis3Utils.insert(this::insert, row, filesApplyDownloadRecord, c -> - c.map(id).toProperty("id") - .map(files_apply_id).toProperty("files_apply_id") - .map(is_dir_file).toProperty("is_dir_file") - .map(syn_file_id).toProperty("syn_file_id") - .map(syn_file_p_id).toProperty("syn_file_p_id") - .map(syn_file_name).toProperty("syn_file_name") - .map(user_id).toProperty("user_id") - .map(user_name).toProperty("user_name") - .map(org_id).toProperty("org_id") - .map(org_name).toProperty("org_name") - .map(download_time).toProperty("download_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2951492+08:00", comments="Source Table: public.files_apply_download_record") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, filesApplyDownloadRecord, c -> - c.map(id).toProperty("id") - .map(files_apply_id).toProperty("files_apply_id") - .map(is_dir_file).toProperty("is_dir_file") - .map(syn_file_id).toProperty("syn_file_id") - .map(syn_file_p_id).toProperty("syn_file_p_id") - .map(syn_file_name).toProperty("syn_file_name") - .map(user_id).toProperty("user_id") - .map(user_name).toProperty("user_name") - .map(org_id).toProperty("org_id") - .map(org_name).toProperty("org_name") - .map(download_time).toProperty("download_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2951492+08:00", comments="Source Table: public.files_apply_download_record") - default int insertSelective(FilesApplyDownloadRecord row) { - return MyBatis3Utils.insert(this::insert, row, filesApplyDownloadRecord, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(files_apply_id).toPropertyWhenPresent("files_apply_id", row::getFiles_apply_id) - .map(is_dir_file).toPropertyWhenPresent("is_dir_file", row::getIs_dir_file) - .map(syn_file_id).toPropertyWhenPresent("syn_file_id", row::getSyn_file_id) - .map(syn_file_p_id).toPropertyWhenPresent("syn_file_p_id", row::getSyn_file_p_id) - .map(syn_file_name).toPropertyWhenPresent("syn_file_name", row::getSyn_file_name) - .map(user_id).toPropertyWhenPresent("user_id", row::getUser_id) - .map(user_name).toPropertyWhenPresent("user_name", row::getUser_name) - .map(org_id).toPropertyWhenPresent("org_id", row::getOrg_id) - .map(org_name).toPropertyWhenPresent("org_name", row::getOrg_name) - .map(download_time).toPropertyWhenPresent("download_time", row::getDownload_time) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2961489+08:00", comments="Source Table: public.files_apply_download_record") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, filesApplyDownloadRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2961489+08:00", comments="Source Table: public.files_apply_download_record") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, filesApplyDownloadRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2961489+08:00", comments="Source Table: public.files_apply_download_record") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, filesApplyDownloadRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2961489+08:00", comments="Source Table: public.files_apply_download_record") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2961489+08:00", comments="Source Table: public.files_apply_download_record") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, filesApplyDownloadRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2961489+08:00", comments="Source Table: public.files_apply_download_record") - static UpdateDSL updateAllColumns(FilesApplyDownloadRecord row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(files_apply_id).equalTo(row::getFiles_apply_id) - .set(is_dir_file).equalTo(row::getIs_dir_file) - .set(syn_file_id).equalTo(row::getSyn_file_id) - .set(syn_file_p_id).equalTo(row::getSyn_file_p_id) - .set(syn_file_name).equalTo(row::getSyn_file_name) - .set(user_id).equalTo(row::getUser_id) - .set(user_name).equalTo(row::getUser_name) - .set(org_id).equalTo(row::getOrg_id) - .set(org_name).equalTo(row::getOrg_name) - .set(download_time).equalTo(row::getDownload_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2961489+08:00", comments="Source Table: public.files_apply_download_record") - static UpdateDSL updateSelectiveColumns(FilesApplyDownloadRecord row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(files_apply_id).equalToWhenPresent(row::getFiles_apply_id) - .set(is_dir_file).equalToWhenPresent(row::getIs_dir_file) - .set(syn_file_id).equalToWhenPresent(row::getSyn_file_id) - .set(syn_file_p_id).equalToWhenPresent(row::getSyn_file_p_id) - .set(syn_file_name).equalToWhenPresent(row::getSyn_file_name) - .set(user_id).equalToWhenPresent(row::getUser_id) - .set(user_name).equalToWhenPresent(row::getUser_name) - .set(org_id).equalToWhenPresent(row::getOrg_id) - .set(org_name).equalToWhenPresent(row::getOrg_name) - .set(download_time).equalToWhenPresent(row::getDownload_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2961489+08:00", comments="Source Table: public.files_apply_download_record") - default int updateByPrimaryKey(FilesApplyDownloadRecord row) { - return update(c -> - c.set(files_apply_id).equalTo(row::getFiles_apply_id) - .set(is_dir_file).equalTo(row::getIs_dir_file) - .set(syn_file_id).equalTo(row::getSyn_file_id) - .set(syn_file_p_id).equalTo(row::getSyn_file_p_id) - .set(syn_file_name).equalTo(row::getSyn_file_name) - .set(user_id).equalTo(row::getUser_id) - .set(user_name).equalTo(row::getUser_name) - .set(org_id).equalTo(row::getOrg_id) - .set(org_name).equalTo(row::getOrg_name) - .set(download_time).equalTo(row::getDownload_time) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2961489+08:00", comments="Source Table: public.files_apply_download_record") - default int updateByPrimaryKeySelective(FilesApplyDownloadRecord row) { - return update(c -> - c.set(files_apply_id).equalToWhenPresent(row::getFiles_apply_id) - .set(is_dir_file).equalToWhenPresent(row::getIs_dir_file) - .set(syn_file_id).equalToWhenPresent(row::getSyn_file_id) - .set(syn_file_p_id).equalToWhenPresent(row::getSyn_file_p_id) - .set(syn_file_name).equalToWhenPresent(row::getSyn_file_name) - .set(user_id).equalToWhenPresent(row::getUser_id) - .set(user_name).equalToWhenPresent(row::getUser_name) - .set(org_id).equalToWhenPresent(row::getOrg_id) - .set(org_name).equalToWhenPresent(row::getOrg_name) - .set(download_time).equalToWhenPresent(row::getDownload_time) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyMapper.java deleted file mode 100644 index 1034507..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/FilesApplyMapper.java +++ /dev/null @@ -1,505 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.FilesApplyDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.FilesApply; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface FilesApplyMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2781481+08:00", comments="Source Table: public.files_apply") - BasicColumn[] selectList = BasicColumn.columnList(id, apply_user_id, apply_user_name, apply_user_phone, apply_user_email, apply_org_id, apply_org_name, apply_in_check_user_id, apply_in_check_user_name, apply_in_check_org_id, apply_in_check_org_name, apply_next_check_org_id, apply_next_check_org_name, apply_end_check_user_id, apply_end_check_user_name, apply_end_check_org_id, apply_end_check_org_name, apply_days, apply_feedback, apply_reason, apply_cancel_reason, apply_view_type_print, apply_view_type_online, apply_file_num, apply_time, apply_check_is_finish, provider_org_id, provider_org_name, provider_file_properties, provider_use_start_time, provider_use_end_time, provider_in_check_user_id, provider_in_check_user_name, provider_in_check_org_id, provider_in_check_org_name, provider_next_check_role_sign_id, provider_next_check_role_sign_name, provider_end_check_user_id, provider_end_check_user_name, provider_end_check_org_id, provider_end_check_org_name, provider_check_is_finish, secret_key, status, project_id, project_name, sign); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source Table: public.files_apply") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="FilesApplyResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="apply_user_id", property="apply_user_id", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_user_name", property="apply_user_name", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_user_phone", property="apply_user_phone", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_user_email", property="apply_user_email", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_org_id", property="apply_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_org_name", property="apply_org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_in_check_user_id", property="apply_in_check_user_id", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_in_check_user_name", property="apply_in_check_user_name", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_in_check_org_id", property="apply_in_check_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_in_check_org_name", property="apply_in_check_org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_next_check_org_id", property="apply_next_check_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_next_check_org_name", property="apply_next_check_org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_end_check_user_id", property="apply_end_check_user_id", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_end_check_user_name", property="apply_end_check_user_name", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_end_check_org_id", property="apply_end_check_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_end_check_org_name", property="apply_end_check_org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_days", property="apply_days", jdbcType=JdbcType.INTEGER), - @Result(column="apply_feedback", property="apply_feedback", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_reason", property="apply_reason", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_cancel_reason", property="apply_cancel_reason", jdbcType=JdbcType.VARCHAR), - @Result(column="apply_view_type_print", property="apply_view_type_print", jdbcType=JdbcType.INTEGER), - @Result(column="apply_view_type_online", property="apply_view_type_online", jdbcType=JdbcType.INTEGER), - @Result(column="apply_file_num", property="apply_file_num", jdbcType=JdbcType.INTEGER), - @Result(column="apply_time", property="apply_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="apply_check_is_finish", property="apply_check_is_finish", jdbcType=JdbcType.INTEGER), - @Result(column="provider_org_id", property="provider_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_org_name", property="provider_org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_file_properties", property="provider_file_properties", jdbcType=JdbcType.INTEGER), - @Result(column="provider_use_start_time", property="provider_use_start_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="provider_use_end_time", property="provider_use_end_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="provider_in_check_user_id", property="provider_in_check_user_id", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_in_check_user_name", property="provider_in_check_user_name", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_in_check_org_id", property="provider_in_check_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_in_check_org_name", property="provider_in_check_org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_next_check_role_sign_id", property="provider_next_check_role_sign_id", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_next_check_role_sign_name", property="provider_next_check_role_sign_name", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_end_check_user_id", property="provider_end_check_user_id", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_end_check_user_name", property="provider_end_check_user_name", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_end_check_org_id", property="provider_end_check_org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_end_check_org_name", property="provider_end_check_org_name", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_check_is_finish", property="provider_check_is_finish", jdbcType=JdbcType.INTEGER), - @Result(column="secret_key", property="secret_key", jdbcType=JdbcType.VARCHAR), - @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), - @Result(column="project_id", property="project_id", jdbcType=JdbcType.VARCHAR), - @Result(column="project_name", property="project_name", jdbcType=JdbcType.VARCHAR), - @Result(column="sign", property="sign", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source Table: public.files_apply") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("FilesApplyResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source Table: public.files_apply") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, filesApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source Table: public.files_apply") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, filesApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source Table: public.files_apply") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source Table: public.files_apply") - default int insert(FilesApply row) { - return MyBatis3Utils.insert(this::insert, row, filesApply, c -> - c.map(id).toProperty("id") - .map(apply_user_id).toProperty("apply_user_id") - .map(apply_user_name).toProperty("apply_user_name") - .map(apply_user_phone).toProperty("apply_user_phone") - .map(apply_user_email).toProperty("apply_user_email") - .map(apply_org_id).toProperty("apply_org_id") - .map(apply_org_name).toProperty("apply_org_name") - .map(apply_in_check_user_id).toProperty("apply_in_check_user_id") - .map(apply_in_check_user_name).toProperty("apply_in_check_user_name") - .map(apply_in_check_org_id).toProperty("apply_in_check_org_id") - .map(apply_in_check_org_name).toProperty("apply_in_check_org_name") - .map(apply_next_check_org_id).toProperty("apply_next_check_org_id") - .map(apply_next_check_org_name).toProperty("apply_next_check_org_name") - .map(apply_end_check_user_id).toProperty("apply_end_check_user_id") - .map(apply_end_check_user_name).toProperty("apply_end_check_user_name") - .map(apply_end_check_org_id).toProperty("apply_end_check_org_id") - .map(apply_end_check_org_name).toProperty("apply_end_check_org_name") - .map(apply_days).toProperty("apply_days") - .map(apply_feedback).toProperty("apply_feedback") - .map(apply_reason).toProperty("apply_reason") - .map(apply_cancel_reason).toProperty("apply_cancel_reason") - .map(apply_view_type_print).toProperty("apply_view_type_print") - .map(apply_view_type_online).toProperty("apply_view_type_online") - .map(apply_file_num).toProperty("apply_file_num") - .map(apply_time).toProperty("apply_time") - .map(apply_check_is_finish).toProperty("apply_check_is_finish") - .map(provider_org_id).toProperty("provider_org_id") - .map(provider_org_name).toProperty("provider_org_name") - .map(provider_file_properties).toProperty("provider_file_properties") - .map(provider_use_start_time).toProperty("provider_use_start_time") - .map(provider_use_end_time).toProperty("provider_use_end_time") - .map(provider_in_check_user_id).toProperty("provider_in_check_user_id") - .map(provider_in_check_user_name).toProperty("provider_in_check_user_name") - .map(provider_in_check_org_id).toProperty("provider_in_check_org_id") - .map(provider_in_check_org_name).toProperty("provider_in_check_org_name") - .map(provider_next_check_role_sign_id).toProperty("provider_next_check_role_sign_id") - .map(provider_next_check_role_sign_name).toProperty("provider_next_check_role_sign_name") - .map(provider_end_check_user_id).toProperty("provider_end_check_user_id") - .map(provider_end_check_user_name).toProperty("provider_end_check_user_name") - .map(provider_end_check_org_id).toProperty("provider_end_check_org_id") - .map(provider_end_check_org_name).toProperty("provider_end_check_org_name") - .map(provider_check_is_finish).toProperty("provider_check_is_finish") - .map(secret_key).toProperty("secret_key") - .map(status).toProperty("status") - .map(project_id).toProperty("project_id") - .map(project_name).toProperty("project_name") - .map(sign).toProperty("sign") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source Table: public.files_apply") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, filesApply, c -> - c.map(id).toProperty("id") - .map(apply_user_id).toProperty("apply_user_id") - .map(apply_user_name).toProperty("apply_user_name") - .map(apply_user_phone).toProperty("apply_user_phone") - .map(apply_user_email).toProperty("apply_user_email") - .map(apply_org_id).toProperty("apply_org_id") - .map(apply_org_name).toProperty("apply_org_name") - .map(apply_in_check_user_id).toProperty("apply_in_check_user_id") - .map(apply_in_check_user_name).toProperty("apply_in_check_user_name") - .map(apply_in_check_org_id).toProperty("apply_in_check_org_id") - .map(apply_in_check_org_name).toProperty("apply_in_check_org_name") - .map(apply_next_check_org_id).toProperty("apply_next_check_org_id") - .map(apply_next_check_org_name).toProperty("apply_next_check_org_name") - .map(apply_end_check_user_id).toProperty("apply_end_check_user_id") - .map(apply_end_check_user_name).toProperty("apply_end_check_user_name") - .map(apply_end_check_org_id).toProperty("apply_end_check_org_id") - .map(apply_end_check_org_name).toProperty("apply_end_check_org_name") - .map(apply_days).toProperty("apply_days") - .map(apply_feedback).toProperty("apply_feedback") - .map(apply_reason).toProperty("apply_reason") - .map(apply_cancel_reason).toProperty("apply_cancel_reason") - .map(apply_view_type_print).toProperty("apply_view_type_print") - .map(apply_view_type_online).toProperty("apply_view_type_online") - .map(apply_file_num).toProperty("apply_file_num") - .map(apply_time).toProperty("apply_time") - .map(apply_check_is_finish).toProperty("apply_check_is_finish") - .map(provider_org_id).toProperty("provider_org_id") - .map(provider_org_name).toProperty("provider_org_name") - .map(provider_file_properties).toProperty("provider_file_properties") - .map(provider_use_start_time).toProperty("provider_use_start_time") - .map(provider_use_end_time).toProperty("provider_use_end_time") - .map(provider_in_check_user_id).toProperty("provider_in_check_user_id") - .map(provider_in_check_user_name).toProperty("provider_in_check_user_name") - .map(provider_in_check_org_id).toProperty("provider_in_check_org_id") - .map(provider_in_check_org_name).toProperty("provider_in_check_org_name") - .map(provider_next_check_role_sign_id).toProperty("provider_next_check_role_sign_id") - .map(provider_next_check_role_sign_name).toProperty("provider_next_check_role_sign_name") - .map(provider_end_check_user_id).toProperty("provider_end_check_user_id") - .map(provider_end_check_user_name).toProperty("provider_end_check_user_name") - .map(provider_end_check_org_id).toProperty("provider_end_check_org_id") - .map(provider_end_check_org_name).toProperty("provider_end_check_org_name") - .map(provider_check_is_finish).toProperty("provider_check_is_finish") - .map(secret_key).toProperty("secret_key") - .map(status).toProperty("status") - .map(project_id).toProperty("project_id") - .map(project_name).toProperty("project_name") - .map(sign).toProperty("sign") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source Table: public.files_apply") - default int insertSelective(FilesApply row) { - return MyBatis3Utils.insert(this::insert, row, filesApply, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(apply_user_id).toPropertyWhenPresent("apply_user_id", row::getApply_user_id) - .map(apply_user_name).toPropertyWhenPresent("apply_user_name", row::getApply_user_name) - .map(apply_user_phone).toPropertyWhenPresent("apply_user_phone", row::getApply_user_phone) - .map(apply_user_email).toPropertyWhenPresent("apply_user_email", row::getApply_user_email) - .map(apply_org_id).toPropertyWhenPresent("apply_org_id", row::getApply_org_id) - .map(apply_org_name).toPropertyWhenPresent("apply_org_name", row::getApply_org_name) - .map(apply_in_check_user_id).toPropertyWhenPresent("apply_in_check_user_id", row::getApply_in_check_user_id) - .map(apply_in_check_user_name).toPropertyWhenPresent("apply_in_check_user_name", row::getApply_in_check_user_name) - .map(apply_in_check_org_id).toPropertyWhenPresent("apply_in_check_org_id", row::getApply_in_check_org_id) - .map(apply_in_check_org_name).toPropertyWhenPresent("apply_in_check_org_name", row::getApply_in_check_org_name) - .map(apply_next_check_org_id).toPropertyWhenPresent("apply_next_check_org_id", row::getApply_next_check_org_id) - .map(apply_next_check_org_name).toPropertyWhenPresent("apply_next_check_org_name", row::getApply_next_check_org_name) - .map(apply_end_check_user_id).toPropertyWhenPresent("apply_end_check_user_id", row::getApply_end_check_user_id) - .map(apply_end_check_user_name).toPropertyWhenPresent("apply_end_check_user_name", row::getApply_end_check_user_name) - .map(apply_end_check_org_id).toPropertyWhenPresent("apply_end_check_org_id", row::getApply_end_check_org_id) - .map(apply_end_check_org_name).toPropertyWhenPresent("apply_end_check_org_name", row::getApply_end_check_org_name) - .map(apply_days).toPropertyWhenPresent("apply_days", row::getApply_days) - .map(apply_feedback).toPropertyWhenPresent("apply_feedback", row::getApply_feedback) - .map(apply_reason).toPropertyWhenPresent("apply_reason", row::getApply_reason) - .map(apply_cancel_reason).toPropertyWhenPresent("apply_cancel_reason", row::getApply_cancel_reason) - .map(apply_view_type_print).toPropertyWhenPresent("apply_view_type_print", row::getApply_view_type_print) - .map(apply_view_type_online).toPropertyWhenPresent("apply_view_type_online", row::getApply_view_type_online) - .map(apply_file_num).toPropertyWhenPresent("apply_file_num", row::getApply_file_num) - .map(apply_time).toPropertyWhenPresent("apply_time", row::getApply_time) - .map(apply_check_is_finish).toPropertyWhenPresent("apply_check_is_finish", row::getApply_check_is_finish) - .map(provider_org_id).toPropertyWhenPresent("provider_org_id", row::getProvider_org_id) - .map(provider_org_name).toPropertyWhenPresent("provider_org_name", row::getProvider_org_name) - .map(provider_file_properties).toPropertyWhenPresent("provider_file_properties", row::getProvider_file_properties) - .map(provider_use_start_time).toPropertyWhenPresent("provider_use_start_time", row::getProvider_use_start_time) - .map(provider_use_end_time).toPropertyWhenPresent("provider_use_end_time", row::getProvider_use_end_time) - .map(provider_in_check_user_id).toPropertyWhenPresent("provider_in_check_user_id", row::getProvider_in_check_user_id) - .map(provider_in_check_user_name).toPropertyWhenPresent("provider_in_check_user_name", row::getProvider_in_check_user_name) - .map(provider_in_check_org_id).toPropertyWhenPresent("provider_in_check_org_id", row::getProvider_in_check_org_id) - .map(provider_in_check_org_name).toPropertyWhenPresent("provider_in_check_org_name", row::getProvider_in_check_org_name) - .map(provider_next_check_role_sign_id).toPropertyWhenPresent("provider_next_check_role_sign_id", row::getProvider_next_check_role_sign_id) - .map(provider_next_check_role_sign_name).toPropertyWhenPresent("provider_next_check_role_sign_name", row::getProvider_next_check_role_sign_name) - .map(provider_end_check_user_id).toPropertyWhenPresent("provider_end_check_user_id", row::getProvider_end_check_user_id) - .map(provider_end_check_user_name).toPropertyWhenPresent("provider_end_check_user_name", row::getProvider_end_check_user_name) - .map(provider_end_check_org_id).toPropertyWhenPresent("provider_end_check_org_id", row::getProvider_end_check_org_id) - .map(provider_end_check_org_name).toPropertyWhenPresent("provider_end_check_org_name", row::getProvider_end_check_org_name) - .map(provider_check_is_finish).toPropertyWhenPresent("provider_check_is_finish", row::getProvider_check_is_finish) - .map(secret_key).toPropertyWhenPresent("secret_key", row::getSecret_key) - .map(status).toPropertyWhenPresent("status", row::getStatus) - .map(project_id).toPropertyWhenPresent("project_id", row::getProject_id) - .map(project_name).toPropertyWhenPresent("project_name", row::getProject_name) - .map(sign).toPropertyWhenPresent("sign", row::getSign) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2781481+08:00", comments="Source Table: public.files_apply") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, filesApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2781481+08:00", comments="Source Table: public.files_apply") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, filesApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2781481+08:00", comments="Source Table: public.files_apply") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, filesApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2781481+08:00", comments="Source Table: public.files_apply") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2781481+08:00", comments="Source Table: public.files_apply") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, filesApply, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2781481+08:00", comments="Source Table: public.files_apply") - static UpdateDSL updateAllColumns(FilesApply row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(apply_user_id).equalTo(row::getApply_user_id) - .set(apply_user_name).equalTo(row::getApply_user_name) - .set(apply_user_phone).equalTo(row::getApply_user_phone) - .set(apply_user_email).equalTo(row::getApply_user_email) - .set(apply_org_id).equalTo(row::getApply_org_id) - .set(apply_org_name).equalTo(row::getApply_org_name) - .set(apply_in_check_user_id).equalTo(row::getApply_in_check_user_id) - .set(apply_in_check_user_name).equalTo(row::getApply_in_check_user_name) - .set(apply_in_check_org_id).equalTo(row::getApply_in_check_org_id) - .set(apply_in_check_org_name).equalTo(row::getApply_in_check_org_name) - .set(apply_next_check_org_id).equalTo(row::getApply_next_check_org_id) - .set(apply_next_check_org_name).equalTo(row::getApply_next_check_org_name) - .set(apply_end_check_user_id).equalTo(row::getApply_end_check_user_id) - .set(apply_end_check_user_name).equalTo(row::getApply_end_check_user_name) - .set(apply_end_check_org_id).equalTo(row::getApply_end_check_org_id) - .set(apply_end_check_org_name).equalTo(row::getApply_end_check_org_name) - .set(apply_days).equalTo(row::getApply_days) - .set(apply_feedback).equalTo(row::getApply_feedback) - .set(apply_reason).equalTo(row::getApply_reason) - .set(apply_cancel_reason).equalTo(row::getApply_cancel_reason) - .set(apply_view_type_print).equalTo(row::getApply_view_type_print) - .set(apply_view_type_online).equalTo(row::getApply_view_type_online) - .set(apply_file_num).equalTo(row::getApply_file_num) - .set(apply_time).equalTo(row::getApply_time) - .set(apply_check_is_finish).equalTo(row::getApply_check_is_finish) - .set(provider_org_id).equalTo(row::getProvider_org_id) - .set(provider_org_name).equalTo(row::getProvider_org_name) - .set(provider_file_properties).equalTo(row::getProvider_file_properties) - .set(provider_use_start_time).equalTo(row::getProvider_use_start_time) - .set(provider_use_end_time).equalTo(row::getProvider_use_end_time) - .set(provider_in_check_user_id).equalTo(row::getProvider_in_check_user_id) - .set(provider_in_check_user_name).equalTo(row::getProvider_in_check_user_name) - .set(provider_in_check_org_id).equalTo(row::getProvider_in_check_org_id) - .set(provider_in_check_org_name).equalTo(row::getProvider_in_check_org_name) - .set(provider_next_check_role_sign_id).equalTo(row::getProvider_next_check_role_sign_id) - .set(provider_next_check_role_sign_name).equalTo(row::getProvider_next_check_role_sign_name) - .set(provider_end_check_user_id).equalTo(row::getProvider_end_check_user_id) - .set(provider_end_check_user_name).equalTo(row::getProvider_end_check_user_name) - .set(provider_end_check_org_id).equalTo(row::getProvider_end_check_org_id) - .set(provider_end_check_org_name).equalTo(row::getProvider_end_check_org_name) - .set(provider_check_is_finish).equalTo(row::getProvider_check_is_finish) - .set(secret_key).equalTo(row::getSecret_key) - .set(status).equalTo(row::getStatus) - .set(project_id).equalTo(row::getProject_id) - .set(project_name).equalTo(row::getProject_name) - .set(sign).equalTo(row::getSign); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2791482+08:00", comments="Source Table: public.files_apply") - static UpdateDSL updateSelectiveColumns(FilesApply row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(apply_user_id).equalToWhenPresent(row::getApply_user_id) - .set(apply_user_name).equalToWhenPresent(row::getApply_user_name) - .set(apply_user_phone).equalToWhenPresent(row::getApply_user_phone) - .set(apply_user_email).equalToWhenPresent(row::getApply_user_email) - .set(apply_org_id).equalToWhenPresent(row::getApply_org_id) - .set(apply_org_name).equalToWhenPresent(row::getApply_org_name) - .set(apply_in_check_user_id).equalToWhenPresent(row::getApply_in_check_user_id) - .set(apply_in_check_user_name).equalToWhenPresent(row::getApply_in_check_user_name) - .set(apply_in_check_org_id).equalToWhenPresent(row::getApply_in_check_org_id) - .set(apply_in_check_org_name).equalToWhenPresent(row::getApply_in_check_org_name) - .set(apply_next_check_org_id).equalToWhenPresent(row::getApply_next_check_org_id) - .set(apply_next_check_org_name).equalToWhenPresent(row::getApply_next_check_org_name) - .set(apply_end_check_user_id).equalToWhenPresent(row::getApply_end_check_user_id) - .set(apply_end_check_user_name).equalToWhenPresent(row::getApply_end_check_user_name) - .set(apply_end_check_org_id).equalToWhenPresent(row::getApply_end_check_org_id) - .set(apply_end_check_org_name).equalToWhenPresent(row::getApply_end_check_org_name) - .set(apply_days).equalToWhenPresent(row::getApply_days) - .set(apply_feedback).equalToWhenPresent(row::getApply_feedback) - .set(apply_reason).equalToWhenPresent(row::getApply_reason) - .set(apply_cancel_reason).equalToWhenPresent(row::getApply_cancel_reason) - .set(apply_view_type_print).equalToWhenPresent(row::getApply_view_type_print) - .set(apply_view_type_online).equalToWhenPresent(row::getApply_view_type_online) - .set(apply_file_num).equalToWhenPresent(row::getApply_file_num) - .set(apply_time).equalToWhenPresent(row::getApply_time) - .set(apply_check_is_finish).equalToWhenPresent(row::getApply_check_is_finish) - .set(provider_org_id).equalToWhenPresent(row::getProvider_org_id) - .set(provider_org_name).equalToWhenPresent(row::getProvider_org_name) - .set(provider_file_properties).equalToWhenPresent(row::getProvider_file_properties) - .set(provider_use_start_time).equalToWhenPresent(row::getProvider_use_start_time) - .set(provider_use_end_time).equalToWhenPresent(row::getProvider_use_end_time) - .set(provider_in_check_user_id).equalToWhenPresent(row::getProvider_in_check_user_id) - .set(provider_in_check_user_name).equalToWhenPresent(row::getProvider_in_check_user_name) - .set(provider_in_check_org_id).equalToWhenPresent(row::getProvider_in_check_org_id) - .set(provider_in_check_org_name).equalToWhenPresent(row::getProvider_in_check_org_name) - .set(provider_next_check_role_sign_id).equalToWhenPresent(row::getProvider_next_check_role_sign_id) - .set(provider_next_check_role_sign_name).equalToWhenPresent(row::getProvider_next_check_role_sign_name) - .set(provider_end_check_user_id).equalToWhenPresent(row::getProvider_end_check_user_id) - .set(provider_end_check_user_name).equalToWhenPresent(row::getProvider_end_check_user_name) - .set(provider_end_check_org_id).equalToWhenPresent(row::getProvider_end_check_org_id) - .set(provider_end_check_org_name).equalToWhenPresent(row::getProvider_end_check_org_name) - .set(provider_check_is_finish).equalToWhenPresent(row::getProvider_check_is_finish) - .set(secret_key).equalToWhenPresent(row::getSecret_key) - .set(status).equalToWhenPresent(row::getStatus) - .set(project_id).equalToWhenPresent(row::getProject_id) - .set(project_name).equalToWhenPresent(row::getProject_name) - .set(sign).equalToWhenPresent(row::getSign); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2791482+08:00", comments="Source Table: public.files_apply") - default int updateByPrimaryKey(FilesApply row) { - return update(c -> - c.set(apply_user_id).equalTo(row::getApply_user_id) - .set(apply_user_name).equalTo(row::getApply_user_name) - .set(apply_user_phone).equalTo(row::getApply_user_phone) - .set(apply_user_email).equalTo(row::getApply_user_email) - .set(apply_org_id).equalTo(row::getApply_org_id) - .set(apply_org_name).equalTo(row::getApply_org_name) - .set(apply_in_check_user_id).equalTo(row::getApply_in_check_user_id) - .set(apply_in_check_user_name).equalTo(row::getApply_in_check_user_name) - .set(apply_in_check_org_id).equalTo(row::getApply_in_check_org_id) - .set(apply_in_check_org_name).equalTo(row::getApply_in_check_org_name) - .set(apply_next_check_org_id).equalTo(row::getApply_next_check_org_id) - .set(apply_next_check_org_name).equalTo(row::getApply_next_check_org_name) - .set(apply_end_check_user_id).equalTo(row::getApply_end_check_user_id) - .set(apply_end_check_user_name).equalTo(row::getApply_end_check_user_name) - .set(apply_end_check_org_id).equalTo(row::getApply_end_check_org_id) - .set(apply_end_check_org_name).equalTo(row::getApply_end_check_org_name) - .set(apply_days).equalTo(row::getApply_days) - .set(apply_feedback).equalTo(row::getApply_feedback) - .set(apply_reason).equalTo(row::getApply_reason) - .set(apply_cancel_reason).equalTo(row::getApply_cancel_reason) - .set(apply_view_type_print).equalTo(row::getApply_view_type_print) - .set(apply_view_type_online).equalTo(row::getApply_view_type_online) - .set(apply_file_num).equalTo(row::getApply_file_num) - .set(apply_time).equalTo(row::getApply_time) - .set(apply_check_is_finish).equalTo(row::getApply_check_is_finish) - .set(provider_org_id).equalTo(row::getProvider_org_id) - .set(provider_org_name).equalTo(row::getProvider_org_name) - .set(provider_file_properties).equalTo(row::getProvider_file_properties) - .set(provider_use_start_time).equalTo(row::getProvider_use_start_time) - .set(provider_use_end_time).equalTo(row::getProvider_use_end_time) - .set(provider_in_check_user_id).equalTo(row::getProvider_in_check_user_id) - .set(provider_in_check_user_name).equalTo(row::getProvider_in_check_user_name) - .set(provider_in_check_org_id).equalTo(row::getProvider_in_check_org_id) - .set(provider_in_check_org_name).equalTo(row::getProvider_in_check_org_name) - .set(provider_next_check_role_sign_id).equalTo(row::getProvider_next_check_role_sign_id) - .set(provider_next_check_role_sign_name).equalTo(row::getProvider_next_check_role_sign_name) - .set(provider_end_check_user_id).equalTo(row::getProvider_end_check_user_id) - .set(provider_end_check_user_name).equalTo(row::getProvider_end_check_user_name) - .set(provider_end_check_org_id).equalTo(row::getProvider_end_check_org_id) - .set(provider_end_check_org_name).equalTo(row::getProvider_end_check_org_name) - .set(provider_check_is_finish).equalTo(row::getProvider_check_is_finish) - .set(secret_key).equalTo(row::getSecret_key) - .set(status).equalTo(row::getStatus) - .set(project_id).equalTo(row::getProject_id) - .set(project_name).equalTo(row::getProject_name) - .set(sign).equalTo(row::getSign) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2791482+08:00", comments="Source Table: public.files_apply") - default int updateByPrimaryKeySelective(FilesApply row) { - return update(c -> - c.set(apply_user_id).equalToWhenPresent(row::getApply_user_id) - .set(apply_user_name).equalToWhenPresent(row::getApply_user_name) - .set(apply_user_phone).equalToWhenPresent(row::getApply_user_phone) - .set(apply_user_email).equalToWhenPresent(row::getApply_user_email) - .set(apply_org_id).equalToWhenPresent(row::getApply_org_id) - .set(apply_org_name).equalToWhenPresent(row::getApply_org_name) - .set(apply_in_check_user_id).equalToWhenPresent(row::getApply_in_check_user_id) - .set(apply_in_check_user_name).equalToWhenPresent(row::getApply_in_check_user_name) - .set(apply_in_check_org_id).equalToWhenPresent(row::getApply_in_check_org_id) - .set(apply_in_check_org_name).equalToWhenPresent(row::getApply_in_check_org_name) - .set(apply_next_check_org_id).equalToWhenPresent(row::getApply_next_check_org_id) - .set(apply_next_check_org_name).equalToWhenPresent(row::getApply_next_check_org_name) - .set(apply_end_check_user_id).equalToWhenPresent(row::getApply_end_check_user_id) - .set(apply_end_check_user_name).equalToWhenPresent(row::getApply_end_check_user_name) - .set(apply_end_check_org_id).equalToWhenPresent(row::getApply_end_check_org_id) - .set(apply_end_check_org_name).equalToWhenPresent(row::getApply_end_check_org_name) - .set(apply_days).equalToWhenPresent(row::getApply_days) - .set(apply_feedback).equalToWhenPresent(row::getApply_feedback) - .set(apply_reason).equalToWhenPresent(row::getApply_reason) - .set(apply_cancel_reason).equalToWhenPresent(row::getApply_cancel_reason) - .set(apply_view_type_print).equalToWhenPresent(row::getApply_view_type_print) - .set(apply_view_type_online).equalToWhenPresent(row::getApply_view_type_online) - .set(apply_file_num).equalToWhenPresent(row::getApply_file_num) - .set(apply_time).equalToWhenPresent(row::getApply_time) - .set(apply_check_is_finish).equalToWhenPresent(row::getApply_check_is_finish) - .set(provider_org_id).equalToWhenPresent(row::getProvider_org_id) - .set(provider_org_name).equalToWhenPresent(row::getProvider_org_name) - .set(provider_file_properties).equalToWhenPresent(row::getProvider_file_properties) - .set(provider_use_start_time).equalToWhenPresent(row::getProvider_use_start_time) - .set(provider_use_end_time).equalToWhenPresent(row::getProvider_use_end_time) - .set(provider_in_check_user_id).equalToWhenPresent(row::getProvider_in_check_user_id) - .set(provider_in_check_user_name).equalToWhenPresent(row::getProvider_in_check_user_name) - .set(provider_in_check_org_id).equalToWhenPresent(row::getProvider_in_check_org_id) - .set(provider_in_check_org_name).equalToWhenPresent(row::getProvider_in_check_org_name) - .set(provider_next_check_role_sign_id).equalToWhenPresent(row::getProvider_next_check_role_sign_id) - .set(provider_next_check_role_sign_name).equalToWhenPresent(row::getProvider_next_check_role_sign_name) - .set(provider_end_check_user_id).equalToWhenPresent(row::getProvider_end_check_user_id) - .set(provider_end_check_user_name).equalToWhenPresent(row::getProvider_end_check_user_name) - .set(provider_end_check_org_id).equalToWhenPresent(row::getProvider_end_check_org_id) - .set(provider_end_check_org_name).equalToWhenPresent(row::getProvider_end_check_org_name) - .set(provider_check_is_finish).equalToWhenPresent(row::getProvider_check_is_finish) - .set(secret_key).equalToWhenPresent(row::getSecret_key) - .set(status).equalToWhenPresent(row::getStatus) - .set(project_id).equalToWhenPresent(row::getProject_id) - .set(project_name).equalToWhenPresent(row::getProject_name) - .set(sign).equalToWhenPresent(row::getSign) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/PreShareDirectoryFileTagMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/PreShareDirectoryFileTagMapper.java deleted file mode 100644 index 715c5bd..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/PreShareDirectoryFileTagMapper.java +++ /dev/null @@ -1,161 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.PreShareDirectoryFileTagDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.PreShareDirectoryFileTag; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface PreShareDirectoryFileTagMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - BasicColumn[] selectList = BasicColumn.columnList(id, share_status, update_time, sync_bc_time); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="PreShareDirectoryFileTagResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="share_status", property="share_status", jdbcType=JdbcType.INTEGER), - @Result(column="update_time", property="update_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="sync_bc_time", property="sync_bc_time", jdbcType=JdbcType.TIMESTAMP) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("PreShareDirectoryFileTagResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, preShareDirectoryFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, preShareDirectoryFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default int insert(PreShareDirectoryFileTag row) { - return MyBatis3Utils.insert(this::insert, row, preShareDirectoryFileTag, c -> - c.map(id).toProperty("id") - .map(share_status).toProperty("share_status") - .map(update_time).toProperty("update_time") - .map(sync_bc_time).toProperty("sync_bc_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, preShareDirectoryFileTag, c -> - c.map(id).toProperty("id") - .map(share_status).toProperty("share_status") - .map(update_time).toProperty("update_time") - .map(sync_bc_time).toProperty("sync_bc_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default int insertSelective(PreShareDirectoryFileTag row) { - return MyBatis3Utils.insert(this::insert, row, preShareDirectoryFileTag, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(share_status).toPropertyWhenPresent("share_status", row::getShare_status) - .map(update_time).toPropertyWhenPresent("update_time", row::getUpdate_time) - .map(sync_bc_time).toPropertyWhenPresent("sync_bc_time", row::getSync_bc_time) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, preShareDirectoryFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, preShareDirectoryFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, preShareDirectoryFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, preShareDirectoryFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - static UpdateDSL updateAllColumns(PreShareDirectoryFileTag row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(share_status).equalTo(row::getShare_status) - .set(update_time).equalTo(row::getUpdate_time) - .set(sync_bc_time).equalTo(row::getSync_bc_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - static UpdateDSL updateSelectiveColumns(PreShareDirectoryFileTag row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(share_status).equalToWhenPresent(row::getShare_status) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(sync_bc_time).equalToWhenPresent(row::getSync_bc_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default int updateByPrimaryKey(PreShareDirectoryFileTag row) { - return update(c -> - c.set(share_status).equalTo(row::getShare_status) - .set(update_time).equalTo(row::getUpdate_time) - .set(sync_bc_time).equalTo(row::getSync_bc_time) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source Table: public.pre_share_directory_file_tag") - default int updateByPrimaryKeySelective(PreShareDirectoryFileTag row) { - return update(c -> - c.set(share_status).equalToWhenPresent(row::getShare_status) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(sync_bc_time).equalToWhenPresent(row::getSync_bc_time) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/PreShareDirectoryTagMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/PreShareDirectoryTagMapper.java deleted file mode 100644 index 97550f4..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/PreShareDirectoryTagMapper.java +++ /dev/null @@ -1,161 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.PreShareDirectoryTagDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.PreShareDirectoryTag; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface PreShareDirectoryTagMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.153767+08:00", comments="Source Table: public.pre_share_directory_tag") - BasicColumn[] selectList = BasicColumn.columnList(id, share_status, update_time, sync_bc_time); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1465601+08:00", comments="Source Table: public.pre_share_directory_tag") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="PreShareDirectoryTagResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="share_status", property="share_status", jdbcType=JdbcType.INTEGER), - @Result(column="update_time", property="update_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="sync_bc_time", property="sync_bc_time", jdbcType=JdbcType.TIMESTAMP) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1477259+08:00", comments="Source Table: public.pre_share_directory_tag") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("PreShareDirectoryTagResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1487813+08:00", comments="Source Table: public.pre_share_directory_tag") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, preShareDirectoryTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1487813+08:00", comments="Source Table: public.pre_share_directory_tag") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, preShareDirectoryTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1499871+08:00", comments="Source Table: public.pre_share_directory_tag") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1499871+08:00", comments="Source Table: public.pre_share_directory_tag") - default int insert(PreShareDirectoryTag row) { - return MyBatis3Utils.insert(this::insert, row, preShareDirectoryTag, c -> - c.map(id).toProperty("id") - .map(share_status).toProperty("share_status") - .map(update_time).toProperty("update_time") - .map(sync_bc_time).toProperty("sync_bc_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.152442+08:00", comments="Source Table: public.pre_share_directory_tag") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, preShareDirectoryTag, c -> - c.map(id).toProperty("id") - .map(share_status).toProperty("share_status") - .map(update_time).toProperty("update_time") - .map(sync_bc_time).toProperty("sync_bc_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.152442+08:00", comments="Source Table: public.pre_share_directory_tag") - default int insertSelective(PreShareDirectoryTag row) { - return MyBatis3Utils.insert(this::insert, row, preShareDirectoryTag, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(share_status).toPropertyWhenPresent("share_status", row::getShare_status) - .map(update_time).toPropertyWhenPresent("update_time", row::getUpdate_time) - .map(sync_bc_time).toPropertyWhenPresent("sync_bc_time", row::getSync_bc_time) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.155085+08:00", comments="Source Table: public.pre_share_directory_tag") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, preShareDirectoryTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.155085+08:00", comments="Source Table: public.pre_share_directory_tag") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, preShareDirectoryTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1563411+08:00", comments="Source Table: public.pre_share_directory_tag") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, preShareDirectoryTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1563411+08:00", comments="Source Table: public.pre_share_directory_tag") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1563411+08:00", comments="Source Table: public.pre_share_directory_tag") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, preShareDirectoryTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1573721+08:00", comments="Source Table: public.pre_share_directory_tag") - static UpdateDSL updateAllColumns(PreShareDirectoryTag row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(share_status).equalTo(row::getShare_status) - .set(update_time).equalTo(row::getUpdate_time) - .set(sync_bc_time).equalTo(row::getSync_bc_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1573721+08:00", comments="Source Table: public.pre_share_directory_tag") - static UpdateDSL updateSelectiveColumns(PreShareDirectoryTag row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(share_status).equalToWhenPresent(row::getShare_status) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(sync_bc_time).equalToWhenPresent(row::getSync_bc_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1588641+08:00", comments="Source Table: public.pre_share_directory_tag") - default int updateByPrimaryKey(PreShareDirectoryTag row) { - return update(c -> - c.set(share_status).equalTo(row::getShare_status) - .set(update_time).equalTo(row::getUpdate_time) - .set(sync_bc_time).equalTo(row::getSync_bc_time) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.163117+08:00", comments="Source Table: public.pre_share_directory_tag") - default int updateByPrimaryKeySelective(PreShareDirectoryTag row) { - return update(c -> - c.set(share_status).equalToWhenPresent(row::getShare_status) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(sync_bc_time).equalToWhenPresent(row::getSync_bc_time) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/PreShareFileTagMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/PreShareFileTagMapper.java deleted file mode 100644 index eaffa56..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/PreShareFileTagMapper.java +++ /dev/null @@ -1,161 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.PreShareFileTagDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.PreShareFileTag; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface PreShareFileTagMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - BasicColumn[] selectList = BasicColumn.columnList(id, share_status, update_time, sync_bc_time); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source Table: public.pre_share_file_tag") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="PreShareFileTagResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="share_status", property="share_status", jdbcType=JdbcType.INTEGER), - @Result(column="update_time", property="update_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="sync_bc_time", property="sync_bc_time", jdbcType=JdbcType.TIMESTAMP) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source Table: public.pre_share_file_tag") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("PreShareFileTagResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source Table: public.pre_share_file_tag") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, preShareFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, preShareFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default int insert(PreShareFileTag row) { - return MyBatis3Utils.insert(this::insert, row, preShareFileTag, c -> - c.map(id).toProperty("id") - .map(share_status).toProperty("share_status") - .map(update_time).toProperty("update_time") - .map(sync_bc_time).toProperty("sync_bc_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, preShareFileTag, c -> - c.map(id).toProperty("id") - .map(share_status).toProperty("share_status") - .map(update_time).toProperty("update_time") - .map(sync_bc_time).toProperty("sync_bc_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default int insertSelective(PreShareFileTag row) { - return MyBatis3Utils.insert(this::insert, row, preShareFileTag, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(share_status).toPropertyWhenPresent("share_status", row::getShare_status) - .map(update_time).toPropertyWhenPresent("update_time", row::getUpdate_time) - .map(sync_bc_time).toPropertyWhenPresent("sync_bc_time", row::getSync_bc_time) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, preShareFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, preShareFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, preShareFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, preShareFileTag, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - static UpdateDSL updateAllColumns(PreShareFileTag row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(share_status).equalTo(row::getShare_status) - .set(update_time).equalTo(row::getUpdate_time) - .set(sync_bc_time).equalTo(row::getSync_bc_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - static UpdateDSL updateSelectiveColumns(PreShareFileTag row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(share_status).equalToWhenPresent(row::getShare_status) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(sync_bc_time).equalToWhenPresent(row::getSync_bc_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default int updateByPrimaryKey(PreShareFileTag row) { - return update(c -> - c.set(share_status).equalTo(row::getShare_status) - .set(update_time).equalTo(row::getUpdate_time) - .set(sync_bc_time).equalTo(row::getSync_bc_time) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.171509+08:00", comments="Source Table: public.pre_share_file_tag") - default int updateByPrimaryKeySelective(PreShareFileTag row) { - return update(c -> - c.set(share_status).equalToWhenPresent(row::getShare_status) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(sync_bc_time).equalToWhenPresent(row::getSync_bc_time) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ProjectMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/ProjectMapper.java deleted file mode 100644 index 403d332..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ProjectMapper.java +++ /dev/null @@ -1,161 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.ProjectDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.Project; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface ProjectMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source Table: public.project") - BasicColumn[] selectList = BasicColumn.columnList(id, project_name, org_id, org_name); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source Table: public.project") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="ProjectResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="project_name", property="project_name", jdbcType=JdbcType.VARCHAR), - @Result(column="org_id", property="org_id", jdbcType=JdbcType.VARCHAR), - @Result(column="org_name", property="org_name", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source Table: public.project") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("ProjectResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source Table: public.project") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, project, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source Table: public.project") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, project, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source Table: public.project") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source Table: public.project") - default int insert(Project row) { - return MyBatis3Utils.insert(this::insert, row, project, c -> - c.map(id).toProperty("id") - .map(project_name).toProperty("project_name") - .map(org_id).toProperty("org_id") - .map(org_name).toProperty("org_name") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source Table: public.project") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, project, c -> - c.map(id).toProperty("id") - .map(project_name).toProperty("project_name") - .map(org_id).toProperty("org_id") - .map(org_name).toProperty("org_name") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source Table: public.project") - default int insertSelective(Project row) { - return MyBatis3Utils.insert(this::insert, row, project, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(project_name).toPropertyWhenPresent("project_name", row::getProject_name) - .map(org_id).toPropertyWhenPresent("org_id", row::getOrg_id) - .map(org_name).toPropertyWhenPresent("org_name", row::getOrg_name) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source Table: public.project") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, project, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source Table: public.project") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, project, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source Table: public.project") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, project, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source Table: public.project") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source Table: public.project") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, project, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source Table: public.project") - static UpdateDSL updateAllColumns(Project row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(project_name).equalTo(row::getProject_name) - .set(org_id).equalTo(row::getOrg_id) - .set(org_name).equalTo(row::getOrg_name); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source Table: public.project") - static UpdateDSL updateSelectiveColumns(Project row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(project_name).equalToWhenPresent(row::getProject_name) - .set(org_id).equalToWhenPresent(row::getOrg_id) - .set(org_name).equalToWhenPresent(row::getOrg_name); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source Table: public.project") - default int updateByPrimaryKey(Project row) { - return update(c -> - c.set(project_name).equalTo(row::getProject_name) - .set(org_id).equalTo(row::getOrg_id) - .set(org_name).equalTo(row::getOrg_name) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source Table: public.project") - default int updateByPrimaryKeySelective(Project row) { - return update(c -> - c.set(project_name).equalToWhenPresent(row::getProject_name) - .set(org_id).equalToWhenPresent(row::getOrg_id) - .set(org_name).equalToWhenPresent(row::getOrg_name) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ProviderMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/ProviderMapper.java deleted file mode 100644 index 71cda46..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ProviderMapper.java +++ /dev/null @@ -1,185 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.ProviderDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.Provider; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface ProviderMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0936453+08:00", comments="Source Table: public.provider") - BasicColumn[] selectList = BasicColumn.columnList(id, name, create_time, update_time, last_update_data_time, last_query_data_time, status); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.085147+08:00", comments="Source Table: public.provider") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="ProviderResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR), - @Result(column="create_time", property="create_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="update_time", property="update_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="last_update_data_time", property="last_update_data_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="last_query_data_time", property="last_query_data_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="status", property="status", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0874112+08:00", comments="Source Table: public.provider") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("ProviderResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0884109+08:00", comments="Source Table: public.provider") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, provider, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0894418+08:00", comments="Source Table: public.provider") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, provider, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0894418+08:00", comments="Source Table: public.provider") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0905148+08:00", comments="Source Table: public.provider") - default int insert(Provider row) { - return MyBatis3Utils.insert(this::insert, row, provider, c -> - c.map(id).toProperty("id") - .map(name).toProperty("name") - .map(create_time).toProperty("create_time") - .map(update_time).toProperty("update_time") - .map(last_update_data_time).toProperty("last_update_data_time") - .map(last_query_data_time).toProperty("last_query_data_time") - .map(status).toProperty("status") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0925732+08:00", comments="Source Table: public.provider") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, provider, c -> - c.map(id).toProperty("id") - .map(name).toProperty("name") - .map(create_time).toProperty("create_time") - .map(update_time).toProperty("update_time") - .map(last_update_data_time).toProperty("last_update_data_time") - .map(last_query_data_time).toProperty("last_query_data_time") - .map(status).toProperty("status") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0925732+08:00", comments="Source Table: public.provider") - default int insertSelective(Provider row) { - return MyBatis3Utils.insert(this::insert, row, provider, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(name).toPropertyWhenPresent("name", row::getName) - .map(create_time).toPropertyWhenPresent("create_time", row::getCreate_time) - .map(update_time).toPropertyWhenPresent("update_time", row::getUpdate_time) - .map(last_update_data_time).toPropertyWhenPresent("last_update_data_time", row::getLast_update_data_time) - .map(last_query_data_time).toPropertyWhenPresent("last_query_data_time", row::getLast_query_data_time) - .map(status).toPropertyWhenPresent("status", row::getStatus) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0947131+08:00", comments="Source Table: public.provider") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, provider, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0947131+08:00", comments="Source Table: public.provider") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, provider, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0957505+08:00", comments="Source Table: public.provider") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, provider, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0957505+08:00", comments="Source Table: public.provider") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0957505+08:00", comments="Source Table: public.provider") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, provider, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0968239+08:00", comments="Source Table: public.provider") - static UpdateDSL updateAllColumns(Provider row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(name).equalTo(row::getName) - .set(create_time).equalTo(row::getCreate_time) - .set(update_time).equalTo(row::getUpdate_time) - .set(last_update_data_time).equalTo(row::getLast_update_data_time) - .set(last_query_data_time).equalTo(row::getLast_query_data_time) - .set(status).equalTo(row::getStatus); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0968239+08:00", comments="Source Table: public.provider") - static UpdateDSL updateSelectiveColumns(Provider row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(name).equalToWhenPresent(row::getName) - .set(create_time).equalToWhenPresent(row::getCreate_time) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(last_update_data_time).equalToWhenPresent(row::getLast_update_data_time) - .set(last_query_data_time).equalToWhenPresent(row::getLast_query_data_time) - .set(status).equalToWhenPresent(row::getStatus); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0979992+08:00", comments="Source Table: public.provider") - default int updateByPrimaryKey(Provider row) { - return update(c -> - c.set(name).equalTo(row::getName) - .set(create_time).equalTo(row::getCreate_time) - .set(update_time).equalTo(row::getUpdate_time) - .set(last_update_data_time).equalTo(row::getLast_update_data_time) - .set(last_query_data_time).equalTo(row::getLast_query_data_time) - .set(status).equalTo(row::getStatus) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0979992+08:00", comments="Source Table: public.provider") - default int updateByPrimaryKeySelective(Provider row) { - return update(c -> - c.set(name).equalToWhenPresent(row::getName) - .set(create_time).equalToWhenPresent(row::getCreate_time) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(last_update_data_time).equalToWhenPresent(row::getLast_update_data_time) - .set(last_query_data_time).equalToWhenPresent(row::getLast_query_data_time) - .set(status).equalToWhenPresent(row::getStatus) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ReadLogMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/ReadLogMapper.java deleted file mode 100644 index bd072a4..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ReadLogMapper.java +++ /dev/null @@ -1,233 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.ReadLogDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.ReadLog; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface ReadLogMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2661469+08:00", comments="Source Table: public.read_log") - BasicColumn[] selectList = BasicColumn.columnList(id, weid, content_id, starttime, endtime, ip, location, downloadtype, sign, readid, sm9hibeid, content_type, ischeck); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source Table: public.read_log") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="ReadLogResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="weid", property="weid", jdbcType=JdbcType.VARCHAR), - @Result(column="content_id", property="content_id", jdbcType=JdbcType.VARCHAR), - @Result(column="starttime", property="starttime", jdbcType=JdbcType.TIMESTAMP), - @Result(column="endtime", property="endtime", jdbcType=JdbcType.TIMESTAMP), - @Result(column="ip", property="ip", jdbcType=JdbcType.VARCHAR), - @Result(column="location", property="location", jdbcType=JdbcType.VARCHAR), - @Result(column="downloadtype", property="downloadtype", jdbcType=JdbcType.INTEGER), - @Result(column="sign", property="sign", jdbcType=JdbcType.VARCHAR), - @Result(column="readid", property="readid", jdbcType=JdbcType.VARCHAR), - @Result(column="sm9hibeid", property="sm9hibeid", jdbcType=JdbcType.VARCHAR), - @Result(column="content_type", property="content_type", jdbcType=JdbcType.INTEGER), - @Result(column="ischeck", property="ischeck", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source Table: public.read_log") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("ReadLogResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source Table: public.read_log") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, readLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source Table: public.read_log") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, readLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source Table: public.read_log") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source Table: public.read_log") - default int insert(ReadLog row) { - return MyBatis3Utils.insert(this::insert, row, readLog, c -> - c.map(id).toProperty("id") - .map(weid).toProperty("weid") - .map(content_id).toProperty("content_id") - .map(starttime).toProperty("starttime") - .map(endtime).toProperty("endtime") - .map(ip).toProperty("ip") - .map(location).toProperty("location") - .map(downloadtype).toProperty("downloadtype") - .map(sign).toProperty("sign") - .map(readid).toProperty("readid") - .map(sm9hibeid).toProperty("sm9hibeid") - .map(content_type).toProperty("content_type") - .map(ischeck).toProperty("ischeck") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source Table: public.read_log") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, readLog, c -> - c.map(id).toProperty("id") - .map(weid).toProperty("weid") - .map(content_id).toProperty("content_id") - .map(starttime).toProperty("starttime") - .map(endtime).toProperty("endtime") - .map(ip).toProperty("ip") - .map(location).toProperty("location") - .map(downloadtype).toProperty("downloadtype") - .map(sign).toProperty("sign") - .map(readid).toProperty("readid") - .map(sm9hibeid).toProperty("sm9hibeid") - .map(content_type).toProperty("content_type") - .map(ischeck).toProperty("ischeck") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source Table: public.read_log") - default int insertSelective(ReadLog row) { - return MyBatis3Utils.insert(this::insert, row, readLog, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(weid).toPropertyWhenPresent("weid", row::getWeid) - .map(content_id).toPropertyWhenPresent("content_id", row::getContent_id) - .map(starttime).toPropertyWhenPresent("starttime", row::getStarttime) - .map(endtime).toPropertyWhenPresent("endtime", row::getEndtime) - .map(ip).toPropertyWhenPresent("ip", row::getIp) - .map(location).toPropertyWhenPresent("location", row::getLocation) - .map(downloadtype).toPropertyWhenPresent("downloadtype", row::getDownloadtype) - .map(sign).toPropertyWhenPresent("sign", row::getSign) - .map(readid).toPropertyWhenPresent("readid", row::getReadid) - .map(sm9hibeid).toPropertyWhenPresent("sm9hibeid", row::getSm9hibeid) - .map(content_type).toPropertyWhenPresent("content_type", row::getContent_type) - .map(ischeck).toPropertyWhenPresent("ischeck", row::getIscheck) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2661469+08:00", comments="Source Table: public.read_log") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, readLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2661469+08:00", comments="Source Table: public.read_log") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, readLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2661469+08:00", comments="Source Table: public.read_log") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, readLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2661469+08:00", comments="Source Table: public.read_log") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2661469+08:00", comments="Source Table: public.read_log") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, readLog, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2661469+08:00", comments="Source Table: public.read_log") - static UpdateDSL updateAllColumns(ReadLog row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(weid).equalTo(row::getWeid) - .set(content_id).equalTo(row::getContent_id) - .set(starttime).equalTo(row::getStarttime) - .set(endtime).equalTo(row::getEndtime) - .set(ip).equalTo(row::getIp) - .set(location).equalTo(row::getLocation) - .set(downloadtype).equalTo(row::getDownloadtype) - .set(sign).equalTo(row::getSign) - .set(readid).equalTo(row::getReadid) - .set(sm9hibeid).equalTo(row::getSm9hibeid) - .set(content_type).equalTo(row::getContent_type) - .set(ischeck).equalTo(row::getIscheck); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2661469+08:00", comments="Source Table: public.read_log") - static UpdateDSL updateSelectiveColumns(ReadLog row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(weid).equalToWhenPresent(row::getWeid) - .set(content_id).equalToWhenPresent(row::getContent_id) - .set(starttime).equalToWhenPresent(row::getStarttime) - .set(endtime).equalToWhenPresent(row::getEndtime) - .set(ip).equalToWhenPresent(row::getIp) - .set(location).equalToWhenPresent(row::getLocation) - .set(downloadtype).equalToWhenPresent(row::getDownloadtype) - .set(sign).equalToWhenPresent(row::getSign) - .set(readid).equalToWhenPresent(row::getReadid) - .set(sm9hibeid).equalToWhenPresent(row::getSm9hibeid) - .set(content_type).equalToWhenPresent(row::getContent_type) - .set(ischeck).equalToWhenPresent(row::getIscheck); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2661469+08:00", comments="Source Table: public.read_log") - default int updateByPrimaryKey(ReadLog row) { - return update(c -> - c.set(weid).equalTo(row::getWeid) - .set(content_id).equalTo(row::getContent_id) - .set(starttime).equalTo(row::getStarttime) - .set(endtime).equalTo(row::getEndtime) - .set(ip).equalTo(row::getIp) - .set(location).equalTo(row::getLocation) - .set(downloadtype).equalTo(row::getDownloadtype) - .set(sign).equalTo(row::getSign) - .set(readid).equalTo(row::getReadid) - .set(sm9hibeid).equalTo(row::getSm9hibeid) - .set(content_type).equalTo(row::getContent_type) - .set(ischeck).equalTo(row::getIscheck) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2661469+08:00", comments="Source Table: public.read_log") - default int updateByPrimaryKeySelective(ReadLog row) { - return update(c -> - c.set(weid).equalToWhenPresent(row::getWeid) - .set(content_id).equalToWhenPresent(row::getContent_id) - .set(starttime).equalToWhenPresent(row::getStarttime) - .set(endtime).equalToWhenPresent(row::getEndtime) - .set(ip).equalToWhenPresent(row::getIp) - .set(location).equalToWhenPresent(row::getLocation) - .set(downloadtype).equalToWhenPresent(row::getDownloadtype) - .set(sign).equalToWhenPresent(row::getSign) - .set(readid).equalToWhenPresent(row::getReadid) - .set(sm9hibeid).equalToWhenPresent(row::getSm9hibeid) - .set(content_type).equalToWhenPresent(row::getContent_type) - .set(ischeck).equalToWhenPresent(row::getIscheck) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareConfigDetailMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareConfigDetailMapper.java deleted file mode 100644 index 408ef4d..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareConfigDetailMapper.java +++ /dev/null @@ -1,177 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.ShareConfigDetailDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.ShareConfigDetail; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface ShareConfigDetailMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.197603+08:00", comments="Source Table: public.share_config_detail") - BasicColumn[] selectList = BasicColumn.columnList(node_id, node_type, share_config_statu, create_time, update_time, update_count); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1850956+08:00", comments="Source Table: public.share_config_detail") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="ShareConfigDetailResult", value = { - @Result(column="node_id", property="node_id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="node_type", property="node_type", jdbcType=JdbcType.INTEGER), - @Result(column="share_config_statu", property="share_config_statu", jdbcType=JdbcType.INTEGER), - @Result(column="create_time", property="create_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="update_time", property="update_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="update_count", property="update_count", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1879378+08:00", comments="Source Table: public.share_config_detail") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("ShareConfigDetailResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1879378+08:00", comments="Source Table: public.share_config_detail") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, shareConfigDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1879378+08:00", comments="Source Table: public.share_config_detail") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, shareConfigDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1893184+08:00", comments="Source Table: public.share_config_detail") - default int deleteByPrimaryKey(String node_id_) { - return delete(c -> - c.where(node_id, isEqualTo(node_id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1893184+08:00", comments="Source Table: public.share_config_detail") - default int insert(ShareConfigDetail row) { - return MyBatis3Utils.insert(this::insert, row, shareConfigDetail, c -> - c.map(node_id).toProperty("node_id") - .map(node_type).toProperty("node_type") - .map(share_config_statu).toProperty("share_config_statu") - .map(create_time).toProperty("create_time") - .map(update_time).toProperty("update_time") - .map(update_count).toProperty("update_count") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1923762+08:00", comments="Source Table: public.share_config_detail") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, shareConfigDetail, c -> - c.map(node_id).toProperty("node_id") - .map(node_type).toProperty("node_type") - .map(share_config_statu).toProperty("share_config_statu") - .map(create_time).toProperty("create_time") - .map(update_time).toProperty("update_time") - .map(update_count).toProperty("update_count") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1933762+08:00", comments="Source Table: public.share_config_detail") - default int insertSelective(ShareConfigDetail row) { - return MyBatis3Utils.insert(this::insert, row, shareConfigDetail, c -> - c.map(node_id).toPropertyWhenPresent("node_id", row::getNode_id) - .map(node_type).toPropertyWhenPresent("node_type", row::getNode_type) - .map(share_config_statu).toPropertyWhenPresent("share_config_statu", row::getShare_config_statu) - .map(create_time).toPropertyWhenPresent("create_time", row::getCreate_time) - .map(update_time).toPropertyWhenPresent("update_time", row::getUpdate_time) - .map(update_count).toPropertyWhenPresent("update_count", row::getUpdate_count) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1987339+08:00", comments="Source Table: public.share_config_detail") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, shareConfigDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1987339+08:00", comments="Source Table: public.share_config_detail") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, shareConfigDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.2001131+08:00", comments="Source Table: public.share_config_detail") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, shareConfigDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.2001131+08:00", comments="Source Table: public.share_config_detail") - default Optional selectByPrimaryKey(String node_id_) { - return selectOne(c -> - c.where(node_id, isEqualTo(node_id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.2001131+08:00", comments="Source Table: public.share_config_detail") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, shareConfigDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.2001131+08:00", comments="Source Table: public.share_config_detail") - static UpdateDSL updateAllColumns(ShareConfigDetail row, UpdateDSL dsl) { - return dsl.set(node_id).equalTo(row::getNode_id) - .set(node_type).equalTo(row::getNode_type) - .set(share_config_statu).equalTo(row::getShare_config_statu) - .set(create_time).equalTo(row::getCreate_time) - .set(update_time).equalTo(row::getUpdate_time) - .set(update_count).equalTo(row::getUpdate_count); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.2015647+08:00", comments="Source Table: public.share_config_detail") - static UpdateDSL updateSelectiveColumns(ShareConfigDetail row, UpdateDSL dsl) { - return dsl.set(node_id).equalToWhenPresent(row::getNode_id) - .set(node_type).equalToWhenPresent(row::getNode_type) - .set(share_config_statu).equalToWhenPresent(row::getShare_config_statu) - .set(create_time).equalToWhenPresent(row::getCreate_time) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(update_count).equalToWhenPresent(row::getUpdate_count); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.2025684+08:00", comments="Source Table: public.share_config_detail") - default int updateByPrimaryKey(ShareConfigDetail row) { - return update(c -> - c.set(node_type).equalTo(row::getNode_type) - .set(share_config_statu).equalTo(row::getShare_config_statu) - .set(create_time).equalTo(row::getCreate_time) - .set(update_time).equalTo(row::getUpdate_time) - .set(update_count).equalTo(row::getUpdate_count) - .where(node_id, isEqualTo(row::getNode_id)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.2025684+08:00", comments="Source Table: public.share_config_detail") - default int updateByPrimaryKeySelective(ShareConfigDetail row) { - return update(c -> - c.set(node_type).equalToWhenPresent(row::getNode_type) - .set(share_config_statu).equalToWhenPresent(row::getShare_config_statu) - .set(create_time).equalToWhenPresent(row::getCreate_time) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(update_count).equalToWhenPresent(row::getUpdate_count) - .where(node_id, isEqualTo(row::getNode_id)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareDirectoryFileMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareDirectoryFileMapper.java deleted file mode 100644 index 83b3646..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareDirectoryFileMapper.java +++ /dev/null @@ -1,305 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.ShareDirectoryFileDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.ShareDirectoryFile; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface ShareDirectoryFileMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9255597+08:00", comments="Source Table: public.share_directory_file") - BasicColumn[] selectList = BasicColumn.columnList(id, p_id, provider_id, filesuper, filecount, dutyperson, eweavedate, filepage, sortorder, bpeg, epeg, filenum, remark, recordnum, piecenumber, adddate, editdate, time_stamp, isdel, catalogpdfurl, signtag, collecttag); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.917125+08:00", comments="Source Table: public.share_directory_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="ShareDirectoryFileResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="p_id", property="p_id", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_id", property="provider_id", jdbcType=JdbcType.VARCHAR), - @Result(column="filesuper", property="filesuper", jdbcType=JdbcType.VARCHAR), - @Result(column="filecount", property="filecount", jdbcType=JdbcType.INTEGER), - @Result(column="dutyperson", property="dutyperson", jdbcType=JdbcType.VARCHAR), - @Result(column="eweavedate", property="eweavedate", jdbcType=JdbcType.VARCHAR), - @Result(column="filepage", property="filepage", jdbcType=JdbcType.INTEGER), - @Result(column="sortorder", property="sortorder", jdbcType=JdbcType.VARCHAR), - @Result(column="bpeg", property="bpeg", jdbcType=JdbcType.VARCHAR), - @Result(column="epeg", property="epeg", jdbcType=JdbcType.VARCHAR), - @Result(column="filenum", property="filenum", jdbcType=JdbcType.VARCHAR), - @Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), - @Result(column="recordnum", property="recordnum", jdbcType=JdbcType.VARCHAR), - @Result(column="piecenumber", property="piecenumber", jdbcType=JdbcType.VARCHAR), - @Result(column="adddate", property="adddate", jdbcType=JdbcType.VARCHAR), - @Result(column="editdate", property="editdate", jdbcType=JdbcType.VARCHAR), - @Result(column="time_stamp", property="time_stamp", jdbcType=JdbcType.VARCHAR), - @Result(column="isdel", property="isdel", jdbcType=JdbcType.INTEGER), - @Result(column="catalogpdfurl", property="catalogpdfurl", jdbcType=JdbcType.VARCHAR), - @Result(column="signtag", property="signtag", jdbcType=JdbcType.VARCHAR), - @Result(column="collecttag", property="collecttag", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9191252+08:00", comments="Source Table: public.share_directory_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("ShareDirectoryFileResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9191252+08:00", comments="Source Table: public.share_directory_file") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, shareDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9201249+08:00", comments="Source Table: public.share_directory_file") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, shareDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9201249+08:00", comments="Source Table: public.share_directory_file") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9211262+08:00", comments="Source Table: public.share_directory_file") - default int insert(ShareDirectoryFile row) { - return MyBatis3Utils.insert(this::insert, row, shareDirectoryFile, c -> - c.map(id).toProperty("id") - .map(p_id).toProperty("p_id") - .map(provider_id).toProperty("provider_id") - .map(filesuper).toProperty("filesuper") - .map(filecount).toProperty("filecount") - .map(dutyperson).toProperty("dutyperson") - .map(eweavedate).toProperty("eweavedate") - .map(filepage).toProperty("filepage") - .map(sortorder).toProperty("sortorder") - .map(bpeg).toProperty("bpeg") - .map(epeg).toProperty("epeg") - .map(filenum).toProperty("filenum") - .map(remark).toProperty("remark") - .map(recordnum).toProperty("recordnum") - .map(piecenumber).toProperty("piecenumber") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(catalogpdfurl).toProperty("catalogpdfurl") - .map(signtag).toProperty("signtag") - .map(collecttag).toProperty("collecttag") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9232037+08:00", comments="Source Table: public.share_directory_file") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, shareDirectoryFile, c -> - c.map(id).toProperty("id") - .map(p_id).toProperty("p_id") - .map(provider_id).toProperty("provider_id") - .map(filesuper).toProperty("filesuper") - .map(filecount).toProperty("filecount") - .map(dutyperson).toProperty("dutyperson") - .map(eweavedate).toProperty("eweavedate") - .map(filepage).toProperty("filepage") - .map(sortorder).toProperty("sortorder") - .map(bpeg).toProperty("bpeg") - .map(epeg).toProperty("epeg") - .map(filenum).toProperty("filenum") - .map(remark).toProperty("remark") - .map(recordnum).toProperty("recordnum") - .map(piecenumber).toProperty("piecenumber") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(catalogpdfurl).toProperty("catalogpdfurl") - .map(signtag).toProperty("signtag") - .map(collecttag).toProperty("collecttag") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9243056+08:00", comments="Source Table: public.share_directory_file") - default int insertSelective(ShareDirectoryFile row) { - return MyBatis3Utils.insert(this::insert, row, shareDirectoryFile, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(p_id).toPropertyWhenPresent("p_id", row::getP_id) - .map(provider_id).toPropertyWhenPresent("provider_id", row::getProvider_id) - .map(filesuper).toPropertyWhenPresent("filesuper", row::getFilesuper) - .map(filecount).toPropertyWhenPresent("filecount", row::getFilecount) - .map(dutyperson).toPropertyWhenPresent("dutyperson", row::getDutyperson) - .map(eweavedate).toPropertyWhenPresent("eweavedate", row::getEweavedate) - .map(filepage).toPropertyWhenPresent("filepage", row::getFilepage) - .map(sortorder).toPropertyWhenPresent("sortorder", row::getSortorder) - .map(bpeg).toPropertyWhenPresent("bpeg", row::getBpeg) - .map(epeg).toPropertyWhenPresent("epeg", row::getEpeg) - .map(filenum).toPropertyWhenPresent("filenum", row::getFilenum) - .map(remark).toPropertyWhenPresent("remark", row::getRemark) - .map(recordnum).toPropertyWhenPresent("recordnum", row::getRecordnum) - .map(piecenumber).toPropertyWhenPresent("piecenumber", row::getPiecenumber) - .map(adddate).toPropertyWhenPresent("adddate", row::getAdddate) - .map(editdate).toPropertyWhenPresent("editdate", row::getEditdate) - .map(time_stamp).toPropertyWhenPresent("time_stamp", row::getTime_stamp) - .map(isdel).toPropertyWhenPresent("isdel", row::getIsdel) - .map(catalogpdfurl).toPropertyWhenPresent("catalogpdfurl", row::getCatalogpdfurl) - .map(signtag).toPropertyWhenPresent("signtag", row::getSigntag) - .map(collecttag).toPropertyWhenPresent("collecttag", row::getCollecttag) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9275633+08:00", comments="Source Table: public.share_directory_file") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, shareDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9275633+08:00", comments="Source Table: public.share_directory_file") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, shareDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9275633+08:00", comments="Source Table: public.share_directory_file") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, shareDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9275633+08:00", comments="Source Table: public.share_directory_file") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9285772+08:00", comments="Source Table: public.share_directory_file") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, shareDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9285772+08:00", comments="Source Table: public.share_directory_file") - static UpdateDSL updateAllColumns(ShareDirectoryFile row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(p_id).equalTo(row::getP_id) - .set(provider_id).equalTo(row::getProvider_id) - .set(filesuper).equalTo(row::getFilesuper) - .set(filecount).equalTo(row::getFilecount) - .set(dutyperson).equalTo(row::getDutyperson) - .set(eweavedate).equalTo(row::getEweavedate) - .set(filepage).equalTo(row::getFilepage) - .set(sortorder).equalTo(row::getSortorder) - .set(bpeg).equalTo(row::getBpeg) - .set(epeg).equalTo(row::getEpeg) - .set(filenum).equalTo(row::getFilenum) - .set(remark).equalTo(row::getRemark) - .set(recordnum).equalTo(row::getRecordnum) - .set(piecenumber).equalTo(row::getPiecenumber) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(catalogpdfurl).equalTo(row::getCatalogpdfurl) - .set(signtag).equalTo(row::getSigntag) - .set(collecttag).equalTo(row::getCollecttag); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9285772+08:00", comments="Source Table: public.share_directory_file") - static UpdateDSL updateSelectiveColumns(ShareDirectoryFile row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(p_id).equalToWhenPresent(row::getP_id) - .set(provider_id).equalToWhenPresent(row::getProvider_id) - .set(filesuper).equalToWhenPresent(row::getFilesuper) - .set(filecount).equalToWhenPresent(row::getFilecount) - .set(dutyperson).equalToWhenPresent(row::getDutyperson) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(filepage).equalToWhenPresent(row::getFilepage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(bpeg).equalToWhenPresent(row::getBpeg) - .set(epeg).equalToWhenPresent(row::getEpeg) - .set(filenum).equalToWhenPresent(row::getFilenum) - .set(remark).equalToWhenPresent(row::getRemark) - .set(recordnum).equalToWhenPresent(row::getRecordnum) - .set(piecenumber).equalToWhenPresent(row::getPiecenumber) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(catalogpdfurl).equalToWhenPresent(row::getCatalogpdfurl) - .set(signtag).equalToWhenPresent(row::getSigntag) - .set(collecttag).equalToWhenPresent(row::getCollecttag); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9295629+08:00", comments="Source Table: public.share_directory_file") - default int updateByPrimaryKey(ShareDirectoryFile row) { - return update(c -> - c.set(p_id).equalTo(row::getP_id) - .set(provider_id).equalTo(row::getProvider_id) - .set(filesuper).equalTo(row::getFilesuper) - .set(filecount).equalTo(row::getFilecount) - .set(dutyperson).equalTo(row::getDutyperson) - .set(eweavedate).equalTo(row::getEweavedate) - .set(filepage).equalTo(row::getFilepage) - .set(sortorder).equalTo(row::getSortorder) - .set(bpeg).equalTo(row::getBpeg) - .set(epeg).equalTo(row::getEpeg) - .set(filenum).equalTo(row::getFilenum) - .set(remark).equalTo(row::getRemark) - .set(recordnum).equalTo(row::getRecordnum) - .set(piecenumber).equalTo(row::getPiecenumber) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(catalogpdfurl).equalTo(row::getCatalogpdfurl) - .set(signtag).equalTo(row::getSigntag) - .set(collecttag).equalTo(row::getCollecttag) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.930563+08:00", comments="Source Table: public.share_directory_file") - default int updateByPrimaryKeySelective(ShareDirectoryFile row) { - return update(c -> - c.set(p_id).equalToWhenPresent(row::getP_id) - .set(provider_id).equalToWhenPresent(row::getProvider_id) - .set(filesuper).equalToWhenPresent(row::getFilesuper) - .set(filecount).equalToWhenPresent(row::getFilecount) - .set(dutyperson).equalToWhenPresent(row::getDutyperson) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(filepage).equalToWhenPresent(row::getFilepage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(bpeg).equalToWhenPresent(row::getBpeg) - .set(epeg).equalToWhenPresent(row::getEpeg) - .set(filenum).equalToWhenPresent(row::getFilenum) - .set(remark).equalToWhenPresent(row::getRemark) - .set(recordnum).equalToWhenPresent(row::getRecordnum) - .set(piecenumber).equalToWhenPresent(row::getPiecenumber) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(catalogpdfurl).equalToWhenPresent(row::getCatalogpdfurl) - .set(signtag).equalToWhenPresent(row::getSigntag) - .set(collecttag).equalToWhenPresent(row::getCollecttag) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareDirectoryMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareDirectoryMapper.java deleted file mode 100644 index ae3174a..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareDirectoryMapper.java +++ /dev/null @@ -1,201 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.ShareDirectoryDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.ShareDirectory; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface ShareDirectoryMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.675339+08:00", comments="Source Table: public.share_directory") - BasicColumn[] selectList = BasicColumn.columnList(id, provider_id, p_id, wbs_id, time_stamp, sortorder, tname, subjoin, isdel); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.665391+08:00", comments="Source Table: public.share_directory") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="ShareDirectoryResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="provider_id", property="provider_id", jdbcType=JdbcType.VARCHAR), - @Result(column="p_id", property="p_id", jdbcType=JdbcType.VARCHAR), - @Result(column="wbs_id", property="wbs_id", jdbcType=JdbcType.VARCHAR), - @Result(column="time_stamp", property="time_stamp", jdbcType=JdbcType.VARCHAR), - @Result(column="sortorder", property="sortorder", jdbcType=JdbcType.INTEGER), - @Result(column="tname", property="tname", jdbcType=JdbcType.VARCHAR), - @Result(column="subjoin", property="subjoin", jdbcType=JdbcType.INTEGER), - @Result(column="isdel", property="isdel", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6673906+08:00", comments="Source Table: public.share_directory") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("ShareDirectoryResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6683905+08:00", comments="Source Table: public.share_directory") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, shareDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6683905+08:00", comments="Source Table: public.share_directory") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, shareDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6694034+08:00", comments="Source Table: public.share_directory") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6694034+08:00", comments="Source Table: public.share_directory") - default int insert(ShareDirectory row) { - return MyBatis3Utils.insert(this::insert, row, shareDirectory, c -> - c.map(id).toProperty("id") - .map(provider_id).toProperty("provider_id") - .map(p_id).toProperty("p_id") - .map(wbs_id).toProperty("wbs_id") - .map(time_stamp).toProperty("time_stamp") - .map(sortorder).toProperty("sortorder") - .map(tname).toProperty("tname") - .map(subjoin).toProperty("subjoin") - .map(isdel).toProperty("isdel") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6729304+08:00", comments="Source Table: public.share_directory") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, shareDirectory, c -> - c.map(id).toProperty("id") - .map(provider_id).toProperty("provider_id") - .map(p_id).toProperty("p_id") - .map(wbs_id).toProperty("wbs_id") - .map(time_stamp).toProperty("time_stamp") - .map(sortorder).toProperty("sortorder") - .map(tname).toProperty("tname") - .map(subjoin).toProperty("subjoin") - .map(isdel).toProperty("isdel") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6741068+08:00", comments="Source Table: public.share_directory") - default int insertSelective(ShareDirectory row) { - return MyBatis3Utils.insert(this::insert, row, shareDirectory, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(provider_id).toPropertyWhenPresent("provider_id", row::getProvider_id) - .map(p_id).toPropertyWhenPresent("p_id", row::getP_id) - .map(wbs_id).toPropertyWhenPresent("wbs_id", row::getWbs_id) - .map(time_stamp).toPropertyWhenPresent("time_stamp", row::getTime_stamp) - .map(sortorder).toPropertyWhenPresent("sortorder", row::getSortorder) - .map(tname).toPropertyWhenPresent("tname", row::getTname) - .map(subjoin).toPropertyWhenPresent("subjoin", row::getSubjoin) - .map(isdel).toPropertyWhenPresent("isdel", row::getIsdel) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6767301+08:00", comments="Source Table: public.share_directory") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, shareDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6767301+08:00", comments="Source Table: public.share_directory") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, shareDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6780116+08:00", comments="Source Table: public.share_directory") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, shareDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6780116+08:00", comments="Source Table: public.share_directory") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6780116+08:00", comments="Source Table: public.share_directory") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, shareDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6790677+08:00", comments="Source Table: public.share_directory") - static UpdateDSL updateAllColumns(ShareDirectory row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(provider_id).equalTo(row::getProvider_id) - .set(p_id).equalTo(row::getP_id) - .set(wbs_id).equalTo(row::getWbs_id) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(sortorder).equalTo(row::getSortorder) - .set(tname).equalTo(row::getTname) - .set(subjoin).equalTo(row::getSubjoin) - .set(isdel).equalTo(row::getIsdel); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6790677+08:00", comments="Source Table: public.share_directory") - static UpdateDSL updateSelectiveColumns(ShareDirectory row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(provider_id).equalToWhenPresent(row::getProvider_id) - .set(p_id).equalToWhenPresent(row::getP_id) - .set(wbs_id).equalToWhenPresent(row::getWbs_id) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(tname).equalToWhenPresent(row::getTname) - .set(subjoin).equalToWhenPresent(row::getSubjoin) - .set(isdel).equalToWhenPresent(row::getIsdel); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6802572+08:00", comments="Source Table: public.share_directory") - default int updateByPrimaryKey(ShareDirectory row) { - return update(c -> - c.set(provider_id).equalTo(row::getProvider_id) - .set(p_id).equalTo(row::getP_id) - .set(wbs_id).equalTo(row::getWbs_id) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(sortorder).equalTo(row::getSortorder) - .set(tname).equalTo(row::getTname) - .set(subjoin).equalTo(row::getSubjoin) - .set(isdel).equalTo(row::getIsdel) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6802572+08:00", comments="Source Table: public.share_directory") - default int updateByPrimaryKeySelective(ShareDirectory row) { - return update(c -> - c.set(provider_id).equalToWhenPresent(row::getProvider_id) - .set(p_id).equalToWhenPresent(row::getP_id) - .set(wbs_id).equalToWhenPresent(row::getWbs_id) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(tname).equalToWhenPresent(row::getTname) - .set(subjoin).equalToWhenPresent(row::getSubjoin) - .set(isdel).equalToWhenPresent(row::getIsdel) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareFileMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareFileMapper.java deleted file mode 100644 index a9f30be..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/ShareFileMapper.java +++ /dev/null @@ -1,273 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.ShareFileDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.ShareFile; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface ShareFileMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6213079+08:00", comments="Source Table: public.share_file") - BasicColumn[] selectList = BasicColumn.columnList(id, p_id, provider_id, tablenumber, annexname, projectname, eweavedate, checkdate, annexpage, sortorder, filefrom, archivestag, adddate, editdate, time_stamp, isdel, downurl, filesize); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6136639+08:00", comments="Source Table: public.share_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="ShareFileResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="p_id", property="p_id", jdbcType=JdbcType.VARCHAR), - @Result(column="provider_id", property="provider_id", jdbcType=JdbcType.VARCHAR), - @Result(column="tablenumber", property="tablenumber", jdbcType=JdbcType.VARCHAR), - @Result(column="annexname", property="annexname", jdbcType=JdbcType.VARCHAR), - @Result(column="projectname", property="projectname", jdbcType=JdbcType.VARCHAR), - @Result(column="eweavedate", property="eweavedate", jdbcType=JdbcType.VARCHAR), - @Result(column="checkdate", property="checkdate", jdbcType=JdbcType.VARCHAR), - @Result(column="annexpage", property="annexpage", jdbcType=JdbcType.INTEGER), - @Result(column="sortorder", property="sortorder", jdbcType=JdbcType.VARCHAR), - @Result(column="filefrom", property="filefrom", jdbcType=JdbcType.VARCHAR), - @Result(column="archivestag", property="archivestag", jdbcType=JdbcType.VARCHAR), - @Result(column="adddate", property="adddate", jdbcType=JdbcType.VARCHAR), - @Result(column="editdate", property="editdate", jdbcType=JdbcType.VARCHAR), - @Result(column="time_stamp", property="time_stamp", jdbcType=JdbcType.VARCHAR), - @Result(column="isdel", property="isdel", jdbcType=JdbcType.INTEGER), - @Result(column="downurl", property="downurl", jdbcType=JdbcType.VARCHAR), - @Result(column="filesize", property="filesize", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6158717+08:00", comments="Source Table: public.share_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("ShareFileResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6158717+08:00", comments="Source Table: public.share_file") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, shareFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.616897+08:00", comments="Source Table: public.share_file") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, shareFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.616897+08:00", comments="Source Table: public.share_file") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.616897+08:00", comments="Source Table: public.share_file") - default int insert(ShareFile row) { - return MyBatis3Utils.insert(this::insert, row, shareFile, c -> - c.map(id).toProperty("id") - .map(p_id).toProperty("p_id") - .map(provider_id).toProperty("provider_id") - .map(tablenumber).toProperty("tablenumber") - .map(annexname).toProperty("annexname") - .map(projectname).toProperty("projectname") - .map(eweavedate).toProperty("eweavedate") - .map(checkdate).toProperty("checkdate") - .map(annexpage).toProperty("annexpage") - .map(sortorder).toProperty("sortorder") - .map(filefrom).toProperty("filefrom") - .map(archivestag).toProperty("archivestag") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(downurl).toProperty("downurl") - .map(filesize).toProperty("filesize") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6189015+08:00", comments="Source Table: public.share_file") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, shareFile, c -> - c.map(id).toProperty("id") - .map(p_id).toProperty("p_id") - .map(provider_id).toProperty("provider_id") - .map(tablenumber).toProperty("tablenumber") - .map(annexname).toProperty("annexname") - .map(projectname).toProperty("projectname") - .map(eweavedate).toProperty("eweavedate") - .map(checkdate).toProperty("checkdate") - .map(annexpage).toProperty("annexpage") - .map(sortorder).toProperty("sortorder") - .map(filefrom).toProperty("filefrom") - .map(archivestag).toProperty("archivestag") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(downurl).toProperty("downurl") - .map(filesize).toProperty("filesize") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6199692+08:00", comments="Source Table: public.share_file") - default int insertSelective(ShareFile row) { - return MyBatis3Utils.insert(this::insert, row, shareFile, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(p_id).toPropertyWhenPresent("p_id", row::getP_id) - .map(provider_id).toPropertyWhenPresent("provider_id", row::getProvider_id) - .map(tablenumber).toPropertyWhenPresent("tablenumber", row::getTablenumber) - .map(annexname).toPropertyWhenPresent("annexname", row::getAnnexname) - .map(projectname).toPropertyWhenPresent("projectname", row::getProjectname) - .map(eweavedate).toPropertyWhenPresent("eweavedate", row::getEweavedate) - .map(checkdate).toPropertyWhenPresent("checkdate", row::getCheckdate) - .map(annexpage).toPropertyWhenPresent("annexpage", row::getAnnexpage) - .map(sortorder).toPropertyWhenPresent("sortorder", row::getSortorder) - .map(filefrom).toPropertyWhenPresent("filefrom", row::getFilefrom) - .map(archivestag).toPropertyWhenPresent("archivestag", row::getArchivestag) - .map(adddate).toPropertyWhenPresent("adddate", row::getAdddate) - .map(editdate).toPropertyWhenPresent("editdate", row::getEditdate) - .map(time_stamp).toPropertyWhenPresent("time_stamp", row::getTime_stamp) - .map(isdel).toPropertyWhenPresent("isdel", row::getIsdel) - .map(downurl).toPropertyWhenPresent("downurl", row::getDownurl) - .map(filesize).toPropertyWhenPresent("filesize", row::getFilesize) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6260569+08:00", comments="Source Table: public.share_file") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, shareFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6274924+08:00", comments="Source Table: public.share_file") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, shareFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6274924+08:00", comments="Source Table: public.share_file") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, shareFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6274924+08:00", comments="Source Table: public.share_file") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6286082+08:00", comments="Source Table: public.share_file") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, shareFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6286082+08:00", comments="Source Table: public.share_file") - static UpdateDSL updateAllColumns(ShareFile row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(p_id).equalTo(row::getP_id) - .set(provider_id).equalTo(row::getProvider_id) - .set(tablenumber).equalTo(row::getTablenumber) - .set(annexname).equalTo(row::getAnnexname) - .set(projectname).equalTo(row::getProjectname) - .set(eweavedate).equalTo(row::getEweavedate) - .set(checkdate).equalTo(row::getCheckdate) - .set(annexpage).equalTo(row::getAnnexpage) - .set(sortorder).equalTo(row::getSortorder) - .set(filefrom).equalTo(row::getFilefrom) - .set(archivestag).equalTo(row::getArchivestag) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(downurl).equalTo(row::getDownurl) - .set(filesize).equalTo(row::getFilesize); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6297256+08:00", comments="Source Table: public.share_file") - static UpdateDSL updateSelectiveColumns(ShareFile row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(p_id).equalToWhenPresent(row::getP_id) - .set(provider_id).equalToWhenPresent(row::getProvider_id) - .set(tablenumber).equalToWhenPresent(row::getTablenumber) - .set(annexname).equalToWhenPresent(row::getAnnexname) - .set(projectname).equalToWhenPresent(row::getProjectname) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(checkdate).equalToWhenPresent(row::getCheckdate) - .set(annexpage).equalToWhenPresent(row::getAnnexpage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(filefrom).equalToWhenPresent(row::getFilefrom) - .set(archivestag).equalToWhenPresent(row::getArchivestag) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(downurl).equalToWhenPresent(row::getDownurl) - .set(filesize).equalToWhenPresent(row::getFilesize); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6308199+08:00", comments="Source Table: public.share_file") - default int updateByPrimaryKey(ShareFile row) { - return update(c -> - c.set(p_id).equalTo(row::getP_id) - .set(provider_id).equalTo(row::getProvider_id) - .set(tablenumber).equalTo(row::getTablenumber) - .set(annexname).equalTo(row::getAnnexname) - .set(projectname).equalTo(row::getProjectname) - .set(eweavedate).equalTo(row::getEweavedate) - .set(checkdate).equalTo(row::getCheckdate) - .set(annexpage).equalTo(row::getAnnexpage) - .set(sortorder).equalTo(row::getSortorder) - .set(filefrom).equalTo(row::getFilefrom) - .set(archivestag).equalTo(row::getArchivestag) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(downurl).equalTo(row::getDownurl) - .set(filesize).equalTo(row::getFilesize) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6308199+08:00", comments="Source Table: public.share_file") - default int updateByPrimaryKeySelective(ShareFile row) { - return update(c -> - c.set(p_id).equalToWhenPresent(row::getP_id) - .set(provider_id).equalToWhenPresent(row::getProvider_id) - .set(tablenumber).equalToWhenPresent(row::getTablenumber) - .set(annexname).equalToWhenPresent(row::getAnnexname) - .set(projectname).equalToWhenPresent(row::getProjectname) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(checkdate).equalToWhenPresent(row::getCheckdate) - .set(annexpage).equalToWhenPresent(row::getAnnexpage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(filefrom).equalToWhenPresent(row::getFilefrom) - .set(archivestag).equalToWhenPresent(row::getArchivestag) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(downurl).equalToWhenPresent(row::getDownurl) - .set(filesize).equalToWhenPresent(row::getFilesize) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedElementUpdateDetailMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedElementUpdateDetailMapper.java deleted file mode 100644 index e5e6011..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedElementUpdateDetailMapper.java +++ /dev/null @@ -1,201 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.SharedElementUpdateDetailDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.SharedElementUpdateDetail; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface SharedElementUpdateDetailMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - BasicColumn[] selectList = BasicColumn.columnList(id, update_record_id, node_type, node_id, share_status, execute_start_time, execute_end_time, execute_desp, execute_success); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source Table: public.shared_element_update_detail") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="SharedElementUpdateDetailResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="update_record_id", property="update_record_id", jdbcType=JdbcType.VARCHAR), - @Result(column="node_type", property="node_type", jdbcType=JdbcType.INTEGER), - @Result(column="node_id", property="node_id", jdbcType=JdbcType.VARCHAR), - @Result(column="share_status", property="share_status", jdbcType=JdbcType.INTEGER), - @Result(column="execute_start_time", property="execute_start_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="execute_end_time", property="execute_end_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="execute_desp", property="execute_desp", jdbcType=JdbcType.VARCHAR), - @Result(column="execute_success", property="execute_success", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("SharedElementUpdateDetailResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, sharedElementUpdateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, sharedElementUpdateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - default int insert(SharedElementUpdateDetail row) { - return MyBatis3Utils.insert(this::insert, row, sharedElementUpdateDetail, c -> - c.map(id).toProperty("id") - .map(update_record_id).toProperty("update_record_id") - .map(node_type).toProperty("node_type") - .map(node_id).toProperty("node_id") - .map(share_status).toProperty("share_status") - .map(execute_start_time).toProperty("execute_start_time") - .map(execute_end_time).toProperty("execute_end_time") - .map(execute_desp).toProperty("execute_desp") - .map(execute_success).toProperty("execute_success") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sharedElementUpdateDetail, c -> - c.map(id).toProperty("id") - .map(update_record_id).toProperty("update_record_id") - .map(node_type).toProperty("node_type") - .map(node_id).toProperty("node_id") - .map(share_status).toProperty("share_status") - .map(execute_start_time).toProperty("execute_start_time") - .map(execute_end_time).toProperty("execute_end_time") - .map(execute_desp).toProperty("execute_desp") - .map(execute_success).toProperty("execute_success") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - default int insertSelective(SharedElementUpdateDetail row) { - return MyBatis3Utils.insert(this::insert, row, sharedElementUpdateDetail, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(update_record_id).toPropertyWhenPresent("update_record_id", row::getUpdate_record_id) - .map(node_type).toPropertyWhenPresent("node_type", row::getNode_type) - .map(node_id).toPropertyWhenPresent("node_id", row::getNode_id) - .map(share_status).toPropertyWhenPresent("share_status", row::getShare_status) - .map(execute_start_time).toPropertyWhenPresent("execute_start_time", row::getExecute_start_time) - .map(execute_end_time).toPropertyWhenPresent("execute_end_time", row::getExecute_end_time) - .map(execute_desp).toPropertyWhenPresent("execute_desp", row::getExecute_desp) - .map(execute_success).toPropertyWhenPresent("execute_success", row::getExecute_success) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, sharedElementUpdateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, sharedElementUpdateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sharedElementUpdateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, sharedElementUpdateDetail, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2621483+08:00", comments="Source Table: public.shared_element_update_detail") - static UpdateDSL updateAllColumns(SharedElementUpdateDetail row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(update_record_id).equalTo(row::getUpdate_record_id) - .set(node_type).equalTo(row::getNode_type) - .set(node_id).equalTo(row::getNode_id) - .set(share_status).equalTo(row::getShare_status) - .set(execute_start_time).equalTo(row::getExecute_start_time) - .set(execute_end_time).equalTo(row::getExecute_end_time) - .set(execute_desp).equalTo(row::getExecute_desp) - .set(execute_success).equalTo(row::getExecute_success); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source Table: public.shared_element_update_detail") - static UpdateDSL updateSelectiveColumns(SharedElementUpdateDetail row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(update_record_id).equalToWhenPresent(row::getUpdate_record_id) - .set(node_type).equalToWhenPresent(row::getNode_type) - .set(node_id).equalToWhenPresent(row::getNode_id) - .set(share_status).equalToWhenPresent(row::getShare_status) - .set(execute_start_time).equalToWhenPresent(row::getExecute_start_time) - .set(execute_end_time).equalToWhenPresent(row::getExecute_end_time) - .set(execute_desp).equalToWhenPresent(row::getExecute_desp) - .set(execute_success).equalToWhenPresent(row::getExecute_success); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source Table: public.shared_element_update_detail") - default int updateByPrimaryKey(SharedElementUpdateDetail row) { - return update(c -> - c.set(update_record_id).equalTo(row::getUpdate_record_id) - .set(node_type).equalTo(row::getNode_type) - .set(node_id).equalTo(row::getNode_id) - .set(share_status).equalTo(row::getShare_status) - .set(execute_start_time).equalTo(row::getExecute_start_time) - .set(execute_end_time).equalTo(row::getExecute_end_time) - .set(execute_desp).equalTo(row::getExecute_desp) - .set(execute_success).equalTo(row::getExecute_success) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source Table: public.shared_element_update_detail") - default int updateByPrimaryKeySelective(SharedElementUpdateDetail row) { - return update(c -> - c.set(update_record_id).equalToWhenPresent(row::getUpdate_record_id) - .set(node_type).equalToWhenPresent(row::getNode_type) - .set(node_id).equalToWhenPresent(row::getNode_id) - .set(share_status).equalToWhenPresent(row::getShare_status) - .set(execute_start_time).equalToWhenPresent(row::getExecute_start_time) - .set(execute_end_time).equalToWhenPresent(row::getExecute_end_time) - .set(execute_desp).equalToWhenPresent(row::getExecute_desp) - .set(execute_success).equalToWhenPresent(row::getExecute_success) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedElementUpdateRecordMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedElementUpdateRecordMapper.java deleted file mode 100644 index cdf420e..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedElementUpdateRecordMapper.java +++ /dev/null @@ -1,241 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.SharedElementUpdateRecordDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.SharedElementUpdateRecord; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface SharedElementUpdateRecordMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9546248+08:00", comments="Source Table: public.shared_element_update_record") - BasicColumn[] selectList = BasicColumn.columnList(id, share_rule_id, user_id, desp, create_time, node_count, source, execute_start_time, execute_end_time, execute_desp, execute_status, succ_exec_node_count, act_node_count, execute_count); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9431757+08:00", comments="Source Table: public.shared_element_update_record") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="SharedElementUpdateRecordResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="share_rule_id", property="share_rule_id", jdbcType=JdbcType.VARCHAR), - @Result(column="user_id", property="user_id", jdbcType=JdbcType.VARCHAR), - @Result(column="desp", property="desp", jdbcType=JdbcType.VARCHAR), - @Result(column="create_time", property="create_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="node_count", property="node_count", jdbcType=JdbcType.BIGINT), - @Result(column="source", property="source", jdbcType=JdbcType.VARCHAR), - @Result(column="execute_start_time", property="execute_start_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="execute_end_time", property="execute_end_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="execute_desp", property="execute_desp", jdbcType=JdbcType.VARCHAR), - @Result(column="execute_status", property="execute_status", jdbcType=JdbcType.INTEGER), - @Result(column="succ_exec_node_count", property="succ_exec_node_count", jdbcType=JdbcType.INTEGER), - @Result(column="act_node_count", property="act_node_count", jdbcType=JdbcType.INTEGER), - @Result(column="execute_count", property="execute_count", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.945177+08:00", comments="Source Table: public.shared_element_update_record") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("SharedElementUpdateRecordResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9461772+08:00", comments="Source Table: public.shared_element_update_record") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, sharedElementUpdateRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9461772+08:00", comments="Source Table: public.shared_element_update_record") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, sharedElementUpdateRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9461772+08:00", comments="Source Table: public.shared_element_update_record") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9506218+08:00", comments="Source Table: public.shared_element_update_record") - default int insert(SharedElementUpdateRecord row) { - return MyBatis3Utils.insert(this::insert, row, sharedElementUpdateRecord, c -> - c.map(id).toProperty("id") - .map(share_rule_id).toProperty("share_rule_id") - .map(user_id).toProperty("user_id") - .map(desp).toProperty("desp") - .map(create_time).toProperty("create_time") - .map(node_count).toProperty("node_count") - .map(source).toProperty("source") - .map(execute_start_time).toProperty("execute_start_time") - .map(execute_end_time).toProperty("execute_end_time") - .map(execute_desp).toProperty("execute_desp") - .map(execute_status).toProperty("execute_status") - .map(succ_exec_node_count).toProperty("succ_exec_node_count") - .map(act_node_count).toProperty("act_node_count") - .map(execute_count).toProperty("execute_count") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9526216+08:00", comments="Source Table: public.shared_element_update_record") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sharedElementUpdateRecord, c -> - c.map(id).toProperty("id") - .map(share_rule_id).toProperty("share_rule_id") - .map(user_id).toProperty("user_id") - .map(desp).toProperty("desp") - .map(create_time).toProperty("create_time") - .map(node_count).toProperty("node_count") - .map(source).toProperty("source") - .map(execute_start_time).toProperty("execute_start_time") - .map(execute_end_time).toProperty("execute_end_time") - .map(execute_desp).toProperty("execute_desp") - .map(execute_status).toProperty("execute_status") - .map(succ_exec_node_count).toProperty("succ_exec_node_count") - .map(act_node_count).toProperty("act_node_count") - .map(execute_count).toProperty("execute_count") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.953636+08:00", comments="Source Table: public.shared_element_update_record") - default int insertSelective(SharedElementUpdateRecord row) { - return MyBatis3Utils.insert(this::insert, row, sharedElementUpdateRecord, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(share_rule_id).toPropertyWhenPresent("share_rule_id", row::getShare_rule_id) - .map(user_id).toPropertyWhenPresent("user_id", row::getUser_id) - .map(desp).toPropertyWhenPresent("desp", row::getDesp) - .map(create_time).toPropertyWhenPresent("create_time", row::getCreate_time) - .map(node_count).toPropertyWhenPresent("node_count", row::getNode_count) - .map(source).toPropertyWhenPresent("source", row::getSource) - .map(execute_start_time).toPropertyWhenPresent("execute_start_time", row::getExecute_start_time) - .map(execute_end_time).toPropertyWhenPresent("execute_end_time", row::getExecute_end_time) - .map(execute_desp).toPropertyWhenPresent("execute_desp", row::getExecute_desp) - .map(execute_status).toPropertyWhenPresent("execute_status", row::getExecute_status) - .map(succ_exec_node_count).toPropertyWhenPresent("succ_exec_node_count", row::getSucc_exec_node_count) - .map(act_node_count).toPropertyWhenPresent("act_node_count", row::getAct_node_count) - .map(execute_count).toPropertyWhenPresent("execute_count", row::getExecute_count) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9556238+08:00", comments="Source Table: public.shared_element_update_record") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, sharedElementUpdateRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9566228+08:00", comments="Source Table: public.shared_element_update_record") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, sharedElementUpdateRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9566228+08:00", comments="Source Table: public.shared_element_update_record") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sharedElementUpdateRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9566228+08:00", comments="Source Table: public.shared_element_update_record") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9576323+08:00", comments="Source Table: public.shared_element_update_record") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, sharedElementUpdateRecord, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9576323+08:00", comments="Source Table: public.shared_element_update_record") - static UpdateDSL updateAllColumns(SharedElementUpdateRecord row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(share_rule_id).equalTo(row::getShare_rule_id) - .set(user_id).equalTo(row::getUser_id) - .set(desp).equalTo(row::getDesp) - .set(create_time).equalTo(row::getCreate_time) - .set(node_count).equalTo(row::getNode_count) - .set(source).equalTo(row::getSource) - .set(execute_start_time).equalTo(row::getExecute_start_time) - .set(execute_end_time).equalTo(row::getExecute_end_time) - .set(execute_desp).equalTo(row::getExecute_desp) - .set(execute_status).equalTo(row::getExecute_status) - .set(succ_exec_node_count).equalTo(row::getSucc_exec_node_count) - .set(act_node_count).equalTo(row::getAct_node_count) - .set(execute_count).equalTo(row::getExecute_count); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9576323+08:00", comments="Source Table: public.shared_element_update_record") - static UpdateDSL updateSelectiveColumns(SharedElementUpdateRecord row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(share_rule_id).equalToWhenPresent(row::getShare_rule_id) - .set(user_id).equalToWhenPresent(row::getUser_id) - .set(desp).equalToWhenPresent(row::getDesp) - .set(create_time).equalToWhenPresent(row::getCreate_time) - .set(node_count).equalToWhenPresent(row::getNode_count) - .set(source).equalToWhenPresent(row::getSource) - .set(execute_start_time).equalToWhenPresent(row::getExecute_start_time) - .set(execute_end_time).equalToWhenPresent(row::getExecute_end_time) - .set(execute_desp).equalToWhenPresent(row::getExecute_desp) - .set(execute_status).equalToWhenPresent(row::getExecute_status) - .set(succ_exec_node_count).equalToWhenPresent(row::getSucc_exec_node_count) - .set(act_node_count).equalToWhenPresent(row::getAct_node_count) - .set(execute_count).equalToWhenPresent(row::getExecute_count); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9586206+08:00", comments="Source Table: public.shared_element_update_record") - default int updateByPrimaryKey(SharedElementUpdateRecord row) { - return update(c -> - c.set(share_rule_id).equalTo(row::getShare_rule_id) - .set(user_id).equalTo(row::getUser_id) - .set(desp).equalTo(row::getDesp) - .set(create_time).equalTo(row::getCreate_time) - .set(node_count).equalTo(row::getNode_count) - .set(source).equalTo(row::getSource) - .set(execute_start_time).equalTo(row::getExecute_start_time) - .set(execute_end_time).equalTo(row::getExecute_end_time) - .set(execute_desp).equalTo(row::getExecute_desp) - .set(execute_status).equalTo(row::getExecute_status) - .set(succ_exec_node_count).equalTo(row::getSucc_exec_node_count) - .set(act_node_count).equalTo(row::getAct_node_count) - .set(execute_count).equalTo(row::getExecute_count) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9596222+08:00", comments="Source Table: public.shared_element_update_record") - default int updateByPrimaryKeySelective(SharedElementUpdateRecord row) { - return update(c -> - c.set(share_rule_id).equalToWhenPresent(row::getShare_rule_id) - .set(user_id).equalToWhenPresent(row::getUser_id) - .set(desp).equalToWhenPresent(row::getDesp) - .set(create_time).equalToWhenPresent(row::getCreate_time) - .set(node_count).equalToWhenPresent(row::getNode_count) - .set(source).equalToWhenPresent(row::getSource) - .set(execute_start_time).equalToWhenPresent(row::getExecute_start_time) - .set(execute_end_time).equalToWhenPresent(row::getExecute_end_time) - .set(execute_desp).equalToWhenPresent(row::getExecute_desp) - .set(execute_status).equalToWhenPresent(row::getExecute_status) - .set(succ_exec_node_count).equalToWhenPresent(row::getSucc_exec_node_count) - .set(act_node_count).equalToWhenPresent(row::getAct_node_count) - .set(execute_count).equalToWhenPresent(row::getExecute_count) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedRuleConfigMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedRuleConfigMapper.java deleted file mode 100644 index 1b3078f..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedRuleConfigMapper.java +++ /dev/null @@ -1,177 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.SharedRuleConfigDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.SharedRuleConfig; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface SharedRuleConfigMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - BasicColumn[] selectList = BasicColumn.columnList(id, name, describe, status, sort, project_name); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="SharedRuleConfigResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR), - @Result(column="describe", property="describe", jdbcType=JdbcType.VARCHAR), - @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), - @Result(column="sort", property="sort", jdbcType=JdbcType.INTEGER), - @Result(column="project_name", property="project_name", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("SharedRuleConfigResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, sharedRuleConfig, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, sharedRuleConfig, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default int insert(SharedRuleConfig row) { - return MyBatis3Utils.insert(this::insert, row, sharedRuleConfig, c -> - c.map(id).toProperty("id") - .map(name).toProperty("name") - .map(describe).toProperty("describe") - .map(status).toProperty("status") - .map(sort).toProperty("sort") - .map(project_name).toProperty("project_name") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sharedRuleConfig, c -> - c.map(id).toProperty("id") - .map(name).toProperty("name") - .map(describe).toProperty("describe") - .map(status).toProperty("status") - .map(sort).toProperty("sort") - .map(project_name).toProperty("project_name") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default int insertSelective(SharedRuleConfig row) { - return MyBatis3Utils.insert(this::insert, row, sharedRuleConfig, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(name).toPropertyWhenPresent("name", row::getName) - .map(describe).toPropertyWhenPresent("describe", row::getDescribe) - .map(status).toPropertyWhenPresent("status", row::getStatus) - .map(sort).toPropertyWhenPresent("sort", row::getSort) - .map(project_name).toPropertyWhenPresent("project_name", row::getProject_name) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, sharedRuleConfig, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, sharedRuleConfig, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sharedRuleConfig, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, sharedRuleConfig, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - static UpdateDSL updateAllColumns(SharedRuleConfig row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(name).equalTo(row::getName) - .set(describe).equalTo(row::getDescribe) - .set(status).equalTo(row::getStatus) - .set(sort).equalTo(row::getSort) - .set(project_name).equalTo(row::getProject_name); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - static UpdateDSL updateSelectiveColumns(SharedRuleConfig row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(name).equalToWhenPresent(row::getName) - .set(describe).equalToWhenPresent(row::getDescribe) - .set(status).equalToWhenPresent(row::getStatus) - .set(sort).equalToWhenPresent(row::getSort) - .set(project_name).equalToWhenPresent(row::getProject_name); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default int updateByPrimaryKey(SharedRuleConfig row) { - return update(c -> - c.set(name).equalTo(row::getName) - .set(describe).equalTo(row::getDescribe) - .set(status).equalTo(row::getStatus) - .set(sort).equalTo(row::getSort) - .set(project_name).equalTo(row::getProject_name) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source Table: public.shared_rule_config") - default int updateByPrimaryKeySelective(SharedRuleConfig row) { - return update(c -> - c.set(name).equalToWhenPresent(row::getName) - .set(describe).equalToWhenPresent(row::getDescribe) - .set(status).equalToWhenPresent(row::getStatus) - .set(sort).equalToWhenPresent(row::getSort) - .set(project_name).equalToWhenPresent(row::getProject_name) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedSynAllMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedSynAllMapper.java deleted file mode 100644 index 550c8f9..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SharedSynAllMapper.java +++ /dev/null @@ -1,201 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.SharedSynAllDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.SharedSynAll; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface SharedSynAllMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - BasicColumn[] selectList = BasicColumn.columnList(id, syn_id, syn_type, is_config_rule, shared_status, syn_status, block_number, block_hash, block_time); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="SharedSynAllResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="syn_id", property="syn_id", jdbcType=JdbcType.VARCHAR), - @Result(column="syn_type", property="syn_type", jdbcType=JdbcType.INTEGER), - @Result(column="is_config_rule", property="is_config_rule", jdbcType=JdbcType.INTEGER), - @Result(column="shared_status", property="shared_status", jdbcType=JdbcType.INTEGER), - @Result(column="syn_status", property="syn_status", jdbcType=JdbcType.INTEGER), - @Result(column="block_number", property="block_number", jdbcType=JdbcType.VARCHAR), - @Result(column="block_hash", property="block_hash", jdbcType=JdbcType.VARCHAR), - @Result(column="block_time", property="block_time", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("SharedSynAllResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, sharedSynAll, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, sharedSynAll, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - default int insert(SharedSynAll row) { - return MyBatis3Utils.insert(this::insert, row, sharedSynAll, c -> - c.map(id).toProperty("id") - .map(syn_id).toProperty("syn_id") - .map(syn_type).toProperty("syn_type") - .map(is_config_rule).toProperty("is_config_rule") - .map(shared_status).toProperty("shared_status") - .map(syn_status).toProperty("syn_status") - .map(block_number).toProperty("block_number") - .map(block_hash).toProperty("block_hash") - .map(block_time).toProperty("block_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sharedSynAll, c -> - c.map(id).toProperty("id") - .map(syn_id).toProperty("syn_id") - .map(syn_type).toProperty("syn_type") - .map(is_config_rule).toProperty("is_config_rule") - .map(shared_status).toProperty("shared_status") - .map(syn_status).toProperty("syn_status") - .map(block_number).toProperty("block_number") - .map(block_hash).toProperty("block_hash") - .map(block_time).toProperty("block_time") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - default int insertSelective(SharedSynAll row) { - return MyBatis3Utils.insert(this::insert, row, sharedSynAll, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(syn_id).toPropertyWhenPresent("syn_id", row::getSyn_id) - .map(syn_type).toPropertyWhenPresent("syn_type", row::getSyn_type) - .map(is_config_rule).toPropertyWhenPresent("is_config_rule", row::getIs_config_rule) - .map(shared_status).toPropertyWhenPresent("shared_status", row::getShared_status) - .map(syn_status).toPropertyWhenPresent("syn_status", row::getSyn_status) - .map(block_number).toPropertyWhenPresent("block_number", row::getBlock_number) - .map(block_hash).toPropertyWhenPresent("block_hash", row::getBlock_hash) - .map(block_time).toPropertyWhenPresent("block_time", row::getBlock_time) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, sharedSynAll, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, sharedSynAll, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sharedSynAll, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, sharedSynAll, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3041477+08:00", comments="Source Table: public.shared_syn_all") - static UpdateDSL updateAllColumns(SharedSynAll row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(syn_id).equalTo(row::getSyn_id) - .set(syn_type).equalTo(row::getSyn_type) - .set(is_config_rule).equalTo(row::getIs_config_rule) - .set(shared_status).equalTo(row::getShared_status) - .set(syn_status).equalTo(row::getSyn_status) - .set(block_number).equalTo(row::getBlock_number) - .set(block_hash).equalTo(row::getBlock_hash) - .set(block_time).equalTo(row::getBlock_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3041477+08:00", comments="Source Table: public.shared_syn_all") - static UpdateDSL updateSelectiveColumns(SharedSynAll row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(syn_id).equalToWhenPresent(row::getSyn_id) - .set(syn_type).equalToWhenPresent(row::getSyn_type) - .set(is_config_rule).equalToWhenPresent(row::getIs_config_rule) - .set(shared_status).equalToWhenPresent(row::getShared_status) - .set(syn_status).equalToWhenPresent(row::getSyn_status) - .set(block_number).equalToWhenPresent(row::getBlock_number) - .set(block_hash).equalToWhenPresent(row::getBlock_hash) - .set(block_time).equalToWhenPresent(row::getBlock_time); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3041477+08:00", comments="Source Table: public.shared_syn_all") - default int updateByPrimaryKey(SharedSynAll row) { - return update(c -> - c.set(syn_id).equalTo(row::getSyn_id) - .set(syn_type).equalTo(row::getSyn_type) - .set(is_config_rule).equalTo(row::getIs_config_rule) - .set(shared_status).equalTo(row::getShared_status) - .set(syn_status).equalTo(row::getSyn_status) - .set(block_number).equalTo(row::getBlock_number) - .set(block_hash).equalTo(row::getBlock_hash) - .set(block_time).equalTo(row::getBlock_time) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3041477+08:00", comments="Source Table: public.shared_syn_all") - default int updateByPrimaryKeySelective(SharedSynAll row) { - return update(c -> - c.set(syn_id).equalToWhenPresent(row::getSyn_id) - .set(syn_type).equalToWhenPresent(row::getSyn_type) - .set(is_config_rule).equalToWhenPresent(row::getIs_config_rule) - .set(shared_status).equalToWhenPresent(row::getShared_status) - .set(syn_status).equalToWhenPresent(row::getSyn_status) - .set(block_number).equalToWhenPresent(row::getBlock_number) - .set(block_hash).equalToWhenPresent(row::getBlock_hash) - .set(block_time).equalToWhenPresent(row::getBlock_time) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SynDirectoryFileMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SynDirectoryFileMapper.java deleted file mode 100644 index d6d6ff6..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SynDirectoryFileMapper.java +++ /dev/null @@ -1,297 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.SynDirectoryFileDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.SynDirectoryFile; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface SynDirectoryFileMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4885716+08:00", comments="Source Table: public.syn_directory_file") - BasicColumn[] selectList = BasicColumn.columnList(id, p_id, filesuper, filecount, dutyperson, eweavedate, filepage, sortorder, bpeg, epeg, filenum, remark, recordnum, piecenumber, adddate, editdate, time_stamp, isdel, catalogpdfurl, signtag, collecttag); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4795789+08:00", comments="Source Table: public.syn_directory_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="SynDirectoryFileResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="p_id", property="p_id", jdbcType=JdbcType.VARCHAR), - @Result(column="filesuper", property="filesuper", jdbcType=JdbcType.VARCHAR), - @Result(column="filecount", property="filecount", jdbcType=JdbcType.INTEGER), - @Result(column="dutyperson", property="dutyperson", jdbcType=JdbcType.VARCHAR), - @Result(column="eweavedate", property="eweavedate", jdbcType=JdbcType.VARCHAR), - @Result(column="filepage", property="filepage", jdbcType=JdbcType.INTEGER), - @Result(column="sortorder", property="sortorder", jdbcType=JdbcType.VARCHAR), - @Result(column="bpeg", property="bpeg", jdbcType=JdbcType.VARCHAR), - @Result(column="epeg", property="epeg", jdbcType=JdbcType.VARCHAR), - @Result(column="filenum", property="filenum", jdbcType=JdbcType.VARCHAR), - @Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), - @Result(column="recordnum", property="recordnum", jdbcType=JdbcType.VARCHAR), - @Result(column="piecenumber", property="piecenumber", jdbcType=JdbcType.VARCHAR), - @Result(column="adddate", property="adddate", jdbcType=JdbcType.VARCHAR), - @Result(column="editdate", property="editdate", jdbcType=JdbcType.VARCHAR), - @Result(column="time_stamp", property="time_stamp", jdbcType=JdbcType.VARCHAR), - @Result(column="isdel", property="isdel", jdbcType=JdbcType.INTEGER), - @Result(column="catalogpdfurl", property="catalogpdfurl", jdbcType=JdbcType.VARCHAR), - @Result(column="signtag", property="signtag", jdbcType=JdbcType.VARCHAR), - @Result(column="collecttag", property="collecttag", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4827014+08:00", comments="Source Table: public.syn_directory_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("SynDirectoryFileResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4827014+08:00", comments="Source Table: public.syn_directory_file") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, synDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4840914+08:00", comments="Source Table: public.syn_directory_file") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, synDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4840914+08:00", comments="Source Table: public.syn_directory_file") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.485097+08:00", comments="Source Table: public.syn_directory_file") - default int insert(SynDirectoryFile row) { - return MyBatis3Utils.insert(this::insert, row, synDirectoryFile, c -> - c.map(id).toProperty("id") - .map(p_id).toProperty("p_id") - .map(filesuper).toProperty("filesuper") - .map(filecount).toProperty("filecount") - .map(dutyperson).toProperty("dutyperson") - .map(eweavedate).toProperty("eweavedate") - .map(filepage).toProperty("filepage") - .map(sortorder).toProperty("sortorder") - .map(bpeg).toProperty("bpeg") - .map(epeg).toProperty("epeg") - .map(filenum).toProperty("filenum") - .map(remark).toProperty("remark") - .map(recordnum).toProperty("recordnum") - .map(piecenumber).toProperty("piecenumber") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(catalogpdfurl).toProperty("catalogpdfurl") - .map(signtag).toProperty("signtag") - .map(collecttag).toProperty("collecttag") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4875464+08:00", comments="Source Table: public.syn_directory_file") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, synDirectoryFile, c -> - c.map(id).toProperty("id") - .map(p_id).toProperty("p_id") - .map(filesuper).toProperty("filesuper") - .map(filecount).toProperty("filecount") - .map(dutyperson).toProperty("dutyperson") - .map(eweavedate).toProperty("eweavedate") - .map(filepage).toProperty("filepage") - .map(sortorder).toProperty("sortorder") - .map(bpeg).toProperty("bpeg") - .map(epeg).toProperty("epeg") - .map(filenum).toProperty("filenum") - .map(remark).toProperty("remark") - .map(recordnum).toProperty("recordnum") - .map(piecenumber).toProperty("piecenumber") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(catalogpdfurl).toProperty("catalogpdfurl") - .map(signtag).toProperty("signtag") - .map(collecttag).toProperty("collecttag") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4875464+08:00", comments="Source Table: public.syn_directory_file") - default int insertSelective(SynDirectoryFile row) { - return MyBatis3Utils.insert(this::insert, row, synDirectoryFile, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(p_id).toPropertyWhenPresent("p_id", row::getP_id) - .map(filesuper).toPropertyWhenPresent("filesuper", row::getFilesuper) - .map(filecount).toPropertyWhenPresent("filecount", row::getFilecount) - .map(dutyperson).toPropertyWhenPresent("dutyperson", row::getDutyperson) - .map(eweavedate).toPropertyWhenPresent("eweavedate", row::getEweavedate) - .map(filepage).toPropertyWhenPresent("filepage", row::getFilepage) - .map(sortorder).toPropertyWhenPresent("sortorder", row::getSortorder) - .map(bpeg).toPropertyWhenPresent("bpeg", row::getBpeg) - .map(epeg).toPropertyWhenPresent("epeg", row::getEpeg) - .map(filenum).toPropertyWhenPresent("filenum", row::getFilenum) - .map(remark).toPropertyWhenPresent("remark", row::getRemark) - .map(recordnum).toPropertyWhenPresent("recordnum", row::getRecordnum) - .map(piecenumber).toPropertyWhenPresent("piecenumber", row::getPiecenumber) - .map(adddate).toPropertyWhenPresent("adddate", row::getAdddate) - .map(editdate).toPropertyWhenPresent("editdate", row::getEditdate) - .map(time_stamp).toPropertyWhenPresent("time_stamp", row::getTime_stamp) - .map(isdel).toPropertyWhenPresent("isdel", row::getIsdel) - .map(catalogpdfurl).toPropertyWhenPresent("catalogpdfurl", row::getCatalogpdfurl) - .map(signtag).toPropertyWhenPresent("signtag", row::getSigntag) - .map(collecttag).toPropertyWhenPresent("collecttag", row::getCollecttag) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.489686+08:00", comments="Source Table: public.syn_directory_file") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, synDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.489686+08:00", comments="Source Table: public.syn_directory_file") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, synDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4906917+08:00", comments="Source Table: public.syn_directory_file") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, synDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4908063+08:00", comments="Source Table: public.syn_directory_file") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4913147+08:00", comments="Source Table: public.syn_directory_file") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, synDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4919203+08:00", comments="Source Table: public.syn_directory_file") - static UpdateDSL updateAllColumns(SynDirectoryFile row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(p_id).equalTo(row::getP_id) - .set(filesuper).equalTo(row::getFilesuper) - .set(filecount).equalTo(row::getFilecount) - .set(dutyperson).equalTo(row::getDutyperson) - .set(eweavedate).equalTo(row::getEweavedate) - .set(filepage).equalTo(row::getFilepage) - .set(sortorder).equalTo(row::getSortorder) - .set(bpeg).equalTo(row::getBpeg) - .set(epeg).equalTo(row::getEpeg) - .set(filenum).equalTo(row::getFilenum) - .set(remark).equalTo(row::getRemark) - .set(recordnum).equalTo(row::getRecordnum) - .set(piecenumber).equalTo(row::getPiecenumber) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(catalogpdfurl).equalTo(row::getCatalogpdfurl) - .set(signtag).equalTo(row::getSigntag) - .set(collecttag).equalTo(row::getCollecttag); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.492926+08:00", comments="Source Table: public.syn_directory_file") - static UpdateDSL updateSelectiveColumns(SynDirectoryFile row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(p_id).equalToWhenPresent(row::getP_id) - .set(filesuper).equalToWhenPresent(row::getFilesuper) - .set(filecount).equalToWhenPresent(row::getFilecount) - .set(dutyperson).equalToWhenPresent(row::getDutyperson) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(filepage).equalToWhenPresent(row::getFilepage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(bpeg).equalToWhenPresent(row::getBpeg) - .set(epeg).equalToWhenPresent(row::getEpeg) - .set(filenum).equalToWhenPresent(row::getFilenum) - .set(remark).equalToWhenPresent(row::getRemark) - .set(recordnum).equalToWhenPresent(row::getRecordnum) - .set(piecenumber).equalToWhenPresent(row::getPiecenumber) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(catalogpdfurl).equalToWhenPresent(row::getCatalogpdfurl) - .set(signtag).equalToWhenPresent(row::getSigntag) - .set(collecttag).equalToWhenPresent(row::getCollecttag); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.492926+08:00", comments="Source Table: public.syn_directory_file") - default int updateByPrimaryKey(SynDirectoryFile row) { - return update(c -> - c.set(p_id).equalTo(row::getP_id) - .set(filesuper).equalTo(row::getFilesuper) - .set(filecount).equalTo(row::getFilecount) - .set(dutyperson).equalTo(row::getDutyperson) - .set(eweavedate).equalTo(row::getEweavedate) - .set(filepage).equalTo(row::getFilepage) - .set(sortorder).equalTo(row::getSortorder) - .set(bpeg).equalTo(row::getBpeg) - .set(epeg).equalTo(row::getEpeg) - .set(filenum).equalTo(row::getFilenum) - .set(remark).equalTo(row::getRemark) - .set(recordnum).equalTo(row::getRecordnum) - .set(piecenumber).equalTo(row::getPiecenumber) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(catalogpdfurl).equalTo(row::getCatalogpdfurl) - .set(signtag).equalTo(row::getSigntag) - .set(collecttag).equalTo(row::getCollecttag) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4939574+08:00", comments="Source Table: public.syn_directory_file") - default int updateByPrimaryKeySelective(SynDirectoryFile row) { - return update(c -> - c.set(p_id).equalToWhenPresent(row::getP_id) - .set(filesuper).equalToWhenPresent(row::getFilesuper) - .set(filecount).equalToWhenPresent(row::getFilecount) - .set(dutyperson).equalToWhenPresent(row::getDutyperson) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(filepage).equalToWhenPresent(row::getFilepage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(bpeg).equalToWhenPresent(row::getBpeg) - .set(epeg).equalToWhenPresent(row::getEpeg) - .set(filenum).equalToWhenPresent(row::getFilenum) - .set(remark).equalToWhenPresent(row::getRemark) - .set(recordnum).equalToWhenPresent(row::getRecordnum) - .set(piecenumber).equalToWhenPresent(row::getPiecenumber) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(catalogpdfurl).equalToWhenPresent(row::getCatalogpdfurl) - .set(signtag).equalToWhenPresent(row::getSigntag) - .set(collecttag).equalToWhenPresent(row::getCollecttag) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SynDirectoryMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SynDirectoryMapper.java deleted file mode 100644 index 89c2dd5..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SynDirectoryMapper.java +++ /dev/null @@ -1,193 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.SynDirectoryDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.SynDirectory; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface SynDirectoryMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - BasicColumn[] selectList = BasicColumn.columnList(id, p_id, wbs_id, time_stamp, sortorder, tname, subjoin, isdel); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="SynDirectoryResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="p_id", property="p_id", jdbcType=JdbcType.VARCHAR), - @Result(column="wbs_id", property="wbs_id", jdbcType=JdbcType.VARCHAR), - @Result(column="time_stamp", property="time_stamp", jdbcType=JdbcType.VARCHAR), - @Result(column="sortorder", property="sortorder", jdbcType=JdbcType.INTEGER), - @Result(column="tname", property="tname", jdbcType=JdbcType.VARCHAR), - @Result(column="subjoin", property="subjoin", jdbcType=JdbcType.INTEGER), - @Result(column="isdel", property="isdel", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("SynDirectoryResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, synDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, synDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default int insert(SynDirectory row) { - return MyBatis3Utils.insert(this::insert, row, synDirectory, c -> - c.map(id).toProperty("id") - .map(p_id).toProperty("p_id") - .map(wbs_id).toProperty("wbs_id") - .map(time_stamp).toProperty("time_stamp") - .map(sortorder).toProperty("sortorder") - .map(tname).toProperty("tname") - .map(subjoin).toProperty("subjoin") - .map(isdel).toProperty("isdel") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, synDirectory, c -> - c.map(id).toProperty("id") - .map(p_id).toProperty("p_id") - .map(wbs_id).toProperty("wbs_id") - .map(time_stamp).toProperty("time_stamp") - .map(sortorder).toProperty("sortorder") - .map(tname).toProperty("tname") - .map(subjoin).toProperty("subjoin") - .map(isdel).toProperty("isdel") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default int insertSelective(SynDirectory row) { - return MyBatis3Utils.insert(this::insert, row, synDirectory, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(p_id).toPropertyWhenPresent("p_id", row::getP_id) - .map(wbs_id).toPropertyWhenPresent("wbs_id", row::getWbs_id) - .map(time_stamp).toPropertyWhenPresent("time_stamp", row::getTime_stamp) - .map(sortorder).toPropertyWhenPresent("sortorder", row::getSortorder) - .map(tname).toPropertyWhenPresent("tname", row::getTname) - .map(subjoin).toPropertyWhenPresent("subjoin", row::getSubjoin) - .map(isdel).toPropertyWhenPresent("isdel", row::getIsdel) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, synDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, synDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, synDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, synDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - static UpdateDSL updateAllColumns(SynDirectory row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(p_id).equalTo(row::getP_id) - .set(wbs_id).equalTo(row::getWbs_id) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(sortorder).equalTo(row::getSortorder) - .set(tname).equalTo(row::getTname) - .set(subjoin).equalTo(row::getSubjoin) - .set(isdel).equalTo(row::getIsdel); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - static UpdateDSL updateSelectiveColumns(SynDirectory row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(p_id).equalToWhenPresent(row::getP_id) - .set(wbs_id).equalToWhenPresent(row::getWbs_id) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(tname).equalToWhenPresent(row::getTname) - .set(subjoin).equalToWhenPresent(row::getSubjoin) - .set(isdel).equalToWhenPresent(row::getIsdel); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default int updateByPrimaryKey(SynDirectory row) { - return update(c -> - c.set(p_id).equalTo(row::getP_id) - .set(wbs_id).equalTo(row::getWbs_id) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(sortorder).equalTo(row::getSortorder) - .set(tname).equalTo(row::getTname) - .set(subjoin).equalTo(row::getSubjoin) - .set(isdel).equalTo(row::getIsdel) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source Table: public.syn_directory") - default int updateByPrimaryKeySelective(SynDirectory row) { - return update(c -> - c.set(p_id).equalToWhenPresent(row::getP_id) - .set(wbs_id).equalToWhenPresent(row::getWbs_id) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(tname).equalToWhenPresent(row::getTname) - .set(subjoin).equalToWhenPresent(row::getSubjoin) - .set(isdel).equalToWhenPresent(row::getIsdel) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SynFileMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SynFileMapper.java deleted file mode 100644 index 79acc2c..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SynFileMapper.java +++ /dev/null @@ -1,265 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.SynFileDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.SynFile; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface SynFileMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5018484+08:00", comments="Source Table: public.syn_file") - BasicColumn[] selectList = BasicColumn.columnList(id, p_id, tablenumber, annexname, projectname, eweavedate, checkdate, annexpage, sortorder, filefrom, archivestag, adddate, editdate, time_stamp, isdel, downurl, filesize); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source Table: public.syn_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="SynFileResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="p_id", property="p_id", jdbcType=JdbcType.VARCHAR), - @Result(column="tablenumber", property="tablenumber", jdbcType=JdbcType.VARCHAR), - @Result(column="annexname", property="annexname", jdbcType=JdbcType.VARCHAR), - @Result(column="projectname", property="projectname", jdbcType=JdbcType.VARCHAR), - @Result(column="eweavedate", property="eweavedate", jdbcType=JdbcType.VARCHAR), - @Result(column="checkdate", property="checkdate", jdbcType=JdbcType.VARCHAR), - @Result(column="annexpage", property="annexpage", jdbcType=JdbcType.INTEGER), - @Result(column="sortorder", property="sortorder", jdbcType=JdbcType.VARCHAR), - @Result(column="filefrom", property="filefrom", jdbcType=JdbcType.VARCHAR), - @Result(column="archivestag", property="archivestag", jdbcType=JdbcType.VARCHAR), - @Result(column="adddate", property="adddate", jdbcType=JdbcType.VARCHAR), - @Result(column="editdate", property="editdate", jdbcType=JdbcType.VARCHAR), - @Result(column="time_stamp", property="time_stamp", jdbcType=JdbcType.VARCHAR), - @Result(column="isdel", property="isdel", jdbcType=JdbcType.INTEGER), - @Result(column="downurl", property="downurl", jdbcType=JdbcType.VARCHAR), - @Result(column="filesize", property="filesize", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source Table: public.syn_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("SynFileResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source Table: public.syn_file") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, synFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source Table: public.syn_file") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, synFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source Table: public.syn_file") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source Table: public.syn_file") - default int insert(SynFile row) { - return MyBatis3Utils.insert(this::insert, row, synFile, c -> - c.map(id).toProperty("id") - .map(p_id).toProperty("p_id") - .map(tablenumber).toProperty("tablenumber") - .map(annexname).toProperty("annexname") - .map(projectname).toProperty("projectname") - .map(eweavedate).toProperty("eweavedate") - .map(checkdate).toProperty("checkdate") - .map(annexpage).toProperty("annexpage") - .map(sortorder).toProperty("sortorder") - .map(filefrom).toProperty("filefrom") - .map(archivestag).toProperty("archivestag") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(downurl).toProperty("downurl") - .map(filesize).toProperty("filesize") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source Table: public.syn_file") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, synFile, c -> - c.map(id).toProperty("id") - .map(p_id).toProperty("p_id") - .map(tablenumber).toProperty("tablenumber") - .map(annexname).toProperty("annexname") - .map(projectname).toProperty("projectname") - .map(eweavedate).toProperty("eweavedate") - .map(checkdate).toProperty("checkdate") - .map(annexpage).toProperty("annexpage") - .map(sortorder).toProperty("sortorder") - .map(filefrom).toProperty("filefrom") - .map(archivestag).toProperty("archivestag") - .map(adddate).toProperty("adddate") - .map(editdate).toProperty("editdate") - .map(time_stamp).toProperty("time_stamp") - .map(isdel).toProperty("isdel") - .map(downurl).toProperty("downurl") - .map(filesize).toProperty("filesize") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source Table: public.syn_file") - default int insertSelective(SynFile row) { - return MyBatis3Utils.insert(this::insert, row, synFile, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(p_id).toPropertyWhenPresent("p_id", row::getP_id) - .map(tablenumber).toPropertyWhenPresent("tablenumber", row::getTablenumber) - .map(annexname).toPropertyWhenPresent("annexname", row::getAnnexname) - .map(projectname).toPropertyWhenPresent("projectname", row::getProjectname) - .map(eweavedate).toPropertyWhenPresent("eweavedate", row::getEweavedate) - .map(checkdate).toPropertyWhenPresent("checkdate", row::getCheckdate) - .map(annexpage).toPropertyWhenPresent("annexpage", row::getAnnexpage) - .map(sortorder).toPropertyWhenPresent("sortorder", row::getSortorder) - .map(filefrom).toPropertyWhenPresent("filefrom", row::getFilefrom) - .map(archivestag).toPropertyWhenPresent("archivestag", row::getArchivestag) - .map(adddate).toPropertyWhenPresent("adddate", row::getAdddate) - .map(editdate).toPropertyWhenPresent("editdate", row::getEditdate) - .map(time_stamp).toPropertyWhenPresent("time_stamp", row::getTime_stamp) - .map(isdel).toPropertyWhenPresent("isdel", row::getIsdel) - .map(downurl).toPropertyWhenPresent("downurl", row::getDownurl) - .map(filesize).toPropertyWhenPresent("filesize", row::getFilesize) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5018484+08:00", comments="Source Table: public.syn_file") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, synFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5018484+08:00", comments="Source Table: public.syn_file") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, synFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5018484+08:00", comments="Source Table: public.syn_file") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, synFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5018484+08:00", comments="Source Table: public.syn_file") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5018484+08:00", comments="Source Table: public.syn_file") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, synFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5018484+08:00", comments="Source Table: public.syn_file") - static UpdateDSL updateAllColumns(SynFile row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(p_id).equalTo(row::getP_id) - .set(tablenumber).equalTo(row::getTablenumber) - .set(annexname).equalTo(row::getAnnexname) - .set(projectname).equalTo(row::getProjectname) - .set(eweavedate).equalTo(row::getEweavedate) - .set(checkdate).equalTo(row::getCheckdate) - .set(annexpage).equalTo(row::getAnnexpage) - .set(sortorder).equalTo(row::getSortorder) - .set(filefrom).equalTo(row::getFilefrom) - .set(archivestag).equalTo(row::getArchivestag) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(downurl).equalTo(row::getDownurl) - .set(filesize).equalTo(row::getFilesize); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5018484+08:00", comments="Source Table: public.syn_file") - static UpdateDSL updateSelectiveColumns(SynFile row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(p_id).equalToWhenPresent(row::getP_id) - .set(tablenumber).equalToWhenPresent(row::getTablenumber) - .set(annexname).equalToWhenPresent(row::getAnnexname) - .set(projectname).equalToWhenPresent(row::getProjectname) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(checkdate).equalToWhenPresent(row::getCheckdate) - .set(annexpage).equalToWhenPresent(row::getAnnexpage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(filefrom).equalToWhenPresent(row::getFilefrom) - .set(archivestag).equalToWhenPresent(row::getArchivestag) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(downurl).equalToWhenPresent(row::getDownurl) - .set(filesize).equalToWhenPresent(row::getFilesize); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5018484+08:00", comments="Source Table: public.syn_file") - default int updateByPrimaryKey(SynFile row) { - return update(c -> - c.set(p_id).equalTo(row::getP_id) - .set(tablenumber).equalTo(row::getTablenumber) - .set(annexname).equalTo(row::getAnnexname) - .set(projectname).equalTo(row::getProjectname) - .set(eweavedate).equalTo(row::getEweavedate) - .set(checkdate).equalTo(row::getCheckdate) - .set(annexpage).equalTo(row::getAnnexpage) - .set(sortorder).equalTo(row::getSortorder) - .set(filefrom).equalTo(row::getFilefrom) - .set(archivestag).equalTo(row::getArchivestag) - .set(adddate).equalTo(row::getAdddate) - .set(editdate).equalTo(row::getEditdate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isdel).equalTo(row::getIsdel) - .set(downurl).equalTo(row::getDownurl) - .set(filesize).equalTo(row::getFilesize) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5018484+08:00", comments="Source Table: public.syn_file") - default int updateByPrimaryKeySelective(SynFile row) { - return update(c -> - c.set(p_id).equalToWhenPresent(row::getP_id) - .set(tablenumber).equalToWhenPresent(row::getTablenumber) - .set(annexname).equalToWhenPresent(row::getAnnexname) - .set(projectname).equalToWhenPresent(row::getProjectname) - .set(eweavedate).equalToWhenPresent(row::getEweavedate) - .set(checkdate).equalToWhenPresent(row::getCheckdate) - .set(annexpage).equalToWhenPresent(row::getAnnexpage) - .set(sortorder).equalToWhenPresent(row::getSortorder) - .set(filefrom).equalToWhenPresent(row::getFilefrom) - .set(archivestag).equalToWhenPresent(row::getArchivestag) - .set(adddate).equalToWhenPresent(row::getAdddate) - .set(editdate).equalToWhenPresent(row::getEditdate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(downurl).equalToWhenPresent(row::getDownurl) - .set(filesize).equalToWhenPresent(row::getFilesize) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/Sync2blockchainTaskMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/Sync2blockchainTaskMapper.java deleted file mode 100644 index 6716892..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/Sync2blockchainTaskMapper.java +++ /dev/null @@ -1,265 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.Sync2blockchainTaskDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.Sync2blockchainTask; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface Sync2blockchainTaskMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5064726+08:00", comments="Source Table: public.sync2blockchain_task") - BasicColumn[] selectList = BasicColumn.columnList(id, start_time, end_time, update_dir_count, insert_dir_count, remove_dir_count, execute_status, desp, update_dirfile_count, insert_dirfile_count, remove_dirfile_count, update_file_count, insert_file_count, remove_file_count, need_process_count, processed_count, failed_process_count); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source Table: public.sync2blockchain_task") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="Sync2blockchainTaskResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="start_time", property="start_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="end_time", property="end_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="update_dir_count", property="update_dir_count", jdbcType=JdbcType.INTEGER), - @Result(column="insert_dir_count", property="insert_dir_count", jdbcType=JdbcType.INTEGER), - @Result(column="remove_dir_count", property="remove_dir_count", jdbcType=JdbcType.INTEGER), - @Result(column="execute_status", property="execute_status", jdbcType=JdbcType.INTEGER), - @Result(column="desp", property="desp", jdbcType=JdbcType.VARCHAR), - @Result(column="update_dirfile_count", property="update_dirfile_count", jdbcType=JdbcType.INTEGER), - @Result(column="insert_dirfile_count", property="insert_dirfile_count", jdbcType=JdbcType.INTEGER), - @Result(column="remove_dirfile_count", property="remove_dirfile_count", jdbcType=JdbcType.INTEGER), - @Result(column="update_file_count", property="update_file_count", jdbcType=JdbcType.INTEGER), - @Result(column="insert_file_count", property="insert_file_count", jdbcType=JdbcType.INTEGER), - @Result(column="remove_file_count", property="remove_file_count", jdbcType=JdbcType.INTEGER), - @Result(column="need_process_count", property="need_process_count", jdbcType=JdbcType.INTEGER), - @Result(column="processed_count", property="processed_count", jdbcType=JdbcType.INTEGER), - @Result(column="failed_process_count", property="failed_process_count", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source Table: public.sync2blockchain_task") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("Sync2blockchainTaskResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source Table: public.sync2blockchain_task") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, sync2blockchainTask, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source Table: public.sync2blockchain_task") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, sync2blockchainTask, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source Table: public.sync2blockchain_task") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source Table: public.sync2blockchain_task") - default int insert(Sync2blockchainTask row) { - return MyBatis3Utils.insert(this::insert, row, sync2blockchainTask, c -> - c.map(id).toProperty("id") - .map(start_time).toProperty("start_time") - .map(end_time).toProperty("end_time") - .map(update_dir_count).toProperty("update_dir_count") - .map(insert_dir_count).toProperty("insert_dir_count") - .map(remove_dir_count).toProperty("remove_dir_count") - .map(execute_status).toProperty("execute_status") - .map(desp).toProperty("desp") - .map(update_dirfile_count).toProperty("update_dirfile_count") - .map(insert_dirfile_count).toProperty("insert_dirfile_count") - .map(remove_dirfile_count).toProperty("remove_dirfile_count") - .map(update_file_count).toProperty("update_file_count") - .map(insert_file_count).toProperty("insert_file_count") - .map(remove_file_count).toProperty("remove_file_count") - .map(need_process_count).toProperty("need_process_count") - .map(processed_count).toProperty("processed_count") - .map(failed_process_count).toProperty("failed_process_count") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5064726+08:00", comments="Source Table: public.sync2blockchain_task") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sync2blockchainTask, c -> - c.map(id).toProperty("id") - .map(start_time).toProperty("start_time") - .map(end_time).toProperty("end_time") - .map(update_dir_count).toProperty("update_dir_count") - .map(insert_dir_count).toProperty("insert_dir_count") - .map(remove_dir_count).toProperty("remove_dir_count") - .map(execute_status).toProperty("execute_status") - .map(desp).toProperty("desp") - .map(update_dirfile_count).toProperty("update_dirfile_count") - .map(insert_dirfile_count).toProperty("insert_dirfile_count") - .map(remove_dirfile_count).toProperty("remove_dirfile_count") - .map(update_file_count).toProperty("update_file_count") - .map(insert_file_count).toProperty("insert_file_count") - .map(remove_file_count).toProperty("remove_file_count") - .map(need_process_count).toProperty("need_process_count") - .map(processed_count).toProperty("processed_count") - .map(failed_process_count).toProperty("failed_process_count") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5064726+08:00", comments="Source Table: public.sync2blockchain_task") - default int insertSelective(Sync2blockchainTask row) { - return MyBatis3Utils.insert(this::insert, row, sync2blockchainTask, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(start_time).toPropertyWhenPresent("start_time", row::getStart_time) - .map(end_time).toPropertyWhenPresent("end_time", row::getEnd_time) - .map(update_dir_count).toPropertyWhenPresent("update_dir_count", row::getUpdate_dir_count) - .map(insert_dir_count).toPropertyWhenPresent("insert_dir_count", row::getInsert_dir_count) - .map(remove_dir_count).toPropertyWhenPresent("remove_dir_count", row::getRemove_dir_count) - .map(execute_status).toPropertyWhenPresent("execute_status", row::getExecute_status) - .map(desp).toPropertyWhenPresent("desp", row::getDesp) - .map(update_dirfile_count).toPropertyWhenPresent("update_dirfile_count", row::getUpdate_dirfile_count) - .map(insert_dirfile_count).toPropertyWhenPresent("insert_dirfile_count", row::getInsert_dirfile_count) - .map(remove_dirfile_count).toPropertyWhenPresent("remove_dirfile_count", row::getRemove_dirfile_count) - .map(update_file_count).toPropertyWhenPresent("update_file_count", row::getUpdate_file_count) - .map(insert_file_count).toPropertyWhenPresent("insert_file_count", row::getInsert_file_count) - .map(remove_file_count).toPropertyWhenPresent("remove_file_count", row::getRemove_file_count) - .map(need_process_count).toPropertyWhenPresent("need_process_count", row::getNeed_process_count) - .map(processed_count).toPropertyWhenPresent("processed_count", row::getProcessed_count) - .map(failed_process_count).toPropertyWhenPresent("failed_process_count", row::getFailed_process_count) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5064726+08:00", comments="Source Table: public.sync2blockchain_task") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, sync2blockchainTask, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5064726+08:00", comments="Source Table: public.sync2blockchain_task") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, sync2blockchainTask, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5064726+08:00", comments="Source Table: public.sync2blockchain_task") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sync2blockchainTask, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5074731+08:00", comments="Source Table: public.sync2blockchain_task") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5074731+08:00", comments="Source Table: public.sync2blockchain_task") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, sync2blockchainTask, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5074731+08:00", comments="Source Table: public.sync2blockchain_task") - static UpdateDSL updateAllColumns(Sync2blockchainTask row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(start_time).equalTo(row::getStart_time) - .set(end_time).equalTo(row::getEnd_time) - .set(update_dir_count).equalTo(row::getUpdate_dir_count) - .set(insert_dir_count).equalTo(row::getInsert_dir_count) - .set(remove_dir_count).equalTo(row::getRemove_dir_count) - .set(execute_status).equalTo(row::getExecute_status) - .set(desp).equalTo(row::getDesp) - .set(update_dirfile_count).equalTo(row::getUpdate_dirfile_count) - .set(insert_dirfile_count).equalTo(row::getInsert_dirfile_count) - .set(remove_dirfile_count).equalTo(row::getRemove_dirfile_count) - .set(update_file_count).equalTo(row::getUpdate_file_count) - .set(insert_file_count).equalTo(row::getInsert_file_count) - .set(remove_file_count).equalTo(row::getRemove_file_count) - .set(need_process_count).equalTo(row::getNeed_process_count) - .set(processed_count).equalTo(row::getProcessed_count) - .set(failed_process_count).equalTo(row::getFailed_process_count); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5074731+08:00", comments="Source Table: public.sync2blockchain_task") - static UpdateDSL updateSelectiveColumns(Sync2blockchainTask row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(start_time).equalToWhenPresent(row::getStart_time) - .set(end_time).equalToWhenPresent(row::getEnd_time) - .set(update_dir_count).equalToWhenPresent(row::getUpdate_dir_count) - .set(insert_dir_count).equalToWhenPresent(row::getInsert_dir_count) - .set(remove_dir_count).equalToWhenPresent(row::getRemove_dir_count) - .set(execute_status).equalToWhenPresent(row::getExecute_status) - .set(desp).equalToWhenPresent(row::getDesp) - .set(update_dirfile_count).equalToWhenPresent(row::getUpdate_dirfile_count) - .set(insert_dirfile_count).equalToWhenPresent(row::getInsert_dirfile_count) - .set(remove_dirfile_count).equalToWhenPresent(row::getRemove_dirfile_count) - .set(update_file_count).equalToWhenPresent(row::getUpdate_file_count) - .set(insert_file_count).equalToWhenPresent(row::getInsert_file_count) - .set(remove_file_count).equalToWhenPresent(row::getRemove_file_count) - .set(need_process_count).equalToWhenPresent(row::getNeed_process_count) - .set(processed_count).equalToWhenPresent(row::getProcessed_count) - .set(failed_process_count).equalToWhenPresent(row::getFailed_process_count); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5074731+08:00", comments="Source Table: public.sync2blockchain_task") - default int updateByPrimaryKey(Sync2blockchainTask row) { - return update(c -> - c.set(start_time).equalTo(row::getStart_time) - .set(end_time).equalTo(row::getEnd_time) - .set(update_dir_count).equalTo(row::getUpdate_dir_count) - .set(insert_dir_count).equalTo(row::getInsert_dir_count) - .set(remove_dir_count).equalTo(row::getRemove_dir_count) - .set(execute_status).equalTo(row::getExecute_status) - .set(desp).equalTo(row::getDesp) - .set(update_dirfile_count).equalTo(row::getUpdate_dirfile_count) - .set(insert_dirfile_count).equalTo(row::getInsert_dirfile_count) - .set(remove_dirfile_count).equalTo(row::getRemove_dirfile_count) - .set(update_file_count).equalTo(row::getUpdate_file_count) - .set(insert_file_count).equalTo(row::getInsert_file_count) - .set(remove_file_count).equalTo(row::getRemove_file_count) - .set(need_process_count).equalTo(row::getNeed_process_count) - .set(processed_count).equalTo(row::getProcessed_count) - .set(failed_process_count).equalTo(row::getFailed_process_count) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5074731+08:00", comments="Source Table: public.sync2blockchain_task") - default int updateByPrimaryKeySelective(Sync2blockchainTask row) { - return update(c -> - c.set(start_time).equalToWhenPresent(row::getStart_time) - .set(end_time).equalToWhenPresent(row::getEnd_time) - .set(update_dir_count).equalToWhenPresent(row::getUpdate_dir_count) - .set(insert_dir_count).equalToWhenPresent(row::getInsert_dir_count) - .set(remove_dir_count).equalToWhenPresent(row::getRemove_dir_count) - .set(execute_status).equalToWhenPresent(row::getExecute_status) - .set(desp).equalToWhenPresent(row::getDesp) - .set(update_dirfile_count).equalToWhenPresent(row::getUpdate_dirfile_count) - .set(insert_dirfile_count).equalToWhenPresent(row::getInsert_dirfile_count) - .set(remove_dirfile_count).equalToWhenPresent(row::getRemove_dirfile_count) - .set(update_file_count).equalToWhenPresent(row::getUpdate_file_count) - .set(insert_file_count).equalToWhenPresent(row::getInsert_file_count) - .set(remove_file_count).equalToWhenPresent(row::getRemove_file_count) - .set(need_process_count).equalToWhenPresent(row::getNeed_process_count) - .set(processed_count).equalToWhenPresent(row::getProcessed_count) - .set(failed_process_count).equalToWhenPresent(row::getFailed_process_count) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMapper.java index 80c5d28..3807bd2 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMapper.java @@ -31,210 +31,154 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysAdminMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source Table: public.sys_admin") - BasicColumn[] selectList = BasicColumn.columnList(id, org_id, realname, username, password, phone, email, job, gender, islock, type, sort, cer_id, company_id); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + BasicColumn[] selectList = BasicColumn.columnList(id, org_id, type, realname, username, password, islock); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source Table: yx..sys_admin") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysAdminResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @Result(column="org_id", property="org_id", jdbcType=JdbcType.VARCHAR), + @Result(column="type", property="type", jdbcType=JdbcType.INTEGER), @Result(column="realname", property="realname", jdbcType=JdbcType.VARCHAR), @Result(column="username", property="username", jdbcType=JdbcType.VARCHAR), @Result(column="password", property="password", jdbcType=JdbcType.VARCHAR), - @Result(column="phone", property="phone", jdbcType=JdbcType.VARCHAR), - @Result(column="email", property="email", jdbcType=JdbcType.VARCHAR), - @Result(column="job", property="job", jdbcType=JdbcType.VARCHAR), - @Result(column="gender", property="gender", jdbcType=JdbcType.INTEGER), - @Result(column="islock", property="islock", jdbcType=JdbcType.INTEGER), - @Result(column="type", property="type", jdbcType=JdbcType.INTEGER), - @Result(column="sort", property="sort", jdbcType=JdbcType.INTEGER), - @Result(column="cer_id", property="cer_id", jdbcType=JdbcType.VARCHAR), - @Result(column="company_id", property="company_id", jdbcType=JdbcType.VARCHAR) + @Result(column="islock", property="islock", jdbcType=JdbcType.INTEGER) }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source Table: yx..sys_admin") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysAdminResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") default int insert(SysAdmin row) { return MyBatis3Utils.insert(this::insert, row, sysAdmin, c -> c.map(id).toProperty("id") .map(org_id).toProperty("org_id") + .map(type).toProperty("type") .map(realname).toProperty("realname") .map(username).toProperty("username") .map(password).toProperty("password") - .map(phone).toProperty("phone") - .map(email).toProperty("email") - .map(job).toProperty("job") - .map(gender).toProperty("gender") .map(islock).toProperty("islock") - .map(type).toProperty("type") - .map(sort).toProperty("sort") - .map(cer_id).toProperty("cer_id") - .map(company_id).toProperty("company_id") ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysAdmin, c -> c.map(id).toProperty("id") .map(org_id).toProperty("org_id") + .map(type).toProperty("type") .map(realname).toProperty("realname") .map(username).toProperty("username") .map(password).toProperty("password") - .map(phone).toProperty("phone") - .map(email).toProperty("email") - .map(job).toProperty("job") - .map(gender).toProperty("gender") .map(islock).toProperty("islock") - .map(type).toProperty("type") - .map(sort).toProperty("sort") - .map(cer_id).toProperty("cer_id") - .map(company_id).toProperty("company_id") ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") default int insertSelective(SysAdmin row) { return MyBatis3Utils.insert(this::insert, row, sysAdmin, c -> c.map(id).toPropertyWhenPresent("id", row::getId) .map(org_id).toPropertyWhenPresent("org_id", row::getOrg_id) + .map(type).toPropertyWhenPresent("type", row::getType) .map(realname).toPropertyWhenPresent("realname", row::getRealname) .map(username).toPropertyWhenPresent("username", row::getUsername) .map(password).toPropertyWhenPresent("password", row::getPassword) - .map(phone).toPropertyWhenPresent("phone", row::getPhone) - .map(email).toPropertyWhenPresent("email", row::getEmail) - .map(job).toPropertyWhenPresent("job", row::getJob) - .map(gender).toPropertyWhenPresent("gender", row::getGender) .map(islock).toPropertyWhenPresent("islock", row::getIslock) - .map(type).toPropertyWhenPresent("type", row::getType) - .map(sort).toPropertyWhenPresent("sort", row::getSort) - .map(cer_id).toPropertyWhenPresent("cer_id", row::getCer_id) - .map(company_id).toPropertyWhenPresent("company_id", row::getCompany_id) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") static UpdateDSL updateAllColumns(SysAdmin row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(org_id).equalTo(row::getOrg_id) + .set(type).equalTo(row::getType) .set(realname).equalTo(row::getRealname) .set(username).equalTo(row::getUsername) .set(password).equalTo(row::getPassword) - .set(phone).equalTo(row::getPhone) - .set(email).equalTo(row::getEmail) - .set(job).equalTo(row::getJob) - .set(gender).equalTo(row::getGender) - .set(islock).equalTo(row::getIslock) - .set(type).equalTo(row::getType) - .set(sort).equalTo(row::getSort) - .set(cer_id).equalTo(row::getCer_id) - .set(company_id).equalTo(row::getCompany_id); + .set(islock).equalTo(row::getIslock); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") static UpdateDSL updateSelectiveColumns(SysAdmin row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(org_id).equalToWhenPresent(row::getOrg_id) + .set(type).equalToWhenPresent(row::getType) .set(realname).equalToWhenPresent(row::getRealname) .set(username).equalToWhenPresent(row::getUsername) .set(password).equalToWhenPresent(row::getPassword) - .set(phone).equalToWhenPresent(row::getPhone) - .set(email).equalToWhenPresent(row::getEmail) - .set(job).equalToWhenPresent(row::getJob) - .set(gender).equalToWhenPresent(row::getGender) - .set(islock).equalToWhenPresent(row::getIslock) - .set(type).equalToWhenPresent(row::getType) - .set(sort).equalToWhenPresent(row::getSort) - .set(cer_id).equalToWhenPresent(row::getCer_id) - .set(company_id).equalToWhenPresent(row::getCompany_id); + .set(islock).equalToWhenPresent(row::getIslock); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source Table: yx..sys_admin") default int updateByPrimaryKey(SysAdmin row) { return update(c -> c.set(org_id).equalTo(row::getOrg_id) + .set(type).equalTo(row::getType) .set(realname).equalTo(row::getRealname) .set(username).equalTo(row::getUsername) .set(password).equalTo(row::getPassword) - .set(phone).equalTo(row::getPhone) - .set(email).equalTo(row::getEmail) - .set(job).equalTo(row::getJob) - .set(gender).equalTo(row::getGender) .set(islock).equalTo(row::getIslock) - .set(type).equalTo(row::getType) - .set(sort).equalTo(row::getSort) - .set(cer_id).equalTo(row::getCer_id) - .set(company_id).equalTo(row::getCompany_id) .where(id, isEqualTo(row::getId)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source Table: yx..sys_admin") default int updateByPrimaryKeySelective(SysAdmin row) { return update(c -> c.set(org_id).equalToWhenPresent(row::getOrg_id) + .set(type).equalToWhenPresent(row::getType) .set(realname).equalToWhenPresent(row::getRealname) .set(username).equalToWhenPresent(row::getUsername) .set(password).equalToWhenPresent(row::getPassword) - .set(phone).equalToWhenPresent(row::getPhone) - .set(email).equalToWhenPresent(row::getEmail) - .set(job).equalToWhenPresent(row::getJob) - .set(gender).equalToWhenPresent(row::getGender) .set(islock).equalToWhenPresent(row::getIslock) - .set(type).equalToWhenPresent(row::getType) - .set(sort).equalToWhenPresent(row::getSort) - .set(cer_id).equalToWhenPresent(row::getCer_id) - .set(company_id).equalToWhenPresent(row::getCompany_id) .where(id, isEqualTo(row::getId)) ); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMenuMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMenuMapper.java new file mode 100644 index 0000000..2c2851f --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMenuMapper.java @@ -0,0 +1,153 @@ +package jj.tech.paolu.repository.mybatis.dao; + +import static jj.tech.paolu.repository.mybatis.dao.support.SysAdminMenuDynamicSqlSupport.*; +import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; + +import jakarta.annotation.Generated; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import jj.tech.paolu.repository.mybatis.entity.SysAdminMenu; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Result; +import org.apache.ibatis.annotations.ResultMap; +import org.apache.ibatis.annotations.Results; +import org.apache.ibatis.annotations.SelectProvider; +import org.apache.ibatis.type.JdbcType; +import org.mybatis.dynamic.sql.BasicColumn; +import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; +import org.mybatis.dynamic.sql.select.CountDSLCompleter; +import org.mybatis.dynamic.sql.select.SelectDSLCompleter; +import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; +import org.mybatis.dynamic.sql.update.UpdateDSL; +import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; +import org.mybatis.dynamic.sql.update.UpdateModel; +import org.mybatis.dynamic.sql.util.SqlProviderAdapter; +import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; +import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; + +@Mapper +public interface SysAdminMenuMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + BasicColumn[] selectList = BasicColumn.columnList(id, adminid, memuid); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @Results(id="SysAdminMenuResult", value = { + @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), + @Result(column="adminid", property="adminid", jdbcType=JdbcType.VARCHAR), + @Result(column="memuid", property="memuid", jdbcType=JdbcType.VARCHAR) + }) + List selectMany(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @ResultMap("SysAdminMenuResult") + Optional selectOne(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + default long count(CountDSLCompleter completer) { + return MyBatis3Utils.countFrom(this::count, sysAdminMenu, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + default int delete(DeleteDSLCompleter completer) { + return MyBatis3Utils.deleteFrom(this::delete, sysAdminMenu, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + default int deleteByPrimaryKey(String id_) { + return delete(c -> + c.where(id, isEqualTo(id_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + default int insert(SysAdminMenu row) { + return MyBatis3Utils.insert(this::insert, row, sysAdminMenu, c -> + c.map(id).toProperty("id") + .map(adminid).toProperty("adminid") + .map(memuid).toProperty("memuid") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + default int insertMultiple(Collection records) { + return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysAdminMenu, c -> + c.map(id).toProperty("id") + .map(adminid).toProperty("adminid") + .map(memuid).toProperty("memuid") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + default int insertSelective(SysAdminMenu row) { + return MyBatis3Utils.insert(this::insert, row, sysAdminMenu, c -> + c.map(id).toPropertyWhenPresent("id", row::getId) + .map(adminid).toPropertyWhenPresent("adminid", row::getAdminid) + .map(memuid).toPropertyWhenPresent("memuid", row::getMemuid) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + default Optional selectOne(SelectDSLCompleter completer) { + return MyBatis3Utils.selectOne(this::selectOne, selectList, sysAdminMenu, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + default List select(SelectDSLCompleter completer) { + return MyBatis3Utils.selectList(this::selectMany, selectList, sysAdminMenu, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + default List selectDistinct(SelectDSLCompleter completer) { + return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysAdminMenu, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + default Optional selectByPrimaryKey(String id_) { + return selectOne(c -> + c.where(id, isEqualTo(id_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + default int update(UpdateDSLCompleter completer) { + return MyBatis3Utils.update(this::update, sysAdminMenu, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + static UpdateDSL updateAllColumns(SysAdminMenu row, UpdateDSL dsl) { + return dsl.set(id).equalTo(row::getId) + .set(adminid).equalTo(row::getAdminid) + .set(memuid).equalTo(row::getMemuid); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + static UpdateDSL updateSelectiveColumns(SysAdminMenu row, UpdateDSL dsl) { + return dsl.set(id).equalToWhenPresent(row::getId) + .set(adminid).equalToWhenPresent(row::getAdminid) + .set(memuid).equalToWhenPresent(row::getMemuid); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + default int updateByPrimaryKey(SysAdminMenu row) { + return update(c -> + c.set(adminid).equalTo(row::getAdminid) + .set(memuid).equalTo(row::getMemuid) + .where(id, isEqualTo(row::getId)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + default int updateByPrimaryKeySelective(SysAdminMenu row) { + return update(c -> + c.set(adminid).equalToWhenPresent(row::getAdminid) + .set(memuid).equalToWhenPresent(row::getMemuid) + .where(id, isEqualTo(row::getId)) + ); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminRoleMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminRoleMapper.java index f73096b..fab49b3 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminRoleMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminRoleMapper.java @@ -31,122 +31,122 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysAdminRoleMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") - BasicColumn[] selectList = BasicColumn.columnList(id, adminid, roleid); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4982456+08:00", comments="Source Table: yx..sys_admin_role") + BasicColumn[] selectList = BasicColumn.columnList(id, admin_id, role_id); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.483235+08:00", comments="Source Table: yx..sys_admin_role") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysAdminRoleResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="adminid", property="adminid", jdbcType=JdbcType.VARCHAR), - @Result(column="roleid", property="roleid", jdbcType=JdbcType.VARCHAR) + @Result(column="admin_id", property="admin_id", jdbcType=JdbcType.VARCHAR), + @Result(column="role_id", property="role_id", jdbcType=JdbcType.INTEGER) }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4892512+08:00", comments="Source Table: yx..sys_admin_role") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysAdminRoleResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.490254+08:00", comments="Source Table: yx..sys_admin_role") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4922529+08:00", comments="Source Table: yx..sys_admin_role") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.493245+08:00", comments="Source Table: yx..sys_admin_role") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.493245+08:00", comments="Source Table: yx..sys_admin_role") default int insert(SysAdminRole row) { return MyBatis3Utils.insert(this::insert, row, sysAdminRole, c -> c.map(id).toProperty("id") - .map(adminid).toProperty("adminid") - .map(roleid).toProperty("roleid") + .map(admin_id).toProperty("admin_id") + .map(role_id).toProperty("role_id") ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4962456+08:00", comments="Source Table: yx..sys_admin_role") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysAdminRole, c -> c.map(id).toProperty("id") - .map(adminid).toProperty("adminid") - .map(roleid).toProperty("roleid") + .map(admin_id).toProperty("admin_id") + .map(role_id).toProperty("role_id") ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4972455+08:00", comments="Source Table: yx..sys_admin_role") default int insertSelective(SysAdminRole row) { return MyBatis3Utils.insert(this::insert, row, sysAdminRole, c -> c.map(id).toPropertyWhenPresent("id", row::getId) - .map(adminid).toPropertyWhenPresent("adminid", row::getAdminid) - .map(roleid).toPropertyWhenPresent("roleid", row::getRoleid) + .map(admin_id).toPropertyWhenPresent("admin_id", row::getAdmin_id) + .map(role_id).toPropertyWhenPresent("role_id", row::getRole_id) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4992445+08:00", comments="Source Table: yx..sys_admin_role") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5002446+08:00", comments="Source Table: yx..sys_admin_role") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5012455+08:00", comments="Source Table: yx..sys_admin_role") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5023356+08:00", comments="Source Table: yx..sys_admin_role") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5049039+08:00", comments="Source Table: yx..sys_admin_role") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2921511+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5059094+08:00", comments="Source Table: yx..sys_admin_role") static UpdateDSL updateAllColumns(SysAdminRole row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) - .set(adminid).equalTo(row::getAdminid) - .set(roleid).equalTo(row::getRoleid); + .set(admin_id).equalTo(row::getAdmin_id) + .set(role_id).equalTo(row::getRole_id); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5078731+08:00", comments="Source Table: yx..sys_admin_role") static UpdateDSL updateSelectiveColumns(SysAdminRole row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) - .set(adminid).equalToWhenPresent(row::getAdminid) - .set(roleid).equalToWhenPresent(row::getRoleid); + .set(admin_id).equalToWhenPresent(row::getAdmin_id) + .set(role_id).equalToWhenPresent(row::getRole_id); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5088551+08:00", comments="Source Table: yx..sys_admin_role") default int updateByPrimaryKey(SysAdminRole row) { return update(c -> - c.set(adminid).equalTo(row::getAdminid) - .set(roleid).equalTo(row::getRoleid) + c.set(admin_id).equalTo(row::getAdmin_id) + .set(role_id).equalTo(row::getRole_id) .where(id, isEqualTo(row::getId)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5098552+08:00", comments="Source Table: yx..sys_admin_role") default int updateByPrimaryKeySelective(SysAdminRole row) { return update(c -> - c.set(adminid).equalToWhenPresent(row::getAdminid) - .set(roleid).equalToWhenPresent(row::getRoleid) + c.set(admin_id).equalToWhenPresent(row::getAdmin_id) + .set(role_id).equalToWhenPresent(row::getRole_id) .where(id, isEqualTo(row::getId)) ); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminWeidMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminWeidMapper.java deleted file mode 100644 index f5b54dd..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminWeidMapper.java +++ /dev/null @@ -1,185 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.SysAdminWeidDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.SysAdminWeid; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface SysAdminWeidMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - BasicColumn[] selectList = BasicColumn.columnList(id, admin_id, wid, wprivate_key, add_time, certificate_hash, chain_block); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="SysAdminWeidResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="admin_id", property="admin_id", jdbcType=JdbcType.VARCHAR), - @Result(column="wid", property="wid", jdbcType=JdbcType.VARCHAR), - @Result(column="wprivate_key", property="wprivate_key", jdbcType=JdbcType.VARCHAR), - @Result(column="add_time", property="add_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="certificate_hash", property="certificate_hash", jdbcType=JdbcType.VARCHAR), - @Result(column="chain_block", property="chain_block", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("SysAdminWeidResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, sysAdminWeid, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, sysAdminWeid, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - default int insert(SysAdminWeid row) { - return MyBatis3Utils.insert(this::insert, row, sysAdminWeid, c -> - c.map(id).toProperty("id") - .map(admin_id).toProperty("admin_id") - .map(wid).toProperty("wid") - .map(wprivate_key).toProperty("wprivate_key") - .map(add_time).toProperty("add_time") - .map(certificate_hash).toProperty("certificate_hash") - .map(chain_block).toProperty("chain_block") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysAdminWeid, c -> - c.map(id).toProperty("id") - .map(admin_id).toProperty("admin_id") - .map(wid).toProperty("wid") - .map(wprivate_key).toProperty("wprivate_key") - .map(add_time).toProperty("add_time") - .map(certificate_hash).toProperty("certificate_hash") - .map(chain_block).toProperty("chain_block") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - default int insertSelective(SysAdminWeid row) { - return MyBatis3Utils.insert(this::insert, row, sysAdminWeid, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(admin_id).toPropertyWhenPresent("admin_id", row::getAdmin_id) - .map(wid).toPropertyWhenPresent("wid", row::getWid) - .map(wprivate_key).toPropertyWhenPresent("wprivate_key", row::getWprivate_key) - .map(add_time).toPropertyWhenPresent("add_time", row::getAdd_time) - .map(certificate_hash).toPropertyWhenPresent("certificate_hash", row::getCertificate_hash) - .map(chain_block).toPropertyWhenPresent("chain_block", row::getChain_block) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, sysAdminWeid, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, sysAdminWeid, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysAdminWeid, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, sysAdminWeid, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source Table: public.sys_admin_weid") - static UpdateDSL updateAllColumns(SysAdminWeid row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(admin_id).equalTo(row::getAdmin_id) - .set(wid).equalTo(row::getWid) - .set(wprivate_key).equalTo(row::getWprivate_key) - .set(add_time).equalTo(row::getAdd_time) - .set(certificate_hash).equalTo(row::getCertificate_hash) - .set(chain_block).equalTo(row::getChain_block); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source Table: public.sys_admin_weid") - static UpdateDSL updateSelectiveColumns(SysAdminWeid row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(admin_id).equalToWhenPresent(row::getAdmin_id) - .set(wid).equalToWhenPresent(row::getWid) - .set(wprivate_key).equalToWhenPresent(row::getWprivate_key) - .set(add_time).equalToWhenPresent(row::getAdd_time) - .set(certificate_hash).equalToWhenPresent(row::getCertificate_hash) - .set(chain_block).equalToWhenPresent(row::getChain_block); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source Table: public.sys_admin_weid") - default int updateByPrimaryKey(SysAdminWeid row) { - return update(c -> - c.set(admin_id).equalTo(row::getAdmin_id) - .set(wid).equalTo(row::getWid) - .set(wprivate_key).equalTo(row::getWprivate_key) - .set(add_time).equalTo(row::getAdd_time) - .set(certificate_hash).equalTo(row::getCertificate_hash) - .set(chain_block).equalTo(row::getChain_block) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source Table: public.sys_admin_weid") - default int updateByPrimaryKeySelective(SysAdminWeid row) { - return update(c -> - c.set(admin_id).equalToWhenPresent(row::getAdmin_id) - .set(wid).equalToWhenPresent(row::getWid) - .set(wprivate_key).equalToWhenPresent(row::getWprivate_key) - .set(add_time).equalToWhenPresent(row::getAdd_time) - .set(certificate_hash).equalToWhenPresent(row::getCertificate_hash) - .set(chain_block).equalToWhenPresent(row::getChain_block) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAreaMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAreaMapper.java deleted file mode 100644 index 1a3ed77..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAreaMapper.java +++ /dev/null @@ -1,185 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.SysAreaDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.SysArea; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface SysAreaMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - BasicColumn[] selectList = BasicColumn.columnList(id, level_code, parent_code, area_code, name, pid, pids); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="SysAreaResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="level_code", property="level_code", jdbcType=JdbcType.SMALLINT), - @Result(column="parent_code", property="parent_code", jdbcType=JdbcType.VARCHAR), - @Result(column="area_code", property="area_code", jdbcType=JdbcType.VARCHAR), - @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR), - @Result(column="pid", property="pid", jdbcType=JdbcType.VARCHAR), - @Result(column="pids", property="pids", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("SysAreaResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, sysArea, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, sysArea, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - default int insert(SysArea row) { - return MyBatis3Utils.insert(this::insert, row, sysArea, c -> - c.map(id).toProperty("id") - .map(level_code).toProperty("level_code") - .map(parent_code).toProperty("parent_code") - .map(area_code).toProperty("area_code") - .map(name).toProperty("name") - .map(pid).toProperty("pid") - .map(pids).toProperty("pids") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysArea, c -> - c.map(id).toProperty("id") - .map(level_code).toProperty("level_code") - .map(parent_code).toProperty("parent_code") - .map(area_code).toProperty("area_code") - .map(name).toProperty("name") - .map(pid).toProperty("pid") - .map(pids).toProperty("pids") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - default int insertSelective(SysArea row) { - return MyBatis3Utils.insert(this::insert, row, sysArea, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(level_code).toPropertyWhenPresent("level_code", row::getLevel_code) - .map(parent_code).toPropertyWhenPresent("parent_code", row::getParent_code) - .map(area_code).toPropertyWhenPresent("area_code", row::getArea_code) - .map(name).toPropertyWhenPresent("name", row::getName) - .map(pid).toPropertyWhenPresent("pid", row::getPid) - .map(pids).toPropertyWhenPresent("pids", row::getPids) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, sysArea, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, sysArea, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysArea, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, sysArea, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - static UpdateDSL updateAllColumns(SysArea row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(level_code).equalTo(row::getLevel_code) - .set(parent_code).equalTo(row::getParent_code) - .set(area_code).equalTo(row::getArea_code) - .set(name).equalTo(row::getName) - .set(pid).equalTo(row::getPid) - .set(pids).equalTo(row::getPids); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source Table: public.sys_area") - static UpdateDSL updateSelectiveColumns(SysArea row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(level_code).equalToWhenPresent(row::getLevel_code) - .set(parent_code).equalToWhenPresent(row::getParent_code) - .set(area_code).equalToWhenPresent(row::getArea_code) - .set(name).equalToWhenPresent(row::getName) - .set(pid).equalToWhenPresent(row::getPid) - .set(pids).equalToWhenPresent(row::getPids); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source Table: public.sys_area") - default int updateByPrimaryKey(SysArea row) { - return update(c -> - c.set(level_code).equalTo(row::getLevel_code) - .set(parent_code).equalTo(row::getParent_code) - .set(area_code).equalTo(row::getArea_code) - .set(name).equalTo(row::getName) - .set(pid).equalTo(row::getPid) - .set(pids).equalTo(row::getPids) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source Table: public.sys_area") - default int updateByPrimaryKeySelective(SysArea row) { - return update(c -> - c.set(level_code).equalToWhenPresent(row::getLevel_code) - .set(parent_code).equalToWhenPresent(row::getParent_code) - .set(area_code).equalToWhenPresent(row::getArea_code) - .set(name).equalToWhenPresent(row::getName) - .set(pid).equalToWhenPresent(row::getPid) - .set(pids).equalToWhenPresent(row::getPids) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysConfigMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysConfigMapper.java index 3530d46..0b0533f 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysConfigMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysConfigMapper.java @@ -31,15 +31,15 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") - BasicColumn[] selectList = BasicColumn.columnList(id, subgroup, keys, val, admin_id, adminname, edittime); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5201975+08:00", comments="Source Table: yx..sys_config") + BasicColumn[] selectList = BasicColumn.columnList(id, subgroup, k, val, admin_id, adminname, edittime); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysConfigResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @Result(column="subgroup", property="subgroup", jdbcType=JdbcType.VARCHAR), - @Result(column="keys", property="keys", jdbcType=JdbcType.VARCHAR), + @Result(column="k", property="k", jdbcType=JdbcType.VARCHAR), @Result(column="val", property="val", jdbcType=JdbcType.VARCHAR), @Result(column="admin_id", property="admin_id", jdbcType=JdbcType.VARCHAR), @Result(column="adminname", property="adminname", jdbcType=JdbcType.VARCHAR), @@ -47,34 +47,34 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysConfigResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") default int insert(SysConfig row) { return MyBatis3Utils.insert(this::insert, row, sysConfig, c -> c.map(id).toProperty("id") .map(subgroup).toProperty("subgroup") - .map(keys).toProperty("keys") + .map(k).toProperty("k") .map(val).toProperty("val") .map(admin_id).toProperty("admin_id") .map(adminname).toProperty("adminname") @@ -82,12 +82,12 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysConfig, c -> c.map(id).toProperty("id") .map(subgroup).toProperty("subgroup") - .map(keys).toProperty("keys") + .map(k).toProperty("k") .map(val).toProperty("val") .map(admin_id).toProperty("admin_id") .map(adminname).toProperty("adminname") @@ -95,12 +95,12 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5201975+08:00", comments="Source Table: yx..sys_config") default int insertSelective(SysConfig row) { return MyBatis3Utils.insert(this::insert, row, sysConfig, c -> c.map(id).toPropertyWhenPresent("id", row::getId) .map(subgroup).toPropertyWhenPresent("subgroup", row::getSubgroup) - .map(keys).toPropertyWhenPresent("keys", row::getKeys) + .map(k).toPropertyWhenPresent("k", row::getK) .map(val).toPropertyWhenPresent("val", row::getVal) .map(admin_id).toPropertyWhenPresent("admin_id", row::getAdmin_id) .map(adminname).toPropertyWhenPresent("adminname", row::getAdminname) @@ -108,60 +108,60 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5201975+08:00", comments="Source Table: yx..sys_config") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5201975+08:00", comments="Source Table: yx..sys_config") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5201975+08:00", comments="Source Table: yx..sys_config") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5211734+08:00", comments="Source Table: yx..sys_config") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5211734+08:00", comments="Source Table: yx..sys_config") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5211734+08:00", comments="Source Table: yx..sys_config") static UpdateDSL updateAllColumns(SysConfig row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(subgroup).equalTo(row::getSubgroup) - .set(keys).equalTo(row::getKeys) + .set(k).equalTo(row::getK) .set(val).equalTo(row::getVal) .set(admin_id).equalTo(row::getAdmin_id) .set(adminname).equalTo(row::getAdminname) .set(edittime).equalTo(row::getEdittime); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5211734+08:00", comments="Source Table: yx..sys_config") static UpdateDSL updateSelectiveColumns(SysConfig row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(subgroup).equalToWhenPresent(row::getSubgroup) - .set(keys).equalToWhenPresent(row::getKeys) + .set(k).equalToWhenPresent(row::getK) .set(val).equalToWhenPresent(row::getVal) .set(admin_id).equalToWhenPresent(row::getAdmin_id) .set(adminname).equalToWhenPresent(row::getAdminname) .set(edittime).equalToWhenPresent(row::getEdittime); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5211734+08:00", comments="Source Table: yx..sys_config") default int updateByPrimaryKey(SysConfig row) { return update(c -> c.set(subgroup).equalTo(row::getSubgroup) - .set(keys).equalTo(row::getKeys) + .set(k).equalTo(row::getK) .set(val).equalTo(row::getVal) .set(admin_id).equalTo(row::getAdmin_id) .set(adminname).equalTo(row::getAdminname) @@ -170,11 +170,11 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source Table: yx..sys_config") default int updateByPrimaryKeySelective(SysConfig row) { return update(c -> c.set(subgroup).equalToWhenPresent(row::getSubgroup) - .set(keys).equalToWhenPresent(row::getKeys) + .set(k).equalToWhenPresent(row::getK) .set(val).equalToWhenPresent(row::getVal) .set(admin_id).equalToWhenPresent(row::getAdmin_id) .set(adminname).equalToWhenPresent(row::getAdminname) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysMenuMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysMenuMapper.java index 8b4aa20..8bb7df1 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysMenuMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysMenuMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") - BasicColumn[] selectList = BasicColumn.columnList(id, parent_id, level, name, types, url, icon, is_open, description, sort, parentpath); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + BasicColumn[] selectList = BasicColumn.columnList(id, parent_id, level, name, types, url, icon, is_open, description, sort); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source Table: yx..sys_menu") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysMenuResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -46,34 +46,33 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co @Result(column="icon", property="icon", jdbcType=JdbcType.VARCHAR), @Result(column="is_open", property="is_open", jdbcType=JdbcType.INTEGER), @Result(column="description", property="description", jdbcType=JdbcType.VARCHAR), - @Result(column="sort", property="sort", jdbcType=JdbcType.INTEGER), - @Result(column="parentpath", property="parentpath", jdbcType=JdbcType.VARCHAR) + @Result(column="sort", property="sort", jdbcType=JdbcType.INTEGER) }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysMenuResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") default int insert(SysMenu row) { return MyBatis3Utils.insert(this::insert, row, sysMenu, c -> c.map(id).toProperty("id") @@ -86,11 +85,10 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co .map(is_open).toProperty("is_open") .map(description).toProperty("description") .map(sort).toProperty("sort") - .map(parentpath).toProperty("parentpath") ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysMenu, c -> c.map(id).toProperty("id") @@ -103,11 +101,10 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co .map(is_open).toProperty("is_open") .map(description).toProperty("description") .map(sort).toProperty("sort") - .map(parentpath).toProperty("parentpath") ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") default int insertSelective(SysMenu row) { return MyBatis3Utils.insert(this::insert, row, sysMenu, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -120,38 +117,37 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co .map(is_open).toPropertyWhenPresent("is_open", row::getIs_open) .map(description).toPropertyWhenPresent("description", row::getDescription) .map(sort).toPropertyWhenPresent("sort", row::getSort) - .map(parentpath).toPropertyWhenPresent("parentpath", row::getParentpath) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5501719+08:00", comments="Source Table: yx..sys_menu") static UpdateDSL updateAllColumns(SysMenu row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(parent_id).equalTo(row::getParent_id) @@ -162,11 +158,10 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co .set(icon).equalTo(row::getIcon) .set(is_open).equalTo(row::getIs_open) .set(description).equalTo(row::getDescription) - .set(sort).equalTo(row::getSort) - .set(parentpath).equalTo(row::getParentpath); + .set(sort).equalTo(row::getSort); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5501719+08:00", comments="Source Table: yx..sys_menu") static UpdateDSL updateSelectiveColumns(SysMenu row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(parent_id).equalToWhenPresent(row::getParent_id) @@ -177,11 +172,10 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co .set(icon).equalToWhenPresent(row::getIcon) .set(is_open).equalToWhenPresent(row::getIs_open) .set(description).equalToWhenPresent(row::getDescription) - .set(sort).equalToWhenPresent(row::getSort) - .set(parentpath).equalToWhenPresent(row::getParentpath); + .set(sort).equalToWhenPresent(row::getSort); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5501719+08:00", comments="Source Table: yx..sys_menu") default int updateByPrimaryKey(SysMenu row) { return update(c -> c.set(parent_id).equalTo(row::getParent_id) @@ -193,12 +187,11 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co .set(is_open).equalTo(row::getIs_open) .set(description).equalTo(row::getDescription) .set(sort).equalTo(row::getSort) - .set(parentpath).equalTo(row::getParentpath) .where(id, isEqualTo(row::getId)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5501719+08:00", comments="Source Table: yx..sys_menu") default int updateByPrimaryKeySelective(SysMenu row) { return update(c -> c.set(parent_id).equalToWhenPresent(row::getParent_id) @@ -210,7 +203,6 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co .set(is_open).equalToWhenPresent(row::getIs_open) .set(description).equalToWhenPresent(row::getDescription) .set(sort).equalToWhenPresent(row::getSort) - .set(parentpath).equalToWhenPresent(row::getParentpath) .where(id, isEqualTo(row::getId)) ); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysOrgMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysOrgMapper.java index b3c167e..09c5f24 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysOrgMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysOrgMapper.java @@ -31,338 +31,130 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysOrgMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") - BasicColumn[] selectList = BasicColumn.columnList(id, pid, chinese_simple_name, english_simple_name, chinese_full_name, english_full_name, code, sort, status, is_company_department, enterprise_legal_person, contact_person, contact_phone, remark, create_time, create_user, update_time, update_user, name, industry_name, industry_code, province_code, city_code, area_code, addr, uscc, org_type, is_archives_dep, cer_id, is_forbidden); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + BasicColumn[] selectList = BasicColumn.columnList(id, pid, status, org_type); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysOrgResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @Result(column="pid", property="pid", jdbcType=JdbcType.VARCHAR), - @Result(column="chinese_simple_name", property="chinese_simple_name", jdbcType=JdbcType.VARCHAR), - @Result(column="english_simple_name", property="english_simple_name", jdbcType=JdbcType.VARCHAR), - @Result(column="chinese_full_name", property="chinese_full_name", jdbcType=JdbcType.VARCHAR), - @Result(column="english_full_name", property="english_full_name", jdbcType=JdbcType.VARCHAR), - @Result(column="code", property="code", jdbcType=JdbcType.VARCHAR), - @Result(column="sort", property="sort", jdbcType=JdbcType.INTEGER), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), - @Result(column="is_company_department", property="is_company_department", jdbcType=JdbcType.INTEGER), - @Result(column="enterprise_legal_person", property="enterprise_legal_person", jdbcType=JdbcType.VARCHAR), - @Result(column="contact_person", property="contact_person", jdbcType=JdbcType.VARCHAR), - @Result(column="contact_phone", property="contact_phone", jdbcType=JdbcType.VARCHAR), - @Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), - @Result(column="create_time", property="create_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="create_user", property="create_user", jdbcType=JdbcType.VARCHAR), - @Result(column="update_time", property="update_time", jdbcType=JdbcType.TIMESTAMP), - @Result(column="update_user", property="update_user", jdbcType=JdbcType.VARCHAR), - @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR), - @Result(column="industry_name", property="industry_name", jdbcType=JdbcType.VARCHAR), - @Result(column="industry_code", property="industry_code", jdbcType=JdbcType.VARCHAR), - @Result(column="province_code", property="province_code", jdbcType=JdbcType.VARCHAR), - @Result(column="city_code", property="city_code", jdbcType=JdbcType.VARCHAR), - @Result(column="area_code", property="area_code", jdbcType=JdbcType.VARCHAR), - @Result(column="addr", property="addr", jdbcType=JdbcType.VARCHAR), - @Result(column="uscc", property="uscc", jdbcType=JdbcType.VARCHAR), - @Result(column="org_type", property="org_type", jdbcType=JdbcType.VARCHAR), - @Result(column="is_archives_dep", property="is_archives_dep", jdbcType=JdbcType.INTEGER), - @Result(column="cer_id", property="cer_id", jdbcType=JdbcType.VARCHAR), - @Result(column="is_forbidden", property="is_forbidden", jdbcType=JdbcType.INTEGER) + @Result(column="org_type", property="org_type", jdbcType=JdbcType.VARCHAR) }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysOrgResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") default int insert(SysOrg row) { return MyBatis3Utils.insert(this::insert, row, sysOrg, c -> c.map(id).toProperty("id") .map(pid).toProperty("pid") - .map(chinese_simple_name).toProperty("chinese_simple_name") - .map(english_simple_name).toProperty("english_simple_name") - .map(chinese_full_name).toProperty("chinese_full_name") - .map(english_full_name).toProperty("english_full_name") - .map(code).toProperty("code") - .map(sort).toProperty("sort") .map(status).toProperty("status") - .map(is_company_department).toProperty("is_company_department") - .map(enterprise_legal_person).toProperty("enterprise_legal_person") - .map(contact_person).toProperty("contact_person") - .map(contact_phone).toProperty("contact_phone") - .map(remark).toProperty("remark") - .map(create_time).toProperty("create_time") - .map(create_user).toProperty("create_user") - .map(update_time).toProperty("update_time") - .map(update_user).toProperty("update_user") - .map(name).toProperty("name") - .map(industry_name).toProperty("industry_name") - .map(industry_code).toProperty("industry_code") - .map(province_code).toProperty("province_code") - .map(city_code).toProperty("city_code") - .map(area_code).toProperty("area_code") - .map(addr).toProperty("addr") - .map(uscc).toProperty("uscc") .map(org_type).toProperty("org_type") - .map(is_archives_dep).toProperty("is_archives_dep") - .map(cer_id).toProperty("cer_id") - .map(is_forbidden).toProperty("is_forbidden") ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysOrg, c -> c.map(id).toProperty("id") .map(pid).toProperty("pid") - .map(chinese_simple_name).toProperty("chinese_simple_name") - .map(english_simple_name).toProperty("english_simple_name") - .map(chinese_full_name).toProperty("chinese_full_name") - .map(english_full_name).toProperty("english_full_name") - .map(code).toProperty("code") - .map(sort).toProperty("sort") .map(status).toProperty("status") - .map(is_company_department).toProperty("is_company_department") - .map(enterprise_legal_person).toProperty("enterprise_legal_person") - .map(contact_person).toProperty("contact_person") - .map(contact_phone).toProperty("contact_phone") - .map(remark).toProperty("remark") - .map(create_time).toProperty("create_time") - .map(create_user).toProperty("create_user") - .map(update_time).toProperty("update_time") - .map(update_user).toProperty("update_user") - .map(name).toProperty("name") - .map(industry_name).toProperty("industry_name") - .map(industry_code).toProperty("industry_code") - .map(province_code).toProperty("province_code") - .map(city_code).toProperty("city_code") - .map(area_code).toProperty("area_code") - .map(addr).toProperty("addr") - .map(uscc).toProperty("uscc") .map(org_type).toProperty("org_type") - .map(is_archives_dep).toProperty("is_archives_dep") - .map(cer_id).toProperty("cer_id") - .map(is_forbidden).toProperty("is_forbidden") ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") default int insertSelective(SysOrg row) { return MyBatis3Utils.insert(this::insert, row, sysOrg, c -> c.map(id).toPropertyWhenPresent("id", row::getId) .map(pid).toPropertyWhenPresent("pid", row::getPid) - .map(chinese_simple_name).toPropertyWhenPresent("chinese_simple_name", row::getChinese_simple_name) - .map(english_simple_name).toPropertyWhenPresent("english_simple_name", row::getEnglish_simple_name) - .map(chinese_full_name).toPropertyWhenPresent("chinese_full_name", row::getChinese_full_name) - .map(english_full_name).toPropertyWhenPresent("english_full_name", row::getEnglish_full_name) - .map(code).toPropertyWhenPresent("code", row::getCode) - .map(sort).toPropertyWhenPresent("sort", row::getSort) .map(status).toPropertyWhenPresent("status", row::getStatus) - .map(is_company_department).toPropertyWhenPresent("is_company_department", row::getIs_company_department) - .map(enterprise_legal_person).toPropertyWhenPresent("enterprise_legal_person", row::getEnterprise_legal_person) - .map(contact_person).toPropertyWhenPresent("contact_person", row::getContact_person) - .map(contact_phone).toPropertyWhenPresent("contact_phone", row::getContact_phone) - .map(remark).toPropertyWhenPresent("remark", row::getRemark) - .map(create_time).toPropertyWhenPresent("create_time", row::getCreate_time) - .map(create_user).toPropertyWhenPresent("create_user", row::getCreate_user) - .map(update_time).toPropertyWhenPresent("update_time", row::getUpdate_time) - .map(update_user).toPropertyWhenPresent("update_user", row::getUpdate_user) - .map(name).toPropertyWhenPresent("name", row::getName) - .map(industry_name).toPropertyWhenPresent("industry_name", row::getIndustry_name) - .map(industry_code).toPropertyWhenPresent("industry_code", row::getIndustry_code) - .map(province_code).toPropertyWhenPresent("province_code", row::getProvince_code) - .map(city_code).toPropertyWhenPresent("city_code", row::getCity_code) - .map(area_code).toPropertyWhenPresent("area_code", row::getArea_code) - .map(addr).toPropertyWhenPresent("addr", row::getAddr) - .map(uscc).toPropertyWhenPresent("uscc", row::getUscc) .map(org_type).toPropertyWhenPresent("org_type", row::getOrg_type) - .map(is_archives_dep).toPropertyWhenPresent("is_archives_dep", row::getIs_archives_dep) - .map(cer_id).toPropertyWhenPresent("cer_id", row::getCer_id) - .map(is_forbidden).toPropertyWhenPresent("is_forbidden", row::getIs_forbidden) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3211475+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3211475+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source Table: yx..sys_org") static UpdateDSL updateAllColumns(SysOrg row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(pid).equalTo(row::getPid) - .set(chinese_simple_name).equalTo(row::getChinese_simple_name) - .set(english_simple_name).equalTo(row::getEnglish_simple_name) - .set(chinese_full_name).equalTo(row::getChinese_full_name) - .set(english_full_name).equalTo(row::getEnglish_full_name) - .set(code).equalTo(row::getCode) - .set(sort).equalTo(row::getSort) .set(status).equalTo(row::getStatus) - .set(is_company_department).equalTo(row::getIs_company_department) - .set(enterprise_legal_person).equalTo(row::getEnterprise_legal_person) - .set(contact_person).equalTo(row::getContact_person) - .set(contact_phone).equalTo(row::getContact_phone) - .set(remark).equalTo(row::getRemark) - .set(create_time).equalTo(row::getCreate_time) - .set(create_user).equalTo(row::getCreate_user) - .set(update_time).equalTo(row::getUpdate_time) - .set(update_user).equalTo(row::getUpdate_user) - .set(name).equalTo(row::getName) - .set(industry_name).equalTo(row::getIndustry_name) - .set(industry_code).equalTo(row::getIndustry_code) - .set(province_code).equalTo(row::getProvince_code) - .set(city_code).equalTo(row::getCity_code) - .set(area_code).equalTo(row::getArea_code) - .set(addr).equalTo(row::getAddr) - .set(uscc).equalTo(row::getUscc) - .set(org_type).equalTo(row::getOrg_type) - .set(is_archives_dep).equalTo(row::getIs_archives_dep) - .set(cer_id).equalTo(row::getCer_id) - .set(is_forbidden).equalTo(row::getIs_forbidden); + .set(org_type).equalTo(row::getOrg_type); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3211475+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source Table: yx..sys_org") static UpdateDSL updateSelectiveColumns(SysOrg row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(pid).equalToWhenPresent(row::getPid) - .set(chinese_simple_name).equalToWhenPresent(row::getChinese_simple_name) - .set(english_simple_name).equalToWhenPresent(row::getEnglish_simple_name) - .set(chinese_full_name).equalToWhenPresent(row::getChinese_full_name) - .set(english_full_name).equalToWhenPresent(row::getEnglish_full_name) - .set(code).equalToWhenPresent(row::getCode) - .set(sort).equalToWhenPresent(row::getSort) .set(status).equalToWhenPresent(row::getStatus) - .set(is_company_department).equalToWhenPresent(row::getIs_company_department) - .set(enterprise_legal_person).equalToWhenPresent(row::getEnterprise_legal_person) - .set(contact_person).equalToWhenPresent(row::getContact_person) - .set(contact_phone).equalToWhenPresent(row::getContact_phone) - .set(remark).equalToWhenPresent(row::getRemark) - .set(create_time).equalToWhenPresent(row::getCreate_time) - .set(create_user).equalToWhenPresent(row::getCreate_user) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(update_user).equalToWhenPresent(row::getUpdate_user) - .set(name).equalToWhenPresent(row::getName) - .set(industry_name).equalToWhenPresent(row::getIndustry_name) - .set(industry_code).equalToWhenPresent(row::getIndustry_code) - .set(province_code).equalToWhenPresent(row::getProvince_code) - .set(city_code).equalToWhenPresent(row::getCity_code) - .set(area_code).equalToWhenPresent(row::getArea_code) - .set(addr).equalToWhenPresent(row::getAddr) - .set(uscc).equalToWhenPresent(row::getUscc) - .set(org_type).equalToWhenPresent(row::getOrg_type) - .set(is_archives_dep).equalToWhenPresent(row::getIs_archives_dep) - .set(cer_id).equalToWhenPresent(row::getCer_id) - .set(is_forbidden).equalToWhenPresent(row::getIs_forbidden); + .set(org_type).equalToWhenPresent(row::getOrg_type); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3211475+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source Table: yx..sys_org") default int updateByPrimaryKey(SysOrg row) { return update(c -> c.set(pid).equalTo(row::getPid) - .set(chinese_simple_name).equalTo(row::getChinese_simple_name) - .set(english_simple_name).equalTo(row::getEnglish_simple_name) - .set(chinese_full_name).equalTo(row::getChinese_full_name) - .set(english_full_name).equalTo(row::getEnglish_full_name) - .set(code).equalTo(row::getCode) - .set(sort).equalTo(row::getSort) .set(status).equalTo(row::getStatus) - .set(is_company_department).equalTo(row::getIs_company_department) - .set(enterprise_legal_person).equalTo(row::getEnterprise_legal_person) - .set(contact_person).equalTo(row::getContact_person) - .set(contact_phone).equalTo(row::getContact_phone) - .set(remark).equalTo(row::getRemark) - .set(create_time).equalTo(row::getCreate_time) - .set(create_user).equalTo(row::getCreate_user) - .set(update_time).equalTo(row::getUpdate_time) - .set(update_user).equalTo(row::getUpdate_user) - .set(name).equalTo(row::getName) - .set(industry_name).equalTo(row::getIndustry_name) - .set(industry_code).equalTo(row::getIndustry_code) - .set(province_code).equalTo(row::getProvince_code) - .set(city_code).equalTo(row::getCity_code) - .set(area_code).equalTo(row::getArea_code) - .set(addr).equalTo(row::getAddr) - .set(uscc).equalTo(row::getUscc) .set(org_type).equalTo(row::getOrg_type) - .set(is_archives_dep).equalTo(row::getIs_archives_dep) - .set(cer_id).equalTo(row::getCer_id) - .set(is_forbidden).equalTo(row::getIs_forbidden) .where(id, isEqualTo(row::getId)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3211475+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source Table: yx..sys_org") default int updateByPrimaryKeySelective(SysOrg row) { return update(c -> c.set(pid).equalToWhenPresent(row::getPid) - .set(chinese_simple_name).equalToWhenPresent(row::getChinese_simple_name) - .set(english_simple_name).equalToWhenPresent(row::getEnglish_simple_name) - .set(chinese_full_name).equalToWhenPresent(row::getChinese_full_name) - .set(english_full_name).equalToWhenPresent(row::getEnglish_full_name) - .set(code).equalToWhenPresent(row::getCode) - .set(sort).equalToWhenPresent(row::getSort) .set(status).equalToWhenPresent(row::getStatus) - .set(is_company_department).equalToWhenPresent(row::getIs_company_department) - .set(enterprise_legal_person).equalToWhenPresent(row::getEnterprise_legal_person) - .set(contact_person).equalToWhenPresent(row::getContact_person) - .set(contact_phone).equalToWhenPresent(row::getContact_phone) - .set(remark).equalToWhenPresent(row::getRemark) - .set(create_time).equalToWhenPresent(row::getCreate_time) - .set(create_user).equalToWhenPresent(row::getCreate_user) - .set(update_time).equalToWhenPresent(row::getUpdate_time) - .set(update_user).equalToWhenPresent(row::getUpdate_user) - .set(name).equalToWhenPresent(row::getName) - .set(industry_name).equalToWhenPresent(row::getIndustry_name) - .set(industry_code).equalToWhenPresent(row::getIndustry_code) - .set(province_code).equalToWhenPresent(row::getProvince_code) - .set(city_code).equalToWhenPresent(row::getCity_code) - .set(area_code).equalToWhenPresent(row::getArea_code) - .set(addr).equalToWhenPresent(row::getAddr) - .set(uscc).equalToWhenPresent(row::getUscc) .set(org_type).equalToWhenPresent(row::getOrg_type) - .set(is_archives_dep).equalToWhenPresent(row::getIs_archives_dep) - .set(cer_id).equalToWhenPresent(row::getCer_id) - .set(is_forbidden).equalToWhenPresent(row::getIs_forbidden) .where(id, isEqualTo(row::getId)) ); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysResourceMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysResourceMapper.java new file mode 100644 index 0000000..13fca20 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysResourceMapper.java @@ -0,0 +1,201 @@ +package jj.tech.paolu.repository.mybatis.dao; + +import static jj.tech.paolu.repository.mybatis.dao.support.SysResourceDynamicSqlSupport.*; +import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; + +import jakarta.annotation.Generated; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import jj.tech.paolu.repository.mybatis.entity.SysResource; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Result; +import org.apache.ibatis.annotations.ResultMap; +import org.apache.ibatis.annotations.Results; +import org.apache.ibatis.annotations.SelectProvider; +import org.apache.ibatis.type.JdbcType; +import org.mybatis.dynamic.sql.BasicColumn; +import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; +import org.mybatis.dynamic.sql.select.CountDSLCompleter; +import org.mybatis.dynamic.sql.select.SelectDSLCompleter; +import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; +import org.mybatis.dynamic.sql.update.UpdateDSL; +import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; +import org.mybatis.dynamic.sql.update.UpdateModel; +import org.mybatis.dynamic.sql.util.SqlProviderAdapter; +import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; +import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; + +@Mapper +public interface SysResourceMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + BasicColumn[] selectList = BasicColumn.columnList(id, parent_id, level, name, types, url, icon, ishide, description); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5371817+08:00", comments="Source Table: yx..sys_resource") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @Results(id="SysResourceResult", value = { + @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), + @Result(column="parent_id", property="parent_id", jdbcType=JdbcType.VARCHAR), + @Result(column="level", property="level", jdbcType=JdbcType.SMALLINT), + @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR), + @Result(column="types", property="types", jdbcType=JdbcType.VARCHAR), + @Result(column="url", property="url", jdbcType=JdbcType.VARCHAR), + @Result(column="icon", property="icon", jdbcType=JdbcType.VARCHAR), + @Result(column="ishide", property="ishide", jdbcType=JdbcType.TINYINT), + @Result(column="description", property="description", jdbcType=JdbcType.VARCHAR) + }) + List selectMany(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5371817+08:00", comments="Source Table: yx..sys_resource") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @ResultMap("SysResourceResult") + Optional selectOne(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5371817+08:00", comments="Source Table: yx..sys_resource") + default long count(CountDSLCompleter completer) { + return MyBatis3Utils.countFrom(this::count, sysResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5381855+08:00", comments="Source Table: yx..sys_resource") + default int delete(DeleteDSLCompleter completer) { + return MyBatis3Utils.deleteFrom(this::delete, sysResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5381855+08:00", comments="Source Table: yx..sys_resource") + default int deleteByPrimaryKey(String id_) { + return delete(c -> + c.where(id, isEqualTo(id_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5381855+08:00", comments="Source Table: yx..sys_resource") + default int insert(SysResource row) { + return MyBatis3Utils.insert(this::insert, row, sysResource, c -> + c.map(id).toProperty("id") + .map(parent_id).toProperty("parent_id") + .map(level).toProperty("level") + .map(name).toProperty("name") + .map(types).toProperty("types") + .map(url).toProperty("url") + .map(icon).toProperty("icon") + .map(ishide).toProperty("ishide") + .map(description).toProperty("description") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + default int insertMultiple(Collection records) { + return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysResource, c -> + c.map(id).toProperty("id") + .map(parent_id).toProperty("parent_id") + .map(level).toProperty("level") + .map(name).toProperty("name") + .map(types).toProperty("types") + .map(url).toProperty("url") + .map(icon).toProperty("icon") + .map(ishide).toProperty("ishide") + .map(description).toProperty("description") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + default int insertSelective(SysResource row) { + return MyBatis3Utils.insert(this::insert, row, sysResource, c -> + c.map(id).toPropertyWhenPresent("id", row::getId) + .map(parent_id).toPropertyWhenPresent("parent_id", row::getParent_id) + .map(level).toPropertyWhenPresent("level", row::getLevel) + .map(name).toPropertyWhenPresent("name", row::getName) + .map(types).toPropertyWhenPresent("types", row::getTypes) + .map(url).toPropertyWhenPresent("url", row::getUrl) + .map(icon).toPropertyWhenPresent("icon", row::getIcon) + .map(ishide).toPropertyWhenPresent("ishide", row::getIshide) + .map(description).toPropertyWhenPresent("description", row::getDescription) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + default Optional selectOne(SelectDSLCompleter completer) { + return MyBatis3Utils.selectOne(this::selectOne, selectList, sysResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + default List select(SelectDSLCompleter completer) { + return MyBatis3Utils.selectList(this::selectMany, selectList, sysResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + default List selectDistinct(SelectDSLCompleter completer) { + return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + default Optional selectByPrimaryKey(String id_) { + return selectOne(c -> + c.where(id, isEqualTo(id_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5402136+08:00", comments="Source Table: yx..sys_resource") + default int update(UpdateDSLCompleter completer) { + return MyBatis3Utils.update(this::update, sysResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5402136+08:00", comments="Source Table: yx..sys_resource") + static UpdateDSL updateAllColumns(SysResource row, UpdateDSL dsl) { + return dsl.set(id).equalTo(row::getId) + .set(parent_id).equalTo(row::getParent_id) + .set(level).equalTo(row::getLevel) + .set(name).equalTo(row::getName) + .set(types).equalTo(row::getTypes) + .set(url).equalTo(row::getUrl) + .set(icon).equalTo(row::getIcon) + .set(ishide).equalTo(row::getIshide) + .set(description).equalTo(row::getDescription); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5402136+08:00", comments="Source Table: yx..sys_resource") + static UpdateDSL updateSelectiveColumns(SysResource row, UpdateDSL dsl) { + return dsl.set(id).equalToWhenPresent(row::getId) + .set(parent_id).equalToWhenPresent(row::getParent_id) + .set(level).equalToWhenPresent(row::getLevel) + .set(name).equalToWhenPresent(row::getName) + .set(types).equalToWhenPresent(row::getTypes) + .set(url).equalToWhenPresent(row::getUrl) + .set(icon).equalToWhenPresent(row::getIcon) + .set(ishide).equalToWhenPresent(row::getIshide) + .set(description).equalToWhenPresent(row::getDescription); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5402136+08:00", comments="Source Table: yx..sys_resource") + default int updateByPrimaryKey(SysResource row) { + return update(c -> + c.set(parent_id).equalTo(row::getParent_id) + .set(level).equalTo(row::getLevel) + .set(name).equalTo(row::getName) + .set(types).equalTo(row::getTypes) + .set(url).equalTo(row::getUrl) + .set(icon).equalTo(row::getIcon) + .set(ishide).equalTo(row::getIshide) + .set(description).equalTo(row::getDescription) + .where(id, isEqualTo(row::getId)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5402136+08:00", comments="Source Table: yx..sys_resource") + default int updateByPrimaryKeySelective(SysResource row) { + return update(c -> + c.set(parent_id).equalToWhenPresent(row::getParent_id) + .set(level).equalToWhenPresent(row::getLevel) + .set(name).equalToWhenPresent(row::getName) + .set(types).equalToWhenPresent(row::getTypes) + .set(url).equalToWhenPresent(row::getUrl) + .set(icon).equalToWhenPresent(row::getIcon) + .set(ishide).equalToWhenPresent(row::getIshide) + .set(description).equalToWhenPresent(row::getDescription) + .where(id, isEqualTo(row::getId)) + ); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleMapper.java index 7425213..2100aab 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleMapper.java @@ -31,170 +31,122 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysRoleMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") - BasicColumn[] selectList = BasicColumn.columnList(id, rolename, describe, sort, is_open, sign_name, sign_id, company_id, company_name); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + BasicColumn[] selectList = BasicColumn.columnList(id, rolename, department); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysRoleResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @Result(column="rolename", property="rolename", jdbcType=JdbcType.VARCHAR), - @Result(column="describe", property="describe", jdbcType=JdbcType.VARCHAR), - @Result(column="sort", property="sort", jdbcType=JdbcType.INTEGER), - @Result(column="is_open", property="is_open", jdbcType=JdbcType.INTEGER), - @Result(column="sign_name", property="sign_name", jdbcType=JdbcType.VARCHAR), - @Result(column="sign_id", property="sign_id", jdbcType=JdbcType.VARCHAR), - @Result(column="company_id", property="company_id", jdbcType=JdbcType.VARCHAR), - @Result(column="company_name", property="company_name", jdbcType=JdbcType.VARCHAR) + @Result(column="department", property="department", jdbcType=JdbcType.VARCHAR) }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysRoleResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") default int insert(SysRole row) { return MyBatis3Utils.insert(this::insert, row, sysRole, c -> c.map(id).toProperty("id") .map(rolename).toProperty("rolename") - .map(describe).toProperty("describe") - .map(sort).toProperty("sort") - .map(is_open).toProperty("is_open") - .map(sign_name).toProperty("sign_name") - .map(sign_id).toProperty("sign_id") - .map(company_id).toProperty("company_id") - .map(company_name).toProperty("company_name") + .map(department).toProperty("department") ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysRole, c -> c.map(id).toProperty("id") .map(rolename).toProperty("rolename") - .map(describe).toProperty("describe") - .map(sort).toProperty("sort") - .map(is_open).toProperty("is_open") - .map(sign_name).toProperty("sign_name") - .map(sign_id).toProperty("sign_id") - .map(company_id).toProperty("company_id") - .map(company_name).toProperty("company_name") + .map(department).toProperty("department") ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") default int insertSelective(SysRole row) { return MyBatis3Utils.insert(this::insert, row, sysRole, c -> c.map(id).toPropertyWhenPresent("id", row::getId) .map(rolename).toPropertyWhenPresent("rolename", row::getRolename) - .map(describe).toPropertyWhenPresent("describe", row::getDescribe) - .map(sort).toPropertyWhenPresent("sort", row::getSort) - .map(is_open).toPropertyWhenPresent("is_open", row::getIs_open) - .map(sign_name).toPropertyWhenPresent("sign_name", row::getSign_name) - .map(sign_id).toPropertyWhenPresent("sign_id", row::getSign_id) - .map(company_id).toPropertyWhenPresent("company_id", row::getCompany_id) - .map(company_name).toPropertyWhenPresent("company_name", row::getCompany_name) + .map(department).toPropertyWhenPresent("department", row::getDepartment) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") static UpdateDSL updateAllColumns(SysRole row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(rolename).equalTo(row::getRolename) - .set(describe).equalTo(row::getDescribe) - .set(sort).equalTo(row::getSort) - .set(is_open).equalTo(row::getIs_open) - .set(sign_name).equalTo(row::getSign_name) - .set(sign_id).equalTo(row::getSign_id) - .set(company_id).equalTo(row::getCompany_id) - .set(company_name).equalTo(row::getCompany_name); + .set(department).equalTo(row::getDepartment); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") static UpdateDSL updateSelectiveColumns(SysRole row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(rolename).equalToWhenPresent(row::getRolename) - .set(describe).equalToWhenPresent(row::getDescribe) - .set(sort).equalToWhenPresent(row::getSort) - .set(is_open).equalToWhenPresent(row::getIs_open) - .set(sign_name).equalToWhenPresent(row::getSign_name) - .set(sign_id).equalToWhenPresent(row::getSign_id) - .set(company_id).equalToWhenPresent(row::getCompany_id) - .set(company_name).equalToWhenPresent(row::getCompany_name); + .set(department).equalToWhenPresent(row::getDepartment); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") default int updateByPrimaryKey(SysRole row) { return update(c -> c.set(rolename).equalTo(row::getRolename) - .set(describe).equalTo(row::getDescribe) - .set(sort).equalTo(row::getSort) - .set(is_open).equalTo(row::getIs_open) - .set(sign_name).equalTo(row::getSign_name) - .set(sign_id).equalTo(row::getSign_id) - .set(company_id).equalTo(row::getCompany_id) - .set(company_name).equalTo(row::getCompany_name) + .set(department).equalTo(row::getDepartment) .where(id, isEqualTo(row::getId)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2721507+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") default int updateByPrimaryKeySelective(SysRole row) { return update(c -> c.set(rolename).equalToWhenPresent(row::getRolename) - .set(describe).equalToWhenPresent(row::getDescribe) - .set(sort).equalToWhenPresent(row::getSort) - .set(is_open).equalToWhenPresent(row::getIs_open) - .set(sign_name).equalToWhenPresent(row::getSign_name) - .set(sign_id).equalToWhenPresent(row::getSign_id) - .set(company_id).equalToWhenPresent(row::getCompany_id) - .set(company_name).equalToWhenPresent(row::getCompany_name) + .set(department).equalToWhenPresent(row::getDepartment) .where(id, isEqualTo(row::getId)) ); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleMenuMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleMenuMapper.java deleted file mode 100644 index d7c9453..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleMenuMapper.java +++ /dev/null @@ -1,153 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.SysRoleMenuDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.SysRoleMenu; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface SysRoleMenuMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source Table: public.sys_role_menu") - BasicColumn[] selectList = BasicColumn.columnList(id, roleid, menuid); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source Table: public.sys_role_menu") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="SysRoleMenuResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="roleid", property="roleid", jdbcType=JdbcType.VARCHAR), - @Result(column="menuid", property="menuid", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source Table: public.sys_role_menu") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("SysRoleMenuResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source Table: public.sys_role_menu") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, sysRoleMenu, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source Table: public.sys_role_menu") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, sysRoleMenu, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source Table: public.sys_role_menu") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source Table: public.sys_role_menu") - default int insert(SysRoleMenu row) { - return MyBatis3Utils.insert(this::insert, row, sysRoleMenu, c -> - c.map(id).toProperty("id") - .map(roleid).toProperty("roleid") - .map(menuid).toProperty("menuid") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source Table: public.sys_role_menu") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysRoleMenu, c -> - c.map(id).toProperty("id") - .map(roleid).toProperty("roleid") - .map(menuid).toProperty("menuid") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source Table: public.sys_role_menu") - default int insertSelective(SysRoleMenu row) { - return MyBatis3Utils.insert(this::insert, row, sysRoleMenu, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(roleid).toPropertyWhenPresent("roleid", row::getRoleid) - .map(menuid).toPropertyWhenPresent("menuid", row::getMenuid) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_role_menu") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, sysRoleMenu, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_role_menu") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, sysRoleMenu, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_role_menu") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysRoleMenu, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_role_menu") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_role_menu") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, sysRoleMenu, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_role_menu") - static UpdateDSL updateAllColumns(SysRoleMenu row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(roleid).equalTo(row::getRoleid) - .set(menuid).equalTo(row::getMenuid); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_role_menu") - static UpdateDSL updateSelectiveColumns(SysRoleMenu row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(roleid).equalToWhenPresent(row::getRoleid) - .set(menuid).equalToWhenPresent(row::getMenuid); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_role_menu") - default int updateByPrimaryKey(SysRoleMenu row) { - return update(c -> - c.set(roleid).equalTo(row::getRoleid) - .set(menuid).equalTo(row::getMenuid) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_role_menu") - default int updateByPrimaryKeySelective(SysRoleMenu row) { - return update(c -> - c.set(roleid).equalToWhenPresent(row::getRoleid) - .set(menuid).equalToWhenPresent(row::getMenuid) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleResourceMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleResourceMapper.java new file mode 100644 index 0000000..6747b34 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleResourceMapper.java @@ -0,0 +1,155 @@ +package jj.tech.paolu.repository.mybatis.dao; + +import static jj.tech.paolu.repository.mybatis.dao.support.SysRoleResourceDynamicSqlSupport.*; +import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; + +import jakarta.annotation.Generated; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import jj.tech.paolu.repository.mybatis.entity.SysRoleResource; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Result; +import org.apache.ibatis.annotations.ResultMap; +import org.apache.ibatis.annotations.Results; +import org.apache.ibatis.annotations.SelectProvider; +import org.apache.ibatis.type.JdbcType; +import org.mybatis.dynamic.sql.BasicColumn; +import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; +import org.mybatis.dynamic.sql.select.CountDSLCompleter; +import org.mybatis.dynamic.sql.select.SelectDSLCompleter; +import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; +import org.mybatis.dynamic.sql.update.UpdateDSL; +import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; +import org.mybatis.dynamic.sql.update.UpdateModel; +import org.mybatis.dynamic.sql.util.SqlProviderAdapter; +import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; +import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; + +@Mapper +public interface SysRoleResourceMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + BasicColumn[] selectList = BasicColumn.columnList(roleid, resid, id); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @Results(id="SysRoleResourceResult", value = { + @Result(column="roleid", property="roleid", jdbcType=JdbcType.VARCHAR, id=true), + @Result(column="resid", property="resid", jdbcType=JdbcType.VARCHAR, id=true), + @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR) + }) + List selectMany(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @ResultMap("SysRoleResourceResult") + Optional selectOne(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + default long count(CountDSLCompleter completer) { + return MyBatis3Utils.countFrom(this::count, sysRoleResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + default int delete(DeleteDSLCompleter completer) { + return MyBatis3Utils.deleteFrom(this::delete, sysRoleResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + default int deleteByPrimaryKey(String roleid_, String resid_) { + return delete(c -> + c.where(roleid, isEqualTo(roleid_)) + .and(resid, isEqualTo(resid_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + default int insert(SysRoleResource row) { + return MyBatis3Utils.insert(this::insert, row, sysRoleResource, c -> + c.map(roleid).toProperty("roleid") + .map(resid).toProperty("resid") + .map(id).toProperty("id") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + default int insertMultiple(Collection records) { + return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysRoleResource, c -> + c.map(roleid).toProperty("roleid") + .map(resid).toProperty("resid") + .map(id).toProperty("id") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + default int insertSelective(SysRoleResource row) { + return MyBatis3Utils.insert(this::insert, row, sysRoleResource, c -> + c.map(roleid).toPropertyWhenPresent("roleid", row::getRoleid) + .map(resid).toPropertyWhenPresent("resid", row::getResid) + .map(id).toPropertyWhenPresent("id", row::getId) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + default Optional selectOne(SelectDSLCompleter completer) { + return MyBatis3Utils.selectOne(this::selectOne, selectList, sysRoleResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + default List select(SelectDSLCompleter completer) { + return MyBatis3Utils.selectList(this::selectMany, selectList, sysRoleResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + default List selectDistinct(SelectDSLCompleter completer) { + return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysRoleResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + default Optional selectByPrimaryKey(String roleid_, String resid_) { + return selectOne(c -> + c.where(roleid, isEqualTo(roleid_)) + .and(resid, isEqualTo(resid_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + default int update(UpdateDSLCompleter completer) { + return MyBatis3Utils.update(this::update, sysRoleResource, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + static UpdateDSL updateAllColumns(SysRoleResource row, UpdateDSL dsl) { + return dsl.set(roleid).equalTo(row::getRoleid) + .set(resid).equalTo(row::getResid) + .set(id).equalTo(row::getId); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + static UpdateDSL updateSelectiveColumns(SysRoleResource row, UpdateDSL dsl) { + return dsl.set(roleid).equalToWhenPresent(row::getRoleid) + .set(resid).equalToWhenPresent(row::getResid) + .set(id).equalToWhenPresent(row::getId); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + default int updateByPrimaryKey(SysRoleResource row) { + return update(c -> + c.set(id).equalTo(row::getId) + .where(roleid, isEqualTo(row::getRoleid)) + .and(resid, isEqualTo(row::getResid)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + default int updateByPrimaryKeySelective(SysRoleResource row) { + return update(c -> + c.set(id).equalToWhenPresent(row::getId) + .where(roleid, isEqualTo(row::getRoleid)) + .and(resid, isEqualTo(row::getResid)) + ); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleSignMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleSignMapper.java deleted file mode 100644 index 3e8f727..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleSignMapper.java +++ /dev/null @@ -1,153 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.SysRoleSignDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.SysRoleSign; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface SysRoleSignMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - BasicColumn[] selectList = BasicColumn.columnList(id, sign_name, sign_code); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="SysRoleSignResult", value = { - @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="sign_name", property="sign_name", jdbcType=JdbcType.VARCHAR), - @Result(column="sign_code", property="sign_code", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("SysRoleSignResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, sysRoleSign, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, sysRoleSign, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - default int deleteByPrimaryKey(String id_) { - return delete(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - default int insert(SysRoleSign row) { - return MyBatis3Utils.insert(this::insert, row, sysRoleSign, c -> - c.map(id).toProperty("id") - .map(sign_name).toProperty("sign_name") - .map(sign_code).toProperty("sign_code") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysRoleSign, c -> - c.map(id).toProperty("id") - .map(sign_name).toProperty("sign_name") - .map(sign_code).toProperty("sign_code") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - default int insertSelective(SysRoleSign row) { - return MyBatis3Utils.insert(this::insert, row, sysRoleSign, c -> - c.map(id).toPropertyWhenPresent("id", row::getId) - .map(sign_name).toPropertyWhenPresent("sign_name", row::getSign_name) - .map(sign_code).toPropertyWhenPresent("sign_code", row::getSign_code) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, sysRoleSign, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, sysRoleSign, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysRoleSign, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - default Optional selectByPrimaryKey(String id_) { - return selectOne(c -> - c.where(id, isEqualTo(id_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, sysRoleSign, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source Table: public.sys_role_sign") - static UpdateDSL updateAllColumns(SysRoleSign row, UpdateDSL dsl) { - return dsl.set(id).equalTo(row::getId) - .set(sign_name).equalTo(row::getSign_name) - .set(sign_code).equalTo(row::getSign_code); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source Table: public.sys_role_sign") - static UpdateDSL updateSelectiveColumns(SysRoleSign row, UpdateDSL dsl) { - return dsl.set(id).equalToWhenPresent(row::getId) - .set(sign_name).equalToWhenPresent(row::getSign_name) - .set(sign_code).equalToWhenPresent(row::getSign_code); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source Table: public.sys_role_sign") - default int updateByPrimaryKey(SysRoleSign row) { - return update(c -> - c.set(sign_name).equalTo(row::getSign_name) - .set(sign_code).equalTo(row::getSign_code) - .where(id, isEqualTo(row::getId)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source Table: public.sys_role_sign") - default int updateByPrimaryKeySelective(SysRoleSign row) { - return update(c -> - c.set(sign_name).equalToWhenPresent(row::getSign_name) - .set(sign_code).equalToWhenPresent(row::getSign_code) - .where(id, isEqualTo(row::getId)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleUrlMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleUrlMapper.java index b3ba4bb..d4a4d35 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleUrlMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleUrlMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3241506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") BasicColumn[] selectList = BasicColumn.columnList(id, roleid, url, urltypes); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source Table: yx..sys_role_url") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysRoleUrlResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -44,29 +44,29 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source Table: yx..sys_role_url") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysRoleUrlResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source Table: yx..sys_role_url") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") default int insert(SysRoleUrl row) { return MyBatis3Utils.insert(this::insert, row, sysRoleUrl, c -> c.map(id).toProperty("id") @@ -76,7 +76,7 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysRoleUrl, c -> c.map(id).toProperty("id") @@ -86,7 +86,7 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") default int insertSelective(SysRoleUrl row) { return MyBatis3Utils.insert(this::insert, row, sysRoleUrl, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -96,34 +96,34 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3241506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3241506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3241506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3241506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3241506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3241506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") static UpdateDSL updateAllColumns(SysRoleUrl row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(roleid).equalTo(row::getRoleid) @@ -131,7 +131,7 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, .set(urltypes).equalTo(row::getUrltypes); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3241506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") static UpdateDSL updateSelectiveColumns(SysRoleUrl row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(roleid).equalToWhenPresent(row::getRoleid) @@ -139,7 +139,7 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, .set(urltypes).equalToWhenPresent(row::getUrltypes); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3241506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") default int updateByPrimaryKey(SysRoleUrl row) { return update(c -> c.set(roleid).equalTo(row::getRoleid) @@ -149,7 +149,7 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3241506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source Table: yx..sys_role_url") default int updateByPrimaryKeySelective(SysRoleUrl row) { return update(c -> c.set(roleid).equalToWhenPresent(row::getRoleid) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysUrlsMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysUrlsMapper.java index 1fb8a42..1798098 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysUrlsMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysUrlsMapper.java @@ -31,14 +31,14 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") BasicColumn[] selectList = BasicColumn.columnList(id, pid, types, level, url, name, method); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source Table: yx..sys_urls") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysUrlsResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="pid", property="pid", jdbcType=JdbcType.VARCHAR), + @Result(column="pid", property="pid", jdbcType=JdbcType.INTEGER), @Result(column="types", property="types", jdbcType=JdbcType.INTEGER), @Result(column="level", property="level", jdbcType=JdbcType.INTEGER), @Result(column="url", property="url", jdbcType=JdbcType.VARCHAR), @@ -47,29 +47,29 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysUrlsResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") default int insert(SysUrls row) { return MyBatis3Utils.insert(this::insert, row, sysUrls, c -> c.map(id).toProperty("id") @@ -82,7 +82,7 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysUrls, c -> c.map(id).toProperty("id") @@ -95,7 +95,7 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") default int insertSelective(SysUrls row) { return MyBatis3Utils.insert(this::insert, row, sysUrls, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -108,34 +108,34 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") static UpdateDSL updateAllColumns(SysUrls row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(pid).equalTo(row::getPid) @@ -146,7 +146,7 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co .set(method).equalTo(row::getMethod); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") static UpdateDSL updateSelectiveColumns(SysUrls row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(pid).equalToWhenPresent(row::getPid) @@ -157,7 +157,7 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co .set(method).equalToWhenPresent(row::getMethod); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") default int updateByPrimaryKey(SysUrls row) { return update(c -> c.set(pid).equalTo(row::getPid) @@ -170,7 +170,7 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") default int updateByPrimaryKeySelective(SysUrls row) { return update(c -> c.set(pid).equalToWhenPresent(row::getPid) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/WbDirectoryFileMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/WbDirectoryFileMapper.java deleted file mode 100644 index eb2f23f..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/WbDirectoryFileMapper.java +++ /dev/null @@ -1,297 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.WbDirectoryFileDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.WbDirectoryFile; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface WbDirectoryFileMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source Table: public.wb_directory_file") - BasicColumn[] selectList = BasicColumn.columnList(kid, sortID, fileSuper, fileCount, dutyPerson, eWeaveDate, filePage, sortOrder, bPeg, ePeg, fileNum, remark, recordNum, pieceNumber, addDate, editDate, time_stamp, isDel, catalogPdfURL, signTag, collectTag); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source Table: public.wb_directory_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="WbDirectoryFileResult", value = { - @Result(column="kid", property="kid", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="sortID", property="sortID", jdbcType=JdbcType.VARCHAR), - @Result(column="fileSuper", property="fileSuper", jdbcType=JdbcType.VARCHAR), - @Result(column="fileCount", property="fileCount", jdbcType=JdbcType.INTEGER), - @Result(column="dutyPerson", property="dutyPerson", jdbcType=JdbcType.VARCHAR), - @Result(column="eWeaveDate", property="eWeaveDate", jdbcType=JdbcType.VARCHAR), - @Result(column="filePage", property="filePage", jdbcType=JdbcType.INTEGER), - @Result(column="sortOrder", property="sortOrder", jdbcType=JdbcType.VARCHAR), - @Result(column="bPeg", property="bPeg", jdbcType=JdbcType.VARCHAR), - @Result(column="ePeg", property="ePeg", jdbcType=JdbcType.VARCHAR), - @Result(column="fileNum", property="fileNum", jdbcType=JdbcType.VARCHAR), - @Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), - @Result(column="recordNum", property="recordNum", jdbcType=JdbcType.VARCHAR), - @Result(column="pieceNumber", property="pieceNumber", jdbcType=JdbcType.VARCHAR), - @Result(column="addDate", property="addDate", jdbcType=JdbcType.VARCHAR), - @Result(column="editDate", property="editDate", jdbcType=JdbcType.VARCHAR), - @Result(column="time_stamp", property="time_stamp", jdbcType=JdbcType.VARCHAR), - @Result(column="isDel", property="isDel", jdbcType=JdbcType.INTEGER), - @Result(column="catalogPdfURL", property="catalogPdfURL", jdbcType=JdbcType.VARCHAR), - @Result(column="signTag", property="signTag", jdbcType=JdbcType.VARCHAR), - @Result(column="collectTag", property="collectTag", jdbcType=JdbcType.VARCHAR) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source Table: public.wb_directory_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("WbDirectoryFileResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source Table: public.wb_directory_file") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, wbDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source Table: public.wb_directory_file") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, wbDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source Table: public.wb_directory_file") - default int deleteByPrimaryKey(String kid_) { - return delete(c -> - c.where(kid, isEqualTo(kid_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source Table: public.wb_directory_file") - default int insert(WbDirectoryFile row) { - return MyBatis3Utils.insert(this::insert, row, wbDirectoryFile, c -> - c.map(kid).toProperty("kid") - .map(sortID).toProperty("sortID") - .map(fileSuper).toProperty("fileSuper") - .map(fileCount).toProperty("fileCount") - .map(dutyPerson).toProperty("dutyPerson") - .map(eWeaveDate).toProperty("eWeaveDate") - .map(filePage).toProperty("filePage") - .map(sortOrder).toProperty("sortOrder") - .map(bPeg).toProperty("bPeg") - .map(ePeg).toProperty("ePeg") - .map(fileNum).toProperty("fileNum") - .map(remark).toProperty("remark") - .map(recordNum).toProperty("recordNum") - .map(pieceNumber).toProperty("pieceNumber") - .map(addDate).toProperty("addDate") - .map(editDate).toProperty("editDate") - .map(time_stamp).toProperty("time_stamp") - .map(isDel).toProperty("isDel") - .map(catalogPdfURL).toProperty("catalogPdfURL") - .map(signTag).toProperty("signTag") - .map(collectTag).toProperty("collectTag") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source Table: public.wb_directory_file") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, wbDirectoryFile, c -> - c.map(kid).toProperty("kid") - .map(sortID).toProperty("sortID") - .map(fileSuper).toProperty("fileSuper") - .map(fileCount).toProperty("fileCount") - .map(dutyPerson).toProperty("dutyPerson") - .map(eWeaveDate).toProperty("eWeaveDate") - .map(filePage).toProperty("filePage") - .map(sortOrder).toProperty("sortOrder") - .map(bPeg).toProperty("bPeg") - .map(ePeg).toProperty("ePeg") - .map(fileNum).toProperty("fileNum") - .map(remark).toProperty("remark") - .map(recordNum).toProperty("recordNum") - .map(pieceNumber).toProperty("pieceNumber") - .map(addDate).toProperty("addDate") - .map(editDate).toProperty("editDate") - .map(time_stamp).toProperty("time_stamp") - .map(isDel).toProperty("isDel") - .map(catalogPdfURL).toProperty("catalogPdfURL") - .map(signTag).toProperty("signTag") - .map(collectTag).toProperty("collectTag") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source Table: public.wb_directory_file") - default int insertSelective(WbDirectoryFile row) { - return MyBatis3Utils.insert(this::insert, row, wbDirectoryFile, c -> - c.map(kid).toPropertyWhenPresent("kid", row::getKid) - .map(sortID).toPropertyWhenPresent("sortID", row::getSortID) - .map(fileSuper).toPropertyWhenPresent("fileSuper", row::getFileSuper) - .map(fileCount).toPropertyWhenPresent("fileCount", row::getFileCount) - .map(dutyPerson).toPropertyWhenPresent("dutyPerson", row::getDutyPerson) - .map(eWeaveDate).toPropertyWhenPresent("eWeaveDate", row::geteWeaveDate) - .map(filePage).toPropertyWhenPresent("filePage", row::getFilePage) - .map(sortOrder).toPropertyWhenPresent("sortOrder", row::getSortOrder) - .map(bPeg).toPropertyWhenPresent("bPeg", row::getbPeg) - .map(ePeg).toPropertyWhenPresent("ePeg", row::getePeg) - .map(fileNum).toPropertyWhenPresent("fileNum", row::getFileNum) - .map(remark).toPropertyWhenPresent("remark", row::getRemark) - .map(recordNum).toPropertyWhenPresent("recordNum", row::getRecordNum) - .map(pieceNumber).toPropertyWhenPresent("pieceNumber", row::getPieceNumber) - .map(addDate).toPropertyWhenPresent("addDate", row::getAddDate) - .map(editDate).toPropertyWhenPresent("editDate", row::getEditDate) - .map(time_stamp).toPropertyWhenPresent("time_stamp", row::getTime_stamp) - .map(isDel).toPropertyWhenPresent("isDel", row::getIsDel) - .map(catalogPdfURL).toPropertyWhenPresent("catalogPdfURL", row::getCatalogPdfURL) - .map(signTag).toPropertyWhenPresent("signTag", row::getSignTag) - .map(collectTag).toPropertyWhenPresent("collectTag", row::getCollectTag) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source Table: public.wb_directory_file") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, wbDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source Table: public.wb_directory_file") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, wbDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source Table: public.wb_directory_file") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, wbDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source Table: public.wb_directory_file") - default Optional selectByPrimaryKey(String kid_) { - return selectOne(c -> - c.where(kid, isEqualTo(kid_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source Table: public.wb_directory_file") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, wbDirectoryFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source Table: public.wb_directory_file") - static UpdateDSL updateAllColumns(WbDirectoryFile row, UpdateDSL dsl) { - return dsl.set(kid).equalTo(row::getKid) - .set(sortID).equalTo(row::getSortID) - .set(fileSuper).equalTo(row::getFileSuper) - .set(fileCount).equalTo(row::getFileCount) - .set(dutyPerson).equalTo(row::getDutyPerson) - .set(eWeaveDate).equalTo(row::geteWeaveDate) - .set(filePage).equalTo(row::getFilePage) - .set(sortOrder).equalTo(row::getSortOrder) - .set(bPeg).equalTo(row::getbPeg) - .set(ePeg).equalTo(row::getePeg) - .set(fileNum).equalTo(row::getFileNum) - .set(remark).equalTo(row::getRemark) - .set(recordNum).equalTo(row::getRecordNum) - .set(pieceNumber).equalTo(row::getPieceNumber) - .set(addDate).equalTo(row::getAddDate) - .set(editDate).equalTo(row::getEditDate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isDel).equalTo(row::getIsDel) - .set(catalogPdfURL).equalTo(row::getCatalogPdfURL) - .set(signTag).equalTo(row::getSignTag) - .set(collectTag).equalTo(row::getCollectTag); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source Table: public.wb_directory_file") - static UpdateDSL updateSelectiveColumns(WbDirectoryFile row, UpdateDSL dsl) { - return dsl.set(kid).equalToWhenPresent(row::getKid) - .set(sortID).equalToWhenPresent(row::getSortID) - .set(fileSuper).equalToWhenPresent(row::getFileSuper) - .set(fileCount).equalToWhenPresent(row::getFileCount) - .set(dutyPerson).equalToWhenPresent(row::getDutyPerson) - .set(eWeaveDate).equalToWhenPresent(row::geteWeaveDate) - .set(filePage).equalToWhenPresent(row::getFilePage) - .set(sortOrder).equalToWhenPresent(row::getSortOrder) - .set(bPeg).equalToWhenPresent(row::getbPeg) - .set(ePeg).equalToWhenPresent(row::getePeg) - .set(fileNum).equalToWhenPresent(row::getFileNum) - .set(remark).equalToWhenPresent(row::getRemark) - .set(recordNum).equalToWhenPresent(row::getRecordNum) - .set(pieceNumber).equalToWhenPresent(row::getPieceNumber) - .set(addDate).equalToWhenPresent(row::getAddDate) - .set(editDate).equalToWhenPresent(row::getEditDate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isDel).equalToWhenPresent(row::getIsDel) - .set(catalogPdfURL).equalToWhenPresent(row::getCatalogPdfURL) - .set(signTag).equalToWhenPresent(row::getSignTag) - .set(collectTag).equalToWhenPresent(row::getCollectTag); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source Table: public.wb_directory_file") - default int updateByPrimaryKey(WbDirectoryFile row) { - return update(c -> - c.set(sortID).equalTo(row::getSortID) - .set(fileSuper).equalTo(row::getFileSuper) - .set(fileCount).equalTo(row::getFileCount) - .set(dutyPerson).equalTo(row::getDutyPerson) - .set(eWeaveDate).equalTo(row::geteWeaveDate) - .set(filePage).equalTo(row::getFilePage) - .set(sortOrder).equalTo(row::getSortOrder) - .set(bPeg).equalTo(row::getbPeg) - .set(ePeg).equalTo(row::getePeg) - .set(fileNum).equalTo(row::getFileNum) - .set(remark).equalTo(row::getRemark) - .set(recordNum).equalTo(row::getRecordNum) - .set(pieceNumber).equalTo(row::getPieceNumber) - .set(addDate).equalTo(row::getAddDate) - .set(editDate).equalTo(row::getEditDate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isDel).equalTo(row::getIsDel) - .set(catalogPdfURL).equalTo(row::getCatalogPdfURL) - .set(signTag).equalTo(row::getSignTag) - .set(collectTag).equalTo(row::getCollectTag) - .where(kid, isEqualTo(row::getKid)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source Table: public.wb_directory_file") - default int updateByPrimaryKeySelective(WbDirectoryFile row) { - return update(c -> - c.set(sortID).equalToWhenPresent(row::getSortID) - .set(fileSuper).equalToWhenPresent(row::getFileSuper) - .set(fileCount).equalToWhenPresent(row::getFileCount) - .set(dutyPerson).equalToWhenPresent(row::getDutyPerson) - .set(eWeaveDate).equalToWhenPresent(row::geteWeaveDate) - .set(filePage).equalToWhenPresent(row::getFilePage) - .set(sortOrder).equalToWhenPresent(row::getSortOrder) - .set(bPeg).equalToWhenPresent(row::getbPeg) - .set(ePeg).equalToWhenPresent(row::getePeg) - .set(fileNum).equalToWhenPresent(row::getFileNum) - .set(remark).equalToWhenPresent(row::getRemark) - .set(recordNum).equalToWhenPresent(row::getRecordNum) - .set(pieceNumber).equalToWhenPresent(row::getPieceNumber) - .set(addDate).equalToWhenPresent(row::getAddDate) - .set(editDate).equalToWhenPresent(row::getEditDate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isDel).equalToWhenPresent(row::getIsDel) - .set(catalogPdfURL).equalToWhenPresent(row::getCatalogPdfURL) - .set(signTag).equalToWhenPresent(row::getSignTag) - .set(collectTag).equalToWhenPresent(row::getCollectTag) - .where(kid, isEqualTo(row::getKid)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/WbDirectoryMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/WbDirectoryMapper.java deleted file mode 100644 index 6bdf8a8..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/WbDirectoryMapper.java +++ /dev/null @@ -1,193 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.WbDirectoryDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.WbDirectory; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface WbDirectoryMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - BasicColumn[] selectList = BasicColumn.columnList(kid, parentID, time_stamp, sortOrder, tname, subjoin, isdel, wbs_id); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source Table: public.wb_directory") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="WbDirectoryResult", value = { - @Result(column="kid", property="kid", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="parentID", property="parentID", jdbcType=JdbcType.VARCHAR), - @Result(column="time_stamp", property="time_stamp", jdbcType=JdbcType.VARCHAR), - @Result(column="sortOrder", property="sortOrder", jdbcType=JdbcType.INTEGER), - @Result(column="tname", property="tname", jdbcType=JdbcType.VARCHAR), - @Result(column="subjoin", property="subjoin", jdbcType=JdbcType.INTEGER), - @Result(column="isdel", property="isdel", jdbcType=JdbcType.INTEGER), - @Result(column="wbs_id", property="wbs_id", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source Table: public.wb_directory") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("WbDirectoryResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source Table: public.wb_directory") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, wbDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source Table: public.wb_directory") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, wbDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source Table: public.wb_directory") - default int deleteByPrimaryKey(String kid_) { - return delete(c -> - c.where(kid, isEqualTo(kid_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source Table: public.wb_directory") - default int insert(WbDirectory row) { - return MyBatis3Utils.insert(this::insert, row, wbDirectory, c -> - c.map(kid).toProperty("kid") - .map(parentID).toProperty("parentID") - .map(time_stamp).toProperty("time_stamp") - .map(sortOrder).toProperty("sortOrder") - .map(tname).toProperty("tname") - .map(subjoin).toProperty("subjoin") - .map(isdel).toProperty("isdel") - .map(wbs_id).toProperty("wbs_id") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, wbDirectory, c -> - c.map(kid).toProperty("kid") - .map(parentID).toProperty("parentID") - .map(time_stamp).toProperty("time_stamp") - .map(sortOrder).toProperty("sortOrder") - .map(tname).toProperty("tname") - .map(subjoin).toProperty("subjoin") - .map(isdel).toProperty("isdel") - .map(wbs_id).toProperty("wbs_id") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - default int insertSelective(WbDirectory row) { - return MyBatis3Utils.insert(this::insert, row, wbDirectory, c -> - c.map(kid).toPropertyWhenPresent("kid", row::getKid) - .map(parentID).toPropertyWhenPresent("parentID", row::getParentID) - .map(time_stamp).toPropertyWhenPresent("time_stamp", row::getTime_stamp) - .map(sortOrder).toPropertyWhenPresent("sortOrder", row::getSortOrder) - .map(tname).toPropertyWhenPresent("tname", row::getTname) - .map(subjoin).toPropertyWhenPresent("subjoin", row::getSubjoin) - .map(isdel).toPropertyWhenPresent("isdel", row::getIsdel) - .map(wbs_id).toPropertyWhenPresent("wbs_id", row::getWbs_id) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, wbDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, wbDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, wbDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - default Optional selectByPrimaryKey(String kid_) { - return selectOne(c -> - c.where(kid, isEqualTo(kid_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, wbDirectory, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - static UpdateDSL updateAllColumns(WbDirectory row, UpdateDSL dsl) { - return dsl.set(kid).equalTo(row::getKid) - .set(parentID).equalTo(row::getParentID) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(sortOrder).equalTo(row::getSortOrder) - .set(tname).equalTo(row::getTname) - .set(subjoin).equalTo(row::getSubjoin) - .set(isdel).equalTo(row::getIsdel) - .set(wbs_id).equalTo(row::getWbs_id); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - static UpdateDSL updateSelectiveColumns(WbDirectory row, UpdateDSL dsl) { - return dsl.set(kid).equalToWhenPresent(row::getKid) - .set(parentID).equalToWhenPresent(row::getParentID) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(sortOrder).equalToWhenPresent(row::getSortOrder) - .set(tname).equalToWhenPresent(row::getTname) - .set(subjoin).equalToWhenPresent(row::getSubjoin) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(wbs_id).equalToWhenPresent(row::getWbs_id); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - default int updateByPrimaryKey(WbDirectory row) { - return update(c -> - c.set(parentID).equalTo(row::getParentID) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(sortOrder).equalTo(row::getSortOrder) - .set(tname).equalTo(row::getTname) - .set(subjoin).equalTo(row::getSubjoin) - .set(isdel).equalTo(row::getIsdel) - .set(wbs_id).equalTo(row::getWbs_id) - .where(kid, isEqualTo(row::getKid)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6361484+08:00", comments="Source Table: public.wb_directory") - default int updateByPrimaryKeySelective(WbDirectory row) { - return update(c -> - c.set(parentID).equalToWhenPresent(row::getParentID) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(sortOrder).equalToWhenPresent(row::getSortOrder) - .set(tname).equalToWhenPresent(row::getTname) - .set(subjoin).equalToWhenPresent(row::getSubjoin) - .set(isdel).equalToWhenPresent(row::getIsdel) - .set(wbs_id).equalToWhenPresent(row::getWbs_id) - .where(kid, isEqualTo(row::getKid)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/WbFileMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/WbFileMapper.java deleted file mode 100644 index 56d027d..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/WbFileMapper.java +++ /dev/null @@ -1,265 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao; - -import static jj.tech.paolu.repository.mybatis.dao.support.WbFileDynamicSqlSupport.*; -import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; - -import jakarta.annotation.Generated; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import jj.tech.paolu.repository.mybatis.entity.WbFile; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.ResultMap; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.SelectProvider; -import org.apache.ibatis.type.JdbcType; -import org.mybatis.dynamic.sql.BasicColumn; -import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; -import org.mybatis.dynamic.sql.select.CountDSLCompleter; -import org.mybatis.dynamic.sql.select.SelectDSLCompleter; -import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; -import org.mybatis.dynamic.sql.update.UpdateDSL; -import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; -import org.mybatis.dynamic.sql.update.UpdateModel; -import org.mybatis.dynamic.sql.util.SqlProviderAdapter; -import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; -import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; -import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; - -@Mapper -public interface WbFileMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6218407+08:00", comments="Source Table: public.wb_file") - BasicColumn[] selectList = BasicColumn.columnList(kid, catalogID, tableName, annexName, projectName, eweaveDate, checkDate, annexPage, sortOrder, fileFrom, archivestag, addDate, editDate, time_stamp, isDel, downURL, filesize); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6138244+08:00", comments="Source Table: public.wb_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @Results(id="WbFileResult", value = { - @Result(column="kid", property="kid", jdbcType=JdbcType.VARCHAR, id=true), - @Result(column="catalogID", property="catalogID", jdbcType=JdbcType.VARCHAR), - @Result(column="tableName", property="tableName", jdbcType=JdbcType.VARCHAR), - @Result(column="annexName", property="annexName", jdbcType=JdbcType.VARCHAR), - @Result(column="projectName", property="projectName", jdbcType=JdbcType.VARCHAR), - @Result(column="eweaveDate", property="eweaveDate", jdbcType=JdbcType.VARCHAR), - @Result(column="checkDate", property="checkDate", jdbcType=JdbcType.VARCHAR), - @Result(column="annexPage", property="annexPage", jdbcType=JdbcType.INTEGER), - @Result(column="sortOrder", property="sortOrder", jdbcType=JdbcType.VARCHAR), - @Result(column="fileFrom", property="fileFrom", jdbcType=JdbcType.VARCHAR), - @Result(column="archivestag", property="archivestag", jdbcType=JdbcType.VARCHAR), - @Result(column="addDate", property="addDate", jdbcType=JdbcType.VARCHAR), - @Result(column="editDate", property="editDate", jdbcType=JdbcType.VARCHAR), - @Result(column="time_stamp", property="time_stamp", jdbcType=JdbcType.VARCHAR), - @Result(column="isDel", property="isDel", jdbcType=JdbcType.INTEGER), - @Result(column="downURL", property="downURL", jdbcType=JdbcType.VARCHAR), - @Result(column="filesize", property="filesize", jdbcType=JdbcType.INTEGER) - }) - List selectMany(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6148503+08:00", comments="Source Table: public.wb_file") - @SelectProvider(type=SqlProviderAdapter.class, method="select") - @ResultMap("WbFileResult") - Optional selectOne(SelectStatementProvider selectStatement); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6160923+08:00", comments="Source Table: public.wb_file") - default long count(CountDSLCompleter completer) { - return MyBatis3Utils.countFrom(this::count, wbFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6160923+08:00", comments="Source Table: public.wb_file") - default int delete(DeleteDSLCompleter completer) { - return MyBatis3Utils.deleteFrom(this::delete, wbFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6160923+08:00", comments="Source Table: public.wb_file") - default int deleteByPrimaryKey(String kid_) { - return delete(c -> - c.where(kid, isEqualTo(kid_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.617095+08:00", comments="Source Table: public.wb_file") - default int insert(WbFile row) { - return MyBatis3Utils.insert(this::insert, row, wbFile, c -> - c.map(kid).toProperty("kid") - .map(catalogID).toProperty("catalogID") - .map(tableName).toProperty("tableName") - .map(annexName).toProperty("annexName") - .map(projectName).toProperty("projectName") - .map(eweaveDate).toProperty("eweaveDate") - .map(checkDate).toProperty("checkDate") - .map(annexPage).toProperty("annexPage") - .map(sortOrder).toProperty("sortOrder") - .map(fileFrom).toProperty("fileFrom") - .map(archivestag).toProperty("archivestag") - .map(addDate).toProperty("addDate") - .map(editDate).toProperty("editDate") - .map(time_stamp).toProperty("time_stamp") - .map(isDel).toProperty("isDel") - .map(downURL).toProperty("downURL") - .map(filesize).toProperty("filesize") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6196474+08:00", comments="Source Table: public.wb_file") - default int insertMultiple(Collection records) { - return MyBatis3Utils.insertMultiple(this::insertMultiple, records, wbFile, c -> - c.map(kid).toProperty("kid") - .map(catalogID).toProperty("catalogID") - .map(tableName).toProperty("tableName") - .map(annexName).toProperty("annexName") - .map(projectName).toProperty("projectName") - .map(eweaveDate).toProperty("eweaveDate") - .map(checkDate).toProperty("checkDate") - .map(annexPage).toProperty("annexPage") - .map(sortOrder).toProperty("sortOrder") - .map(fileFrom).toProperty("fileFrom") - .map(archivestag).toProperty("archivestag") - .map(addDate).toProperty("addDate") - .map(editDate).toProperty("editDate") - .map(time_stamp).toProperty("time_stamp") - .map(isDel).toProperty("isDel") - .map(downURL).toProperty("downURL") - .map(filesize).toProperty("filesize") - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6207111+08:00", comments="Source Table: public.wb_file") - default int insertSelective(WbFile row) { - return MyBatis3Utils.insert(this::insert, row, wbFile, c -> - c.map(kid).toPropertyWhenPresent("kid", row::getKid) - .map(catalogID).toPropertyWhenPresent("catalogID", row::getCatalogID) - .map(tableName).toPropertyWhenPresent("tableName", row::getTableName) - .map(annexName).toPropertyWhenPresent("annexName", row::getAnnexName) - .map(projectName).toPropertyWhenPresent("projectName", row::getProjectName) - .map(eweaveDate).toPropertyWhenPresent("eweaveDate", row::getEweaveDate) - .map(checkDate).toPropertyWhenPresent("checkDate", row::getCheckDate) - .map(annexPage).toPropertyWhenPresent("annexPage", row::getAnnexPage) - .map(sortOrder).toPropertyWhenPresent("sortOrder", row::getSortOrder) - .map(fileFrom).toPropertyWhenPresent("fileFrom", row::getFileFrom) - .map(archivestag).toPropertyWhenPresent("archivestag", row::getArchivestag) - .map(addDate).toPropertyWhenPresent("addDate", row::getAddDate) - .map(editDate).toPropertyWhenPresent("editDate", row::getEditDate) - .map(time_stamp).toPropertyWhenPresent("time_stamp", row::getTime_stamp) - .map(isDel).toPropertyWhenPresent("isDel", row::getIsDel) - .map(downURL).toPropertyWhenPresent("downURL", row::getDownURL) - .map(filesize).toPropertyWhenPresent("filesize", row::getFilesize) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6228401+08:00", comments="Source Table: public.wb_file") - default Optional selectOne(SelectDSLCompleter completer) { - return MyBatis3Utils.selectOne(this::selectOne, selectList, wbFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6228401+08:00", comments="Source Table: public.wb_file") - default List select(SelectDSLCompleter completer) { - return MyBatis3Utils.selectList(this::selectMany, selectList, wbFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6238402+08:00", comments="Source Table: public.wb_file") - default List selectDistinct(SelectDSLCompleter completer) { - return MyBatis3Utils.selectDistinct(this::selectMany, selectList, wbFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6238402+08:00", comments="Source Table: public.wb_file") - default Optional selectByPrimaryKey(String kid_) { - return selectOne(c -> - c.where(kid, isEqualTo(kid_)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6248402+08:00", comments="Source Table: public.wb_file") - default int update(UpdateDSLCompleter completer) { - return MyBatis3Utils.update(this::update, wbFile, completer); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6248402+08:00", comments="Source Table: public.wb_file") - static UpdateDSL updateAllColumns(WbFile row, UpdateDSL dsl) { - return dsl.set(kid).equalTo(row::getKid) - .set(catalogID).equalTo(row::getCatalogID) - .set(tableName).equalTo(row::getTableName) - .set(annexName).equalTo(row::getAnnexName) - .set(projectName).equalTo(row::getProjectName) - .set(eweaveDate).equalTo(row::getEweaveDate) - .set(checkDate).equalTo(row::getCheckDate) - .set(annexPage).equalTo(row::getAnnexPage) - .set(sortOrder).equalTo(row::getSortOrder) - .set(fileFrom).equalTo(row::getFileFrom) - .set(archivestag).equalTo(row::getArchivestag) - .set(addDate).equalTo(row::getAddDate) - .set(editDate).equalTo(row::getEditDate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isDel).equalTo(row::getIsDel) - .set(downURL).equalTo(row::getDownURL) - .set(filesize).equalTo(row::getFilesize); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6259921+08:00", comments="Source Table: public.wb_file") - static UpdateDSL updateSelectiveColumns(WbFile row, UpdateDSL dsl) { - return dsl.set(kid).equalToWhenPresent(row::getKid) - .set(catalogID).equalToWhenPresent(row::getCatalogID) - .set(tableName).equalToWhenPresent(row::getTableName) - .set(annexName).equalToWhenPresent(row::getAnnexName) - .set(projectName).equalToWhenPresent(row::getProjectName) - .set(eweaveDate).equalToWhenPresent(row::getEweaveDate) - .set(checkDate).equalToWhenPresent(row::getCheckDate) - .set(annexPage).equalToWhenPresent(row::getAnnexPage) - .set(sortOrder).equalToWhenPresent(row::getSortOrder) - .set(fileFrom).equalToWhenPresent(row::getFileFrom) - .set(archivestag).equalToWhenPresent(row::getArchivestag) - .set(addDate).equalToWhenPresent(row::getAddDate) - .set(editDate).equalToWhenPresent(row::getEditDate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isDel).equalToWhenPresent(row::getIsDel) - .set(downURL).equalToWhenPresent(row::getDownURL) - .set(filesize).equalToWhenPresent(row::getFilesize); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6259921+08:00", comments="Source Table: public.wb_file") - default int updateByPrimaryKey(WbFile row) { - return update(c -> - c.set(catalogID).equalTo(row::getCatalogID) - .set(tableName).equalTo(row::getTableName) - .set(annexName).equalTo(row::getAnnexName) - .set(projectName).equalTo(row::getProjectName) - .set(eweaveDate).equalTo(row::getEweaveDate) - .set(checkDate).equalTo(row::getCheckDate) - .set(annexPage).equalTo(row::getAnnexPage) - .set(sortOrder).equalTo(row::getSortOrder) - .set(fileFrom).equalTo(row::getFileFrom) - .set(archivestag).equalTo(row::getArchivestag) - .set(addDate).equalTo(row::getAddDate) - .set(editDate).equalTo(row::getEditDate) - .set(time_stamp).equalTo(row::getTime_stamp) - .set(isDel).equalTo(row::getIsDel) - .set(downURL).equalTo(row::getDownURL) - .set(filesize).equalTo(row::getFilesize) - .where(kid, isEqualTo(row::getKid)) - ); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6272922+08:00", comments="Source Table: public.wb_file") - default int updateByPrimaryKeySelective(WbFile row) { - return update(c -> - c.set(catalogID).equalToWhenPresent(row::getCatalogID) - .set(tableName).equalToWhenPresent(row::getTableName) - .set(annexName).equalToWhenPresent(row::getAnnexName) - .set(projectName).equalToWhenPresent(row::getProjectName) - .set(eweaveDate).equalToWhenPresent(row::getEweaveDate) - .set(checkDate).equalToWhenPresent(row::getCheckDate) - .set(annexPage).equalToWhenPresent(row::getAnnexPage) - .set(sortOrder).equalToWhenPresent(row::getSortOrder) - .set(fileFrom).equalToWhenPresent(row::getFileFrom) - .set(archivestag).equalToWhenPresent(row::getArchivestag) - .set(addDate).equalToWhenPresent(row::getAddDate) - .set(editDate).equalToWhenPresent(row::getEditDate) - .set(time_stamp).equalToWhenPresent(row::getTime_stamp) - .set(isDel).equalToWhenPresent(row::getIsDel) - .set(downURL).equalToWhenPresent(row::getDownURL) - .set(filesize).equalToWhenPresent(row::getFilesize) - .where(kid, isEqualTo(row::getKid)) - ); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ArchiveSynLogDetailDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ArchiveSynLogDetailDynamicSqlSupport.java deleted file mode 100644 index c81f8b6..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ArchiveSynLogDetailDynamicSqlSupport.java +++ /dev/null @@ -1,49 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class ArchiveSynLogDetailDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6447124+08:00", comments="Source Table: public.archive_syn_log_detail") - public static final ArchiveSynLogDetail archiveSynLogDetail = new ArchiveSynLogDetail(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6457121+08:00", comments="Source field: public.archive_syn_log_detail.id") - public static final SqlColumn id = archiveSynLogDetail.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6467116+08:00", comments="Source field: public.archive_syn_log_detail.node_id") - public static final SqlColumn node_id = archiveSynLogDetail.node_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6467116+08:00", comments="Source field: public.archive_syn_log_detail.note_type") - public static final SqlColumn note_type = archiveSynLogDetail.note_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6467116+08:00", comments="Source field: public.archive_syn_log_detail.process_type") - public static final SqlColumn process_type = archiveSynLogDetail.process_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6467116+08:00", comments="Source field: public.archive_syn_log_detail.create_time") - public static final SqlColumn create_time = archiveSynLogDetail.create_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6467116+08:00", comments="Source field: public.archive_syn_log_detail.log_id") - public static final SqlColumn log_id = archiveSynLogDetail.log_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6457121+08:00", comments="Source Table: public.archive_syn_log_detail") - public static final class ArchiveSynLogDetail extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn node_id = column("node_id", JDBCType.VARCHAR); - - public final SqlColumn note_type = column("note_type", JDBCType.INTEGER); - - public final SqlColumn process_type = column("process_type", JDBCType.INTEGER); - - public final SqlColumn create_time = column("create_time", JDBCType.TIMESTAMP); - - public final SqlColumn log_id = column("log_id", JDBCType.VARCHAR); - - public ArchiveSynLogDetail() { - super("archive_syn_log_detail", ArchiveSynLogDetail::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ArchiveSynLogDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ArchiveSynLogDynamicSqlSupport.java deleted file mode 100644 index 44b06ee..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ArchiveSynLogDynamicSqlSupport.java +++ /dev/null @@ -1,84 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class ArchiveSynLogDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source Table: public.archive_syn_log") - public static final ArchiveSynLog archiveSynLog = new ArchiveSynLog(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.id") - public static final SqlColumn id = archiveSynLog.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.start_time") - public static final SqlColumn start_time = archiveSynLog.start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.insert_dir_count") - public static final SqlColumn insert_dir_count = archiveSynLog.insert_dir_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.update_dir_count") - public static final SqlColumn update_dir_count = archiveSynLog.update_dir_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.insert_dirfile_count") - public static final SqlColumn insert_dirfile_count = archiveSynLog.insert_dirfile_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.update_dirfile_count") - public static final SqlColumn update_dirfile_count = archiveSynLog.update_dirfile_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.insert_file_count") - public static final SqlColumn insert_file_count = archiveSynLog.insert_file_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.update_file_count") - public static final SqlColumn update_file_count = archiveSynLog.update_file_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.description") - public static final SqlColumn description = archiveSynLog.description; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.run_result") - public static final SqlColumn run_result = archiveSynLog.run_result; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.update_timestamp") - public static final SqlColumn update_timestamp = archiveSynLog.update_timestamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.next_update_timestamp") - public static final SqlColumn next_update_timestamp = archiveSynLog.next_update_timestamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.end_time") - public static final SqlColumn end_time = archiveSynLog.end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source Table: public.archive_syn_log") - public static final class ArchiveSynLog extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn start_time = column("start_time", JDBCType.TIMESTAMP); - - public final SqlColumn insert_dir_count = column("insert_dir_count", JDBCType.BIGINT); - - public final SqlColumn update_dir_count = column("update_dir_count", JDBCType.BIGINT); - - public final SqlColumn insert_dirfile_count = column("insert_dirfile_count", JDBCType.BIGINT); - - public final SqlColumn update_dirfile_count = column("update_dirfile_count", JDBCType.BIGINT); - - public final SqlColumn insert_file_count = column("insert_file_count", JDBCType.BIGINT); - - public final SqlColumn update_file_count = column("update_file_count", JDBCType.BIGINT); - - public final SqlColumn description = column("description", JDBCType.VARCHAR); - - public final SqlColumn run_result = column("run_result", JDBCType.VARCHAR); - - public final SqlColumn update_timestamp = column("update_timestamp", JDBCType.BIGINT); - - public final SqlColumn next_update_timestamp = column("next_update_timestamp", JDBCType.BIGINT); - - public final SqlColumn end_time = column("end_time", JDBCType.TIMESTAMP); - - public ArchiveSynLog() { - super("archive_syn_log", ArchiveSynLog::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ArchiveSynTimestampDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ArchiveSynTimestampDynamicSqlSupport.java deleted file mode 100644 index 52e01a4..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ArchiveSynTimestampDynamicSqlSupport.java +++ /dev/null @@ -1,33 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class ArchiveSynTimestampDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.701534+08:00", comments="Source Table: public.archive_syn_timestamp") - public static final ArchiveSynTimestamp archiveSynTimestamp = new ArchiveSynTimestamp(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7026373+08:00", comments="Source field: public.archive_syn_timestamp.node_id") - public static final SqlColumn node_id = archiveSynTimestamp.node_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7026373+08:00", comments="Source field: public.archive_syn_timestamp.node_type") - public static final SqlColumn node_type = archiveSynTimestamp.node_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7026373+08:00", comments="Source field: public.archive_syn_timestamp.timestamp") - public static final SqlColumn timestamp = archiveSynTimestamp.timestamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.7026373+08:00", comments="Source Table: public.archive_syn_timestamp") - public static final class ArchiveSynTimestamp extends AliasableSqlTable { - public final SqlColumn node_id = column("node_id", JDBCType.VARCHAR); - - public final SqlColumn node_type = column("node_type", JDBCType.INTEGER); - - public final SqlColumn timestamp = column("timestamp", JDBCType.VARCHAR); - - public ArchiveSynTimestamp() { - super("archive_syn_timestamp", ArchiveSynTimestamp::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CertificateApplyDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CertificateApplyDynamicSqlSupport.java deleted file mode 100644 index 3e5487a..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CertificateApplyDynamicSqlSupport.java +++ /dev/null @@ -1,104 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class CertificateApplyDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - public static final CertificateApply certificateApply = new CertificateApply(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.id") - public static final SqlColumn id = certificateApply.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.is_org") - public static final SqlColumn is_org = certificateApply.is_org; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.user_id") - public static final SqlColumn user_id = certificateApply.user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.user_name") - public static final SqlColumn user_name = certificateApply.user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.user_real_name") - public static final SqlColumn user_real_name = certificateApply.user_real_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.user_phone") - public static final SqlColumn user_phone = certificateApply.user_phone; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.user_org_id") - public static final SqlColumn user_org_id = certificateApply.user_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.user_org_name") - public static final SqlColumn user_org_name = certificateApply.user_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.apply_type") - public static final SqlColumn apply_type = certificateApply.apply_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.status") - public static final SqlColumn status = certificateApply.status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.apply_time") - public static final SqlColumn apply_time = certificateApply.apply_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.apply_finish_time") - public static final SqlColumn apply_finish_time = certificateApply.apply_finish_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.apply_reason") - public static final SqlColumn apply_reason = certificateApply.apply_reason; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.next_check_org_id") - public static final SqlColumn next_check_org_id = certificateApply.next_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.end_check_org_id") - public static final SqlColumn end_check_org_id = certificateApply.end_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.cer_id") - public static final SqlColumn cer_id = certificateApply.cer_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source field: public.certificate_apply.company_id") - public static final SqlColumn company_id = certificateApply.company_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3111488+08:00", comments="Source Table: public.certificate_apply") - public static final class CertificateApply extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn is_org = column("is_org", JDBCType.INTEGER); - - public final SqlColumn user_id = column("user_id", JDBCType.VARCHAR); - - public final SqlColumn user_name = column("user_name", JDBCType.VARCHAR); - - public final SqlColumn user_real_name = column("user_real_name", JDBCType.VARCHAR); - - public final SqlColumn user_phone = column("user_phone", JDBCType.VARCHAR); - - public final SqlColumn user_org_id = column("user_org_id", JDBCType.VARCHAR); - - public final SqlColumn user_org_name = column("user_org_name", JDBCType.VARCHAR); - - public final SqlColumn apply_type = column("apply_type", JDBCType.INTEGER); - - public final SqlColumn status = column("status", JDBCType.INTEGER); - - public final SqlColumn apply_time = column("apply_time", JDBCType.TIMESTAMP); - - public final SqlColumn apply_finish_time = column("apply_finish_time", JDBCType.TIMESTAMP); - - public final SqlColumn apply_reason = column("apply_reason", JDBCType.VARCHAR); - - public final SqlColumn next_check_org_id = column("next_check_org_id", JDBCType.VARCHAR); - - public final SqlColumn end_check_org_id = column("end_check_org_id", JDBCType.VARCHAR); - - public final SqlColumn cer_id = column("cer_id", JDBCType.VARCHAR); - - public final SqlColumn company_id = column("company_id", JDBCType.VARCHAR); - - public CertificateApply() { - super("certificate_apply", CertificateApply::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CertificateApplyRecordDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CertificateApplyRecordDynamicSqlSupport.java deleted file mode 100644 index 17f261d..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CertificateApplyRecordDynamicSqlSupport.java +++ /dev/null @@ -1,94 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class CertificateApplyRecordDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - public static final CertificateApplyRecord certificateApplyRecord = new CertificateApplyRecord(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.id") - public static final SqlColumn id = certificateApplyRecord.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_id") - public static final SqlColumn certificate_apply_id = certificateApplyRecord.certificate_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_user_id") - public static final SqlColumn certificate_apply_user_id = certificateApplyRecord.certificate_apply_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_user_org_id") - public static final SqlColumn certificate_apply_user_org_id = certificateApplyRecord.certificate_apply_user_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.is_org") - public static final SqlColumn is_org = certificateApplyRecord.is_org; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.apply_type") - public static final SqlColumn apply_type = certificateApplyRecord.apply_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.check_user_id") - public static final SqlColumn check_user_id = certificateApplyRecord.check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.check_user_name") - public static final SqlColumn check_user_name = certificateApplyRecord.check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.check_org_id") - public static final SqlColumn check_org_id = certificateApplyRecord.check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.check_org_name") - public static final SqlColumn check_org_name = certificateApplyRecord.check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.check_describe") - public static final SqlColumn check_describe = certificateApplyRecord.check_describe; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.check_status") - public static final SqlColumn check_status = certificateApplyRecord.check_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.check_time") - public static final SqlColumn check_time = certificateApplyRecord.check_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.next_check_org_id") - public static final SqlColumn next_check_org_id = certificateApplyRecord.next_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source field: public.certificate_apply_record.next_check_org_name") - public static final SqlColumn next_check_org_name = certificateApplyRecord.next_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3071473+08:00", comments="Source Table: public.certificate_apply_record") - public static final class CertificateApplyRecord extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn certificate_apply_id = column("certificate_apply_id", JDBCType.VARCHAR); - - public final SqlColumn certificate_apply_user_id = column("certificate_apply_user_id", JDBCType.VARCHAR); - - public final SqlColumn certificate_apply_user_org_id = column("certificate_apply_user_org_id", JDBCType.VARCHAR); - - public final SqlColumn is_org = column("is_org", JDBCType.INTEGER); - - public final SqlColumn apply_type = column("apply_type", JDBCType.INTEGER); - - public final SqlColumn check_user_id = column("check_user_id", JDBCType.VARCHAR); - - public final SqlColumn check_user_name = column("check_user_name", JDBCType.VARCHAR); - - public final SqlColumn check_org_id = column("check_org_id", JDBCType.VARCHAR); - - public final SqlColumn check_org_name = column("check_org_name", JDBCType.VARCHAR); - - public final SqlColumn check_describe = column("check_describe", JDBCType.VARCHAR); - - public final SqlColumn check_status = column("check_status", JDBCType.INTEGER); - - public final SqlColumn check_time = column("check_time", JDBCType.TIMESTAMP); - - public final SqlColumn next_check_org_id = column("next_check_org_id", JDBCType.VARCHAR); - - public final SqlColumn next_check_org_name = column("next_check_org_name", JDBCType.VARCHAR); - - public CertificateApplyRecord() { - super("certificate_apply_record", CertificateApplyRecord::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CertificateDetailDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CertificateDetailDynamicSqlSupport.java deleted file mode 100644 index 9c5d3e2..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CertificateDetailDynamicSqlSupport.java +++ /dev/null @@ -1,89 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class CertificateDetailDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source Table: public.certificate_detail") - public static final CertificateDetail certificateDetail = new CertificateDetail(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.id") - public static final SqlColumn id = certificateDetail.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.certificate_apply_id") - public static final SqlColumn certificate_apply_id = certificateDetail.certificate_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.work_start_time") - public static final SqlColumn work_start_time = certificateDetail.work_start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.work_end_time") - public static final SqlColumn work_end_time = certificateDetail.work_end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.status") - public static final SqlColumn status = certificateDetail.status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.cert_file_content") - public static final SqlColumn cert_file_content = certificateDetail.cert_file_content; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.is_up_chain") - public static final SqlColumn is_up_chain = certificateDetail.is_up_chain; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.weid") - public static final SqlColumn weid = certificateDetail.weid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.private_key_hex_str") - public static final SqlColumn private_key_hex_str = certificateDetail.private_key_hex_str; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_serial_number") - public static final SqlColumn x509_serial_number = certificateDetail.x509_serial_number; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_subject") - public static final SqlColumn x509_subject = certificateDetail.x509_subject; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_issuer") - public static final SqlColumn x509_issuer = certificateDetail.x509_issuer; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source field: public.certificate_detail.x509_public_key") - public static final SqlColumn x509_public_key = certificateDetail.x509_public_key; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2991516+08:00", comments="Source field: public.certificate_detail.x509_sig_alg_name") - public static final SqlColumn x509_sig_alg_name = certificateDetail.x509_sig_alg_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source Table: public.certificate_detail") - public static final class CertificateDetail extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn certificate_apply_id = column("certificate_apply_id", JDBCType.VARCHAR); - - public final SqlColumn work_start_time = column("work_start_time", JDBCType.TIMESTAMP); - - public final SqlColumn work_end_time = column("work_end_time", JDBCType.TIMESTAMP); - - public final SqlColumn status = column("status", JDBCType.INTEGER); - - public final SqlColumn cert_file_content = column("cert_file_content", JDBCType.VARCHAR); - - public final SqlColumn is_up_chain = column("is_up_chain", JDBCType.INTEGER); - - public final SqlColumn weid = column("weid", JDBCType.VARCHAR); - - public final SqlColumn private_key_hex_str = column("private_key_hex_str", JDBCType.VARCHAR); - - public final SqlColumn x509_serial_number = column("x509_serial_number", JDBCType.VARCHAR); - - public final SqlColumn x509_subject = column("x509_subject", JDBCType.VARCHAR); - - public final SqlColumn x509_issuer = column("x509_issuer", JDBCType.VARCHAR); - - public final SqlColumn x509_public_key = column("x509_public_key", JDBCType.VARCHAR); - - public final SqlColumn x509_sig_alg_name = column("x509_sig_alg_name", JDBCType.VARCHAR); - - public CertificateDetail() { - super("certificate_detail", CertificateDetail::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/DecryptLogDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/DecryptLogDynamicSqlSupport.java deleted file mode 100644 index 0db222f..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/DecryptLogDynamicSqlSupport.java +++ /dev/null @@ -1,96 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class DecryptLogDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source Table: public.decrypt_log") - public static final DecryptLog decryptLog = new DecryptLog(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.id") - public static final SqlColumn id = decryptLog.id; - - /** - * Database Column Remarks: - * 申请人id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.weid") - public static final SqlColumn weid = decryptLog.weid; - - /** - * Database Column Remarks: - * 档案类型(0件/1件内文件) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.content_type") - public static final SqlColumn content_type = decryptLog.content_type; - - /** - * Database Column Remarks: - * 档案id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.content_id") - public static final SqlColumn content_id = decryptLog.content_id; - - /** - * Database Column Remarks: - * 解密时间 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.dec_time") - public static final SqlColumn dec_time = decryptLog.dec_time; - - /** - * Database Column Remarks: - * 区域 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.location") - public static final SqlColumn location = decryptLog.location; - - /** - * Database Column Remarks: - * 秘钥id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source field: public.decrypt_log.sm9hibeid") - public static final SqlColumn sm9hibeid = decryptLog.sm9hibeid; - - /** - * Database Column Remarks: - * 解密结果(0失败1成功) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source field: public.decrypt_log.status") - public static final SqlColumn status = decryptLog.status; - - /** - * Database Column Remarks: - * 数字签名 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3181488+08:00", comments="Source field: public.decrypt_log.sign") - public static final SqlColumn sign = decryptLog.sign; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source Table: public.decrypt_log") - public static final class DecryptLog extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn weid = column("weid", JDBCType.VARCHAR); - - public final SqlColumn content_type = column("content_type", JDBCType.INTEGER); - - public final SqlColumn content_id = column("content_id", JDBCType.VARCHAR); - - public final SqlColumn dec_time = column("dec_time", JDBCType.TIMESTAMP); - - public final SqlColumn location = column("location", JDBCType.VARCHAR); - - public final SqlColumn sm9hibeid = column("sm9hibeid", JDBCType.VARCHAR); - - public final SqlColumn status = column("status", JDBCType.INTEGER); - - public final SqlColumn sign = column("sign", JDBCType.VARCHAR); - - public DecryptLog() { - super("decrypt_log", DecryptLog::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/DownloadLogDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/DownloadLogDynamicSqlSupport.java deleted file mode 100644 index d552815..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/DownloadLogDynamicSqlSupport.java +++ /dev/null @@ -1,78 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class DownloadLogDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source Table: public.download_log") - public static final DownloadLog downloadLog = new DownloadLog(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source field: public.download_log.id") - public static final SqlColumn id = downloadLog.id; - - /** - * Database Column Remarks: - * weid - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source field: public.download_log.weid") - public static final SqlColumn weid = downloadLog.weid; - - /** - * Database Column Remarks: - * 下载时间 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source field: public.download_log.downloadtime") - public static final SqlColumn downloadtime = downloadLog.downloadtime; - - /** - * Database Column Remarks: - * 下载文件数 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source field: public.download_log.filenum") - public static final SqlColumn filenum = downloadLog.filenum; - - /** - * Database Column Remarks: - * 下载类型(1文件包/2单个附件(SyncFile)/3单个件(DirecotryFile)) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source field: public.download_log.content_type") - public static final SqlColumn content_type = downloadLog.content_type; - - /** - * Database Column Remarks: - * 下载记录ID(如果是单个文件,就取ID,如果是包,就是包内包含的文件的ID列表) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source field: public.download_log.contentid") - public static final SqlColumn contentid = downloadLog.contentid; - - /** - * Database Column Remarks: - * 数字签名 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source field: public.download_log.sign") - public static final SqlColumn sign = downloadLog.sign; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2521575+08:00", comments="Source Table: public.download_log") - public static final class DownloadLog extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn weid = column("weid", JDBCType.VARCHAR); - - public final SqlColumn downloadtime = column("downloadtime", JDBCType.TIMESTAMP); - - public final SqlColumn filenum = column("filenum", JDBCType.INTEGER); - - public final SqlColumn content_type = column("content_type", JDBCType.INTEGER); - - public final SqlColumn contentid = column("contentid", JDBCType.VARCHAR); - - public final SqlColumn sign = column("sign", JDBCType.VARCHAR); - - public DownloadLog() { - super("download_log", DownloadLog::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyCheckRecordDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyCheckRecordDynamicSqlSupport.java deleted file mode 100644 index 41e72d2..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyCheckRecordDynamicSqlSupport.java +++ /dev/null @@ -1,94 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class FilesApplyCheckRecordDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source Table: public.files_apply_check_record") - public static final FilesApplyCheckRecord filesApplyCheckRecord = new FilesApplyCheckRecord(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.id") - public static final SqlColumn id = filesApplyCheckRecord.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.files_apply_id") - public static final SqlColumn files_apply_id = filesApplyCheckRecord.files_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.is_apply_provider") - public static final SqlColumn is_apply_provider = filesApplyCheckRecord.is_apply_provider; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_user_id") - public static final SqlColumn check_user_id = filesApplyCheckRecord.check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_user_name") - public static final SqlColumn check_user_name = filesApplyCheckRecord.check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_org_id") - public static final SqlColumn check_org_id = filesApplyCheckRecord.check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_org_name") - public static final SqlColumn check_org_name = filesApplyCheckRecord.check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.next_check_org_id") - public static final SqlColumn next_check_org_id = filesApplyCheckRecord.next_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.next_check_org_name") - public static final SqlColumn next_check_org_name = filesApplyCheckRecord.next_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_describe") - public static final SqlColumn check_describe = filesApplyCheckRecord.check_describe; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_status") - public static final SqlColumn check_status = filesApplyCheckRecord.check_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_time") - public static final SqlColumn check_time = filesApplyCheckRecord.check_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.provider_next_check_role_sign_id") - public static final SqlColumn provider_next_check_role_sign_id = filesApplyCheckRecord.provider_next_check_role_sign_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source field: public.files_apply_check_record.provider_next_check_role_sign_name") - public static final SqlColumn provider_next_check_role_sign_name = filesApplyCheckRecord.provider_next_check_role_sign_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3161488+08:00", comments="Source field: public.files_apply_check_record.sign") - public static final SqlColumn sign = filesApplyCheckRecord.sign; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source Table: public.files_apply_check_record") - public static final class FilesApplyCheckRecord extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn files_apply_id = column("files_apply_id", JDBCType.VARCHAR); - - public final SqlColumn is_apply_provider = column("is_apply_provider", JDBCType.INTEGER); - - public final SqlColumn check_user_id = column("check_user_id", JDBCType.VARCHAR); - - public final SqlColumn check_user_name = column("check_user_name", JDBCType.VARCHAR); - - public final SqlColumn check_org_id = column("check_org_id", JDBCType.VARCHAR); - - public final SqlColumn check_org_name = column("check_org_name", JDBCType.VARCHAR); - - public final SqlColumn next_check_org_id = column("next_check_org_id", JDBCType.VARCHAR); - - public final SqlColumn next_check_org_name = column("next_check_org_name", JDBCType.VARCHAR); - - public final SqlColumn check_describe = column("check_describe", JDBCType.VARCHAR); - - public final SqlColumn check_status = column("check_status", JDBCType.INTEGER); - - public final SqlColumn check_time = column("check_time", JDBCType.TIMESTAMP); - - public final SqlColumn provider_next_check_role_sign_id = column("provider_next_check_role_sign_id", JDBCType.VARCHAR); - - public final SqlColumn provider_next_check_role_sign_name = column("provider_next_check_role_sign_name", JDBCType.VARCHAR); - - public final SqlColumn sign = column("sign", JDBCType.VARCHAR); - - public FilesApplyCheckRecord() { - super("files_apply_check_record", FilesApplyCheckRecord::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDirectoryDocsDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDirectoryDocsDynamicSqlSupport.java deleted file mode 100644 index d72f1c4..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDirectoryDocsDynamicSqlSupport.java +++ /dev/null @@ -1,133 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class FilesApplyDirectoryDocsDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2212442+08:00", comments="Source Table: public.files_apply_directory_docs") - public static final FilesApplyDirectoryDocs filesApplyDirectoryDocs = new FilesApplyDirectoryDocs(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2222146+08:00", comments="Source field: public.files_apply_directory_docs.id") - public static final SqlColumn id = filesApplyDirectoryDocs.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2232077+08:00", comments="Source field: public.files_apply_directory_docs.files_apply_id") - public static final SqlColumn files_apply_id = filesApplyDirectoryDocs.files_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2232077+08:00", comments="Source field: public.files_apply_directory_docs.directory_file_id") - public static final SqlColumn directory_file_id = filesApplyDirectoryDocs.directory_file_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2232077+08:00", comments="Source field: public.files_apply_directory_docs.directory_file_p_id") - public static final SqlColumn directory_file_p_id = filesApplyDirectoryDocs.directory_file_p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2232077+08:00", comments="Source field: public.files_apply_directory_docs.filesuper") - public static final SqlColumn filesuper = filesApplyDirectoryDocs.filesuper; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2232077+08:00", comments="Source field: public.files_apply_directory_docs.filecount") - public static final SqlColumn filecount = filesApplyDirectoryDocs.filecount; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2232077+08:00", comments="Source field: public.files_apply_directory_docs.dutyperson") - public static final SqlColumn dutyperson = filesApplyDirectoryDocs.dutyperson; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2232077+08:00", comments="Source field: public.files_apply_directory_docs.eweavedate") - public static final SqlColumn eweavedate = filesApplyDirectoryDocs.eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2232077+08:00", comments="Source field: public.files_apply_directory_docs.filepage") - public static final SqlColumn filepage = filesApplyDirectoryDocs.filepage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2232077+08:00", comments="Source field: public.files_apply_directory_docs.sortorder") - public static final SqlColumn sortorder = filesApplyDirectoryDocs.sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2232077+08:00", comments="Source field: public.files_apply_directory_docs.bpeg") - public static final SqlColumn bpeg = filesApplyDirectoryDocs.bpeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2232077+08:00", comments="Source field: public.files_apply_directory_docs.epeg") - public static final SqlColumn epeg = filesApplyDirectoryDocs.epeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2242118+08:00", comments="Source field: public.files_apply_directory_docs.filenum") - public static final SqlColumn filenum = filesApplyDirectoryDocs.filenum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2242118+08:00", comments="Source field: public.files_apply_directory_docs.remark") - public static final SqlColumn remark = filesApplyDirectoryDocs.remark; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2242118+08:00", comments="Source field: public.files_apply_directory_docs.recordnum") - public static final SqlColumn recordnum = filesApplyDirectoryDocs.recordnum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2242118+08:00", comments="Source field: public.files_apply_directory_docs.piecenumber") - public static final SqlColumn piecenumber = filesApplyDirectoryDocs.piecenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2242118+08:00", comments="Source field: public.files_apply_directory_docs.adddate") - public static final SqlColumn adddate = filesApplyDirectoryDocs.adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2242118+08:00", comments="Source field: public.files_apply_directory_docs.editdate") - public static final SqlColumn editdate = filesApplyDirectoryDocs.editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2242118+08:00", comments="Source field: public.files_apply_directory_docs.time_stamp") - public static final SqlColumn time_stamp = filesApplyDirectoryDocs.time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2242118+08:00", comments="Source field: public.files_apply_directory_docs.isdel") - public static final SqlColumn isdel = filesApplyDirectoryDocs.isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2242118+08:00", comments="Source field: public.files_apply_directory_docs.catalogpdfurl") - public static final SqlColumn catalogpdfurl = filesApplyDirectoryDocs.catalogpdfurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2242118+08:00", comments="Source field: public.files_apply_directory_docs.signtag") - public static final SqlColumn signtag = filesApplyDirectoryDocs.signtag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2242118+08:00", comments="Source field: public.files_apply_directory_docs.collecttag") - public static final SqlColumn collecttag = filesApplyDirectoryDocs.collecttag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2222146+08:00", comments="Source Table: public.files_apply_directory_docs") - public static final class FilesApplyDirectoryDocs extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn files_apply_id = column("files_apply_id", JDBCType.VARCHAR); - - public final SqlColumn directory_file_id = column("directory_file_id", JDBCType.VARCHAR); - - public final SqlColumn directory_file_p_id = column("directory_file_p_id", JDBCType.VARCHAR); - - public final SqlColumn filesuper = column("filesuper", JDBCType.VARCHAR); - - public final SqlColumn filecount = column("filecount", JDBCType.INTEGER); - - public final SqlColumn dutyperson = column("dutyperson", JDBCType.VARCHAR); - - public final SqlColumn eweavedate = column("eweavedate", JDBCType.VARCHAR); - - public final SqlColumn filepage = column("filepage", JDBCType.INTEGER); - - public final SqlColumn sortorder = column("sortorder", JDBCType.VARCHAR); - - public final SqlColumn bpeg = column("bpeg", JDBCType.VARCHAR); - - public final SqlColumn epeg = column("epeg", JDBCType.VARCHAR); - - public final SqlColumn filenum = column("filenum", JDBCType.VARCHAR); - - public final SqlColumn remark = column("remark", JDBCType.VARCHAR); - - public final SqlColumn recordnum = column("recordnum", JDBCType.VARCHAR); - - public final SqlColumn piecenumber = column("piecenumber", JDBCType.VARCHAR); - - public final SqlColumn adddate = column("adddate", JDBCType.VARCHAR); - - public final SqlColumn editdate = column("editdate", JDBCType.VARCHAR); - - public final SqlColumn time_stamp = column("time_stamp", JDBCType.VARCHAR); - - public final SqlColumn isdel = column("isdel", JDBCType.INTEGER); - - public final SqlColumn catalogpdfurl = column("catalogpdfurl", JDBCType.VARCHAR); - - public final SqlColumn signtag = column("signtag", JDBCType.VARCHAR); - - public final SqlColumn collecttag = column("collecttag", JDBCType.VARCHAR); - - public FilesApplyDirectoryDocs() { - super("files_apply_directory_docs", FilesApplyDirectoryDocs::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDocsDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDocsDynamicSqlSupport.java deleted file mode 100644 index e35737c..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDocsDynamicSqlSupport.java +++ /dev/null @@ -1,123 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class FilesApplyDocsDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source Table: public.files_apply_docs") - public static final FilesApplyDocs filesApplyDocs = new FilesApplyDocs(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.id") - public static final SqlColumn id = filesApplyDocs.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.files_apply_id") - public static final SqlColumn files_apply_id = filesApplyDocs.files_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.syn_file_id") - public static final SqlColumn syn_file_id = filesApplyDocs.syn_file_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.syn_file_p_id") - public static final SqlColumn syn_file_p_id = filesApplyDocs.syn_file_p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.tablenumber") - public static final SqlColumn tablenumber = filesApplyDocs.tablenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.annexname") - public static final SqlColumn annexname = filesApplyDocs.annexname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.projectname") - public static final SqlColumn projectname = filesApplyDocs.projectname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.eweavedate") - public static final SqlColumn eweavedate = filesApplyDocs.eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.checkdate") - public static final SqlColumn checkdate = filesApplyDocs.checkdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.annexpage") - public static final SqlColumn annexpage = filesApplyDocs.annexpage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.sortorder") - public static final SqlColumn sortorder = filesApplyDocs.sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.filefrom") - public static final SqlColumn filefrom = filesApplyDocs.filefrom; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.archivestag") - public static final SqlColumn archivestag = filesApplyDocs.archivestag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.adddate") - public static final SqlColumn adddate = filesApplyDocs.adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.editdate") - public static final SqlColumn editdate = filesApplyDocs.editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source field: public.files_apply_docs.time_stamp") - public static final SqlColumn time_stamp = filesApplyDocs.time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source field: public.files_apply_docs.isdel") - public static final SqlColumn isdel = filesApplyDocs.isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source field: public.files_apply_docs.downurl") - public static final SqlColumn downurl = filesApplyDocs.downurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source field: public.files_apply_docs.filesize") - public static final SqlColumn filesize = filesApplyDocs.filesize; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source field: public.files_apply_docs.apply_view_type_print") - public static final SqlColumn apply_view_type_print = filesApplyDocs.apply_view_type_print; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2691488+08:00", comments="Source field: public.files_apply_docs.apply_view_type_online") - public static final SqlColumn apply_view_type_online = filesApplyDocs.apply_view_type_online; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source Table: public.files_apply_docs") - public static final class FilesApplyDocs extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn files_apply_id = column("files_apply_id", JDBCType.VARCHAR); - - public final SqlColumn syn_file_id = column("syn_file_id", JDBCType.VARCHAR); - - public final SqlColumn syn_file_p_id = column("syn_file_p_id", JDBCType.VARCHAR); - - public final SqlColumn tablenumber = column("tablenumber", JDBCType.VARCHAR); - - public final SqlColumn annexname = column("annexname", JDBCType.VARCHAR); - - public final SqlColumn projectname = column("projectname", JDBCType.VARCHAR); - - public final SqlColumn eweavedate = column("eweavedate", JDBCType.VARCHAR); - - public final SqlColumn checkdate = column("checkdate", JDBCType.VARCHAR); - - public final SqlColumn annexpage = column("annexpage", JDBCType.INTEGER); - - public final SqlColumn sortorder = column("sortorder", JDBCType.VARCHAR); - - public final SqlColumn filefrom = column("filefrom", JDBCType.VARCHAR); - - public final SqlColumn archivestag = column("archivestag", JDBCType.VARCHAR); - - public final SqlColumn adddate = column("adddate", JDBCType.VARCHAR); - - public final SqlColumn editdate = column("editdate", JDBCType.VARCHAR); - - public final SqlColumn time_stamp = column("time_stamp", JDBCType.VARCHAR); - - public final SqlColumn isdel = column("isdel", JDBCType.INTEGER); - - public final SqlColumn downurl = column("downurl", JDBCType.VARCHAR); - - public final SqlColumn filesize = column("filesize", JDBCType.INTEGER); - - public final SqlColumn apply_view_type_print = column("apply_view_type_print", JDBCType.INTEGER); - - public final SqlColumn apply_view_type_online = column("apply_view_type_online", JDBCType.INTEGER); - - public FilesApplyDocs() { - super("files_apply_docs", FilesApplyDocs::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDownloadRecordDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDownloadRecordDynamicSqlSupport.java deleted file mode 100644 index 4fafb49..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDownloadRecordDynamicSqlSupport.java +++ /dev/null @@ -1,74 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class FilesApplyDownloadRecordDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source Table: public.files_apply_download_record") - public static final FilesApplyDownloadRecord filesApplyDownloadRecord = new FilesApplyDownloadRecord(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.id") - public static final SqlColumn id = filesApplyDownloadRecord.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.files_apply_id") - public static final SqlColumn files_apply_id = filesApplyDownloadRecord.files_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.is_dir_file") - public static final SqlColumn is_dir_file = filesApplyDownloadRecord.is_dir_file; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2941514+08:00", comments="Source field: public.files_apply_download_record.syn_file_id") - public static final SqlColumn syn_file_id = filesApplyDownloadRecord.syn_file_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2941514+08:00", comments="Source field: public.files_apply_download_record.syn_file_p_id") - public static final SqlColumn syn_file_p_id = filesApplyDownloadRecord.syn_file_p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2941514+08:00", comments="Source field: public.files_apply_download_record.syn_file_name") - public static final SqlColumn syn_file_name = filesApplyDownloadRecord.syn_file_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2941514+08:00", comments="Source field: public.files_apply_download_record.user_id") - public static final SqlColumn user_id = filesApplyDownloadRecord.user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2941514+08:00", comments="Source field: public.files_apply_download_record.user_name") - public static final SqlColumn user_name = filesApplyDownloadRecord.user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2941514+08:00", comments="Source field: public.files_apply_download_record.org_id") - public static final SqlColumn org_id = filesApplyDownloadRecord.org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2941514+08:00", comments="Source field: public.files_apply_download_record.org_name") - public static final SqlColumn org_name = filesApplyDownloadRecord.org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2941514+08:00", comments="Source field: public.files_apply_download_record.download_time") - public static final SqlColumn download_time = filesApplyDownloadRecord.download_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source Table: public.files_apply_download_record") - public static final class FilesApplyDownloadRecord extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn files_apply_id = column("files_apply_id", JDBCType.VARCHAR); - - public final SqlColumn is_dir_file = column("is_dir_file", JDBCType.INTEGER); - - public final SqlColumn syn_file_id = column("syn_file_id", JDBCType.VARCHAR); - - public final SqlColumn syn_file_p_id = column("syn_file_p_id", JDBCType.VARCHAR); - - public final SqlColumn syn_file_name = column("syn_file_name", JDBCType.VARCHAR); - - public final SqlColumn user_id = column("user_id", JDBCType.VARCHAR); - - public final SqlColumn user_name = column("user_name", JDBCType.VARCHAR); - - public final SqlColumn org_id = column("org_id", JDBCType.VARCHAR); - - public final SqlColumn org_name = column("org_name", JDBCType.VARCHAR); - - public final SqlColumn download_time = column("download_time", JDBCType.TIMESTAMP); - - public FilesApplyDownloadRecord() { - super("files_apply_download_record", FilesApplyDownloadRecord::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDynamicSqlSupport.java deleted file mode 100644 index ba8b606..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/FilesApplyDynamicSqlSupport.java +++ /dev/null @@ -1,258 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class FilesApplyDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source Table: public.files_apply") - public static final FilesApply filesApply = new FilesApply(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.id") - public static final SqlColumn id = filesApply.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_user_id") - public static final SqlColumn apply_user_id = filesApply.apply_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_user_name") - public static final SqlColumn apply_user_name = filesApply.apply_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_user_phone") - public static final SqlColumn apply_user_phone = filesApply.apply_user_phone; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_user_email") - public static final SqlColumn apply_user_email = filesApply.apply_user_email; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_org_id") - public static final SqlColumn apply_org_id = filesApply.apply_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_org_name") - public static final SqlColumn apply_org_name = filesApply.apply_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_in_check_user_id") - public static final SqlColumn apply_in_check_user_id = filesApply.apply_in_check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_in_check_user_name") - public static final SqlColumn apply_in_check_user_name = filesApply.apply_in_check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_in_check_org_id") - public static final SqlColumn apply_in_check_org_id = filesApply.apply_in_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_in_check_org_name") - public static final SqlColumn apply_in_check_org_name = filesApply.apply_in_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_next_check_org_id") - public static final SqlColumn apply_next_check_org_id = filesApply.apply_next_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_next_check_org_name") - public static final SqlColumn apply_next_check_org_name = filesApply.apply_next_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_end_check_user_id") - public static final SqlColumn apply_end_check_user_id = filesApply.apply_end_check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.apply_end_check_user_name") - public static final SqlColumn apply_end_check_user_name = filesApply.apply_end_check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.apply_end_check_org_id") - public static final SqlColumn apply_end_check_org_id = filesApply.apply_end_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.apply_end_check_org_name") - public static final SqlColumn apply_end_check_org_name = filesApply.apply_end_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.apply_days") - public static final SqlColumn apply_days = filesApply.apply_days; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.apply_feedback") - public static final SqlColumn apply_feedback = filesApply.apply_feedback; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.apply_reason") - public static final SqlColumn apply_reason = filesApply.apply_reason; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.apply_cancel_reason") - public static final SqlColumn apply_cancel_reason = filesApply.apply_cancel_reason; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.apply_view_type_print") - public static final SqlColumn apply_view_type_print = filesApply.apply_view_type_print; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.apply_view_type_online") - public static final SqlColumn apply_view_type_online = filesApply.apply_view_type_online; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.apply_file_num") - public static final SqlColumn apply_file_num = filesApply.apply_file_num; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.apply_time") - public static final SqlColumn apply_time = filesApply.apply_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.apply_check_is_finish") - public static final SqlColumn apply_check_is_finish = filesApply.apply_check_is_finish; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_org_id") - public static final SqlColumn provider_org_id = filesApply.provider_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_org_name") - public static final SqlColumn provider_org_name = filesApply.provider_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_file_properties") - public static final SqlColumn provider_file_properties = filesApply.provider_file_properties; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_use_start_time") - public static final SqlColumn provider_use_start_time = filesApply.provider_use_start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_use_end_time") - public static final SqlColumn provider_use_end_time = filesApply.provider_use_end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_in_check_user_id") - public static final SqlColumn provider_in_check_user_id = filesApply.provider_in_check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_in_check_user_name") - public static final SqlColumn provider_in_check_user_name = filesApply.provider_in_check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_in_check_org_id") - public static final SqlColumn provider_in_check_org_id = filesApply.provider_in_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_in_check_org_name") - public static final SqlColumn provider_in_check_org_name = filesApply.provider_in_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_next_check_role_sign_id") - public static final SqlColumn provider_next_check_role_sign_id = filesApply.provider_next_check_role_sign_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_next_check_role_sign_name") - public static final SqlColumn provider_next_check_role_sign_name = filesApply.provider_next_check_role_sign_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_end_check_user_id") - public static final SqlColumn provider_end_check_user_id = filesApply.provider_end_check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_end_check_user_name") - public static final SqlColumn provider_end_check_user_name = filesApply.provider_end_check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_end_check_org_id") - public static final SqlColumn provider_end_check_org_id = filesApply.provider_end_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_end_check_org_name") - public static final SqlColumn provider_end_check_org_name = filesApply.provider_end_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.provider_check_is_finish") - public static final SqlColumn provider_check_is_finish = filesApply.provider_check_is_finish; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2761467+08:00", comments="Source field: public.files_apply.secret_key") - public static final SqlColumn secret_key = filesApply.secret_key; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source field: public.files_apply.status") - public static final SqlColumn status = filesApply.status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source field: public.files_apply.project_id") - public static final SqlColumn project_id = filesApply.project_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source field: public.files_apply.project_name") - public static final SqlColumn project_name = filesApply.project_name; - - /** - * Database Column Remarks: - * 签名 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2771463+08:00", comments="Source field: public.files_apply.sign") - public static final SqlColumn sign = filesApply.sign; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source Table: public.files_apply") - public static final class FilesApply extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn apply_user_id = column("apply_user_id", JDBCType.VARCHAR); - - public final SqlColumn apply_user_name = column("apply_user_name", JDBCType.VARCHAR); - - public final SqlColumn apply_user_phone = column("apply_user_phone", JDBCType.VARCHAR); - - public final SqlColumn apply_user_email = column("apply_user_email", JDBCType.VARCHAR); - - public final SqlColumn apply_org_id = column("apply_org_id", JDBCType.VARCHAR); - - public final SqlColumn apply_org_name = column("apply_org_name", JDBCType.VARCHAR); - - public final SqlColumn apply_in_check_user_id = column("apply_in_check_user_id", JDBCType.VARCHAR); - - public final SqlColumn apply_in_check_user_name = column("apply_in_check_user_name", JDBCType.VARCHAR); - - public final SqlColumn apply_in_check_org_id = column("apply_in_check_org_id", JDBCType.VARCHAR); - - public final SqlColumn apply_in_check_org_name = column("apply_in_check_org_name", JDBCType.VARCHAR); - - public final SqlColumn apply_next_check_org_id = column("apply_next_check_org_id", JDBCType.VARCHAR); - - public final SqlColumn apply_next_check_org_name = column("apply_next_check_org_name", JDBCType.VARCHAR); - - public final SqlColumn apply_end_check_user_id = column("apply_end_check_user_id", JDBCType.VARCHAR); - - public final SqlColumn apply_end_check_user_name = column("apply_end_check_user_name", JDBCType.VARCHAR); - - public final SqlColumn apply_end_check_org_id = column("apply_end_check_org_id", JDBCType.VARCHAR); - - public final SqlColumn apply_end_check_org_name = column("apply_end_check_org_name", JDBCType.VARCHAR); - - public final SqlColumn apply_days = column("apply_days", JDBCType.INTEGER); - - public final SqlColumn apply_feedback = column("apply_feedback", JDBCType.VARCHAR); - - public final SqlColumn apply_reason = column("apply_reason", JDBCType.VARCHAR); - - public final SqlColumn apply_cancel_reason = column("apply_cancel_reason", JDBCType.VARCHAR); - - public final SqlColumn apply_view_type_print = column("apply_view_type_print", JDBCType.INTEGER); - - public final SqlColumn apply_view_type_online = column("apply_view_type_online", JDBCType.INTEGER); - - public final SqlColumn apply_file_num = column("apply_file_num", JDBCType.INTEGER); - - public final SqlColumn apply_time = column("apply_time", JDBCType.TIMESTAMP); - - public final SqlColumn apply_check_is_finish = column("apply_check_is_finish", JDBCType.INTEGER); - - public final SqlColumn provider_org_id = column("provider_org_id", JDBCType.VARCHAR); - - public final SqlColumn provider_org_name = column("provider_org_name", JDBCType.VARCHAR); - - public final SqlColumn provider_file_properties = column("provider_file_properties", JDBCType.INTEGER); - - public final SqlColumn provider_use_start_time = column("provider_use_start_time", JDBCType.TIMESTAMP); - - public final SqlColumn provider_use_end_time = column("provider_use_end_time", JDBCType.TIMESTAMP); - - public final SqlColumn provider_in_check_user_id = column("provider_in_check_user_id", JDBCType.VARCHAR); - - public final SqlColumn provider_in_check_user_name = column("provider_in_check_user_name", JDBCType.VARCHAR); - - public final SqlColumn provider_in_check_org_id = column("provider_in_check_org_id", JDBCType.VARCHAR); - - public final SqlColumn provider_in_check_org_name = column("provider_in_check_org_name", JDBCType.VARCHAR); - - public final SqlColumn provider_next_check_role_sign_id = column("provider_next_check_role_sign_id", JDBCType.VARCHAR); - - public final SqlColumn provider_next_check_role_sign_name = column("provider_next_check_role_sign_name", JDBCType.VARCHAR); - - public final SqlColumn provider_end_check_user_id = column("provider_end_check_user_id", JDBCType.VARCHAR); - - public final SqlColumn provider_end_check_user_name = column("provider_end_check_user_name", JDBCType.VARCHAR); - - public final SqlColumn provider_end_check_org_id = column("provider_end_check_org_id", JDBCType.VARCHAR); - - public final SqlColumn provider_end_check_org_name = column("provider_end_check_org_name", JDBCType.VARCHAR); - - public final SqlColumn provider_check_is_finish = column("provider_check_is_finish", JDBCType.INTEGER); - - public final SqlColumn secret_key = column("secret_key", JDBCType.VARCHAR); - - public final SqlColumn status = column("status", JDBCType.INTEGER); - - public final SqlColumn project_id = column("project_id", JDBCType.VARCHAR); - - public final SqlColumn project_name = column("project_name", JDBCType.VARCHAR); - - public final SqlColumn sign = column("sign", JDBCType.VARCHAR); - - public FilesApply() { - super("files_apply", FilesApply::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/PreShareDirectoryFileTagDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/PreShareDirectoryFileTagDynamicSqlSupport.java deleted file mode 100644 index 32b8fbc..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/PreShareDirectoryFileTagDynamicSqlSupport.java +++ /dev/null @@ -1,39 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class PreShareDirectoryFileTagDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source Table: public.pre_share_directory_file_tag") - public static final PreShareDirectoryFileTag preShareDirectoryFileTag = new PreShareDirectoryFileTag(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source field: public.pre_share_directory_file_tag.id") - public static final SqlColumn id = preShareDirectoryFileTag.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source field: public.pre_share_directory_file_tag.share_status") - public static final SqlColumn share_status = preShareDirectoryFileTag.share_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source field: public.pre_share_directory_file_tag.update_time") - public static final SqlColumn update_time = preShareDirectoryFileTag.update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1689861+08:00", comments="Source field: public.pre_share_directory_file_tag.sync_bc_time") - public static final SqlColumn sync_bc_time = preShareDirectoryFileTag.sync_bc_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source Table: public.pre_share_directory_file_tag") - public static final class PreShareDirectoryFileTag extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn share_status = column("share_status", JDBCType.INTEGER); - - public final SqlColumn update_time = column("update_time", JDBCType.TIMESTAMP); - - public final SqlColumn sync_bc_time = column("sync_bc_time", JDBCType.TIMESTAMP); - - public PreShareDirectoryFileTag() { - super("pre_share_directory_file_tag", PreShareDirectoryFileTag::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/PreShareDirectoryTagDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/PreShareDirectoryTagDynamicSqlSupport.java deleted file mode 100644 index 338211c..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/PreShareDirectoryTagDynamicSqlSupport.java +++ /dev/null @@ -1,39 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class PreShareDirectoryTagDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1431822+08:00", comments="Source Table: public.pre_share_directory_tag") - public static final PreShareDirectoryTag preShareDirectoryTag = new PreShareDirectoryTag(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1455599+08:00", comments="Source field: public.pre_share_directory_tag.id") - public static final SqlColumn id = preShareDirectoryTag.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1455599+08:00", comments="Source field: public.pre_share_directory_tag.share_status") - public static final SqlColumn share_status = preShareDirectoryTag.share_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1455599+08:00", comments="Source field: public.pre_share_directory_tag.update_time") - public static final SqlColumn update_time = preShareDirectoryTag.update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1455599+08:00", comments="Source field: public.pre_share_directory_tag.sync_bc_time") - public static final SqlColumn sync_bc_time = preShareDirectoryTag.sync_bc_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1445575+08:00", comments="Source Table: public.pre_share_directory_tag") - public static final class PreShareDirectoryTag extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn share_status = column("share_status", JDBCType.INTEGER); - - public final SqlColumn update_time = column("update_time", JDBCType.TIMESTAMP); - - public final SqlColumn sync_bc_time = column("sync_bc_time", JDBCType.TIMESTAMP); - - public PreShareDirectoryTag() { - super("pre_share_directory_tag", PreShareDirectoryTag::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/PreShareFileTagDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/PreShareFileTagDynamicSqlSupport.java deleted file mode 100644 index 050888f..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/PreShareFileTagDynamicSqlSupport.java +++ /dev/null @@ -1,39 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class PreShareFileTagDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source Table: public.pre_share_file_tag") - public static final PreShareFileTag preShareFileTag = new PreShareFileTag(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.id") - public static final SqlColumn id = preShareFileTag.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.share_status") - public static final SqlColumn share_status = preShareFileTag.share_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.update_time") - public static final SqlColumn update_time = preShareFileTag.update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.sync_bc_time") - public static final SqlColumn sync_bc_time = preShareFileTag.sync_bc_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source Table: public.pre_share_file_tag") - public static final class PreShareFileTag extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn share_status = column("share_status", JDBCType.INTEGER); - - public final SqlColumn update_time = column("update_time", JDBCType.TIMESTAMP); - - public final SqlColumn sync_bc_time = column("sync_bc_time", JDBCType.TIMESTAMP); - - public PreShareFileTag() { - super("pre_share_file_tag", PreShareFileTag::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ProjectDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ProjectDynamicSqlSupport.java deleted file mode 100644 index 0da96e8..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ProjectDynamicSqlSupport.java +++ /dev/null @@ -1,38 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class ProjectDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source Table: public.project") - public static final Project project = new Project(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.id") - public static final SqlColumn id = project.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.project_name") - public static final SqlColumn project_name = project.project_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.org_id") - public static final SqlColumn org_id = project.org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.org_name") - public static final SqlColumn org_name = project.org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source Table: public.project") - public static final class Project extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn project_name = column("project_name", JDBCType.VARCHAR); - - public final SqlColumn org_id = column("org_id", JDBCType.VARCHAR); - - public final SqlColumn org_name = column("org_name", JDBCType.VARCHAR); - - public Project() { - super("project", Project::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ProviderDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ProviderDynamicSqlSupport.java deleted file mode 100644 index 08db047..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ProviderDynamicSqlSupport.java +++ /dev/null @@ -1,54 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class ProviderDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0828768+08:00", comments="Source Table: public.provider") - public static final Provider provider = new Provider(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0840377+08:00", comments="Source field: public.provider.id") - public static final SqlColumn id = provider.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0840377+08:00", comments="Source field: public.provider.name") - public static final SqlColumn name = provider.name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.085147+08:00", comments="Source field: public.provider.create_time") - public static final SqlColumn create_time = provider.create_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.085147+08:00", comments="Source field: public.provider.update_time") - public static final SqlColumn update_time = provider.update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.085147+08:00", comments="Source field: public.provider.last_update_data_time") - public static final SqlColumn last_update_data_time = provider.last_update_data_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.085147+08:00", comments="Source field: public.provider.last_query_data_time") - public static final SqlColumn last_query_data_time = provider.last_query_data_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.085147+08:00", comments="Source field: public.provider.status") - public static final SqlColumn status = provider.status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0840377+08:00", comments="Source Table: public.provider") - public static final class Provider extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn name = column("name", JDBCType.VARCHAR); - - public final SqlColumn create_time = column("create_time", JDBCType.TIMESTAMP); - - public final SqlColumn update_time = column("update_time", JDBCType.TIMESTAMP); - - public final SqlColumn last_update_data_time = column("last_update_data_time", JDBCType.TIMESTAMP); - - public final SqlColumn last_query_data_time = column("last_query_data_time", JDBCType.TIMESTAMP); - - public final SqlColumn status = column("status", JDBCType.VARCHAR); - - public Provider() { - super("provider", Provider::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ReadLogDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ReadLogDynamicSqlSupport.java deleted file mode 100644 index 96419ba..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ReadLogDynamicSqlSupport.java +++ /dev/null @@ -1,132 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class ReadLogDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source Table: public.read_log") - public static final ReadLog readLog = new ReadLog(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.id") - public static final SqlColumn id = readLog.id; - - /** - * Database Column Remarks: - * 申请人id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.weid") - public static final SqlColumn weid = readLog.weid; - - /** - * Database Column Remarks: - * 档案id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.content_id") - public static final SqlColumn content_id = readLog.content_id; - - /** - * Database Column Remarks: - * 开始时间 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.starttime") - public static final SqlColumn starttime = readLog.starttime; - - /** - * Database Column Remarks: - * 结束时间 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.endtime") - public static final SqlColumn endtime = readLog.endtime; - - /** - * Database Column Remarks: - * ip地址 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source field: public.read_log.ip") - public static final SqlColumn ip = readLog.ip; - - /** - * Database Column Remarks: - * 区域 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source field: public.read_log.location") - public static final SqlColumn location = readLog.location; - - /** - * Database Column Remarks: - * 下载类型(1文件包/0单文件) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source field: public.read_log.downloadtype") - public static final SqlColumn downloadtype = readLog.downloadtype; - - /** - * Database Column Remarks: - * 数字签名 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source field: public.read_log.sign") - public static final SqlColumn sign = readLog.sign; - - /** - * Database Column Remarks: - * 一次阅读凭证id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source field: public.read_log.readid") - public static final SqlColumn readid = readLog.readid; - - /** - * Database Column Remarks: - * 秘钥id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source field: public.read_log.sm9hibeid") - public static final SqlColumn sm9hibeid = readLog.sm9hibeid; - - /** - * Database Column Remarks: - * 档案类型 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source field: public.read_log.content_type") - public static final SqlColumn content_type = readLog.content_type; - - /** - * Database Column Remarks: - * 是否上链(1是,0否) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2651454+08:00", comments="Source field: public.read_log.ischeck") - public static final SqlColumn ischeck = readLog.ischeck; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source Table: public.read_log") - public static final class ReadLog extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn weid = column("weid", JDBCType.VARCHAR); - - public final SqlColumn content_id = column("content_id", JDBCType.VARCHAR); - - public final SqlColumn starttime = column("starttime", JDBCType.TIMESTAMP); - - public final SqlColumn endtime = column("endtime", JDBCType.TIMESTAMP); - - public final SqlColumn ip = column("ip", JDBCType.VARCHAR); - - public final SqlColumn location = column("location", JDBCType.VARCHAR); - - public final SqlColumn downloadtype = column("downloadtype", JDBCType.INTEGER); - - public final SqlColumn sign = column("sign", JDBCType.VARCHAR); - - public final SqlColumn readid = column("readid", JDBCType.VARCHAR); - - public final SqlColumn sm9hibeid = column("sm9hibeid", JDBCType.VARCHAR); - - public final SqlColumn content_type = column("content_type", JDBCType.INTEGER); - - public final SqlColumn ischeck = column("ischeck", JDBCType.INTEGER); - - public ReadLog() { - super("read_log", ReadLog::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareConfigDetailDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareConfigDetailDynamicSqlSupport.java deleted file mode 100644 index 484c39b..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareConfigDetailDynamicSqlSupport.java +++ /dev/null @@ -1,49 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class ShareConfigDetailDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1830956+08:00", comments="Source Table: public.share_config_detail") - public static final ShareConfigDetail shareConfigDetail = new ShareConfigDetail(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1840952+08:00", comments="Source field: public.share_config_detail.node_id") - public static final SqlColumn node_id = shareConfigDetail.node_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1840952+08:00", comments="Source field: public.share_config_detail.node_type") - public static final SqlColumn node_type = shareConfigDetail.node_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1840952+08:00", comments="Source field: public.share_config_detail.share_config_statu") - public static final SqlColumn share_config_statu = shareConfigDetail.share_config_statu; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1850956+08:00", comments="Source field: public.share_config_detail.create_time") - public static final SqlColumn create_time = shareConfigDetail.create_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1850956+08:00", comments="Source field: public.share_config_detail.update_time") - public static final SqlColumn update_time = shareConfigDetail.update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1850956+08:00", comments="Source field: public.share_config_detail.update_count") - public static final SqlColumn update_count = shareConfigDetail.update_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1840952+08:00", comments="Source Table: public.share_config_detail") - public static final class ShareConfigDetail extends AliasableSqlTable { - public final SqlColumn node_id = column("node_id", JDBCType.VARCHAR); - - public final SqlColumn node_type = column("node_type", JDBCType.INTEGER); - - public final SqlColumn share_config_statu = column("share_config_statu", JDBCType.INTEGER); - - public final SqlColumn create_time = column("create_time", JDBCType.TIMESTAMP); - - public final SqlColumn update_time = column("update_time", JDBCType.TIMESTAMP); - - public final SqlColumn update_count = column("update_count", JDBCType.INTEGER); - - public ShareConfigDetail() { - super("share_config_detail", ShareConfigDetail::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareDirectoryDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareDirectoryDynamicSqlSupport.java deleted file mode 100644 index d79c9e5..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareDirectoryDynamicSqlSupport.java +++ /dev/null @@ -1,63 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class ShareDirectoryDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6619839+08:00", comments="Source Table: public.share_directory") - public static final ShareDirectory shareDirectory = new ShareDirectory(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6619839+08:00", comments="Source field: public.share_directory.id") - public static final SqlColumn id = shareDirectory.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6633873+08:00", comments="Source field: public.share_directory.provider_id") - public static final SqlColumn provider_id = shareDirectory.provider_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6633873+08:00", comments="Source field: public.share_directory.p_id") - public static final SqlColumn p_id = shareDirectory.p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6633873+08:00", comments="Source field: public.share_directory.wbs_id") - public static final SqlColumn wbs_id = shareDirectory.wbs_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6633873+08:00", comments="Source field: public.share_directory.time_stamp") - public static final SqlColumn time_stamp = shareDirectory.time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6633873+08:00", comments="Source field: public.share_directory.sortorder") - public static final SqlColumn sortorder = shareDirectory.sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6633873+08:00", comments="Source field: public.share_directory.tname") - public static final SqlColumn tname = shareDirectory.tname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6633873+08:00", comments="Source field: public.share_directory.subjoin") - public static final SqlColumn subjoin = shareDirectory.subjoin; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6633873+08:00", comments="Source field: public.share_directory.isdel") - public static final SqlColumn isdel = shareDirectory.isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6619839+08:00", comments="Source Table: public.share_directory") - public static final class ShareDirectory extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn provider_id = column("provider_id", JDBCType.VARCHAR); - - public final SqlColumn p_id = column("p_id", JDBCType.VARCHAR); - - public final SqlColumn wbs_id = column("wbs_id", JDBCType.VARCHAR); - - public final SqlColumn time_stamp = column("time_stamp", JDBCType.VARCHAR); - - public final SqlColumn sortorder = column("sortorder", JDBCType.INTEGER); - - public final SqlColumn tname = column("tname", JDBCType.VARCHAR); - - public final SqlColumn subjoin = column("subjoin", JDBCType.INTEGER); - - public final SqlColumn isdel = column("isdel", JDBCType.INTEGER); - - public ShareDirectory() { - super("share_directory", ShareDirectory::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareDirectoryFileDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareDirectoryFileDynamicSqlSupport.java deleted file mode 100644 index 5af0c52..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareDirectoryFileDynamicSqlSupport.java +++ /dev/null @@ -1,128 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class ShareDirectoryFileDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9141192+08:00", comments="Source Table: public.share_directory_file") - public static final ShareDirectoryFile shareDirectoryFile = new ShareDirectoryFile(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9151282+08:00", comments="Source field: public.share_directory_file.id") - public static final SqlColumn id = shareDirectoryFile.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9151282+08:00", comments="Source field: public.share_directory_file.p_id") - public static final SqlColumn p_id = shareDirectoryFile.p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9151282+08:00", comments="Source field: public.share_directory_file.provider_id") - public static final SqlColumn provider_id = shareDirectoryFile.provider_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9151282+08:00", comments="Source field: public.share_directory_file.filesuper") - public static final SqlColumn filesuper = shareDirectoryFile.filesuper; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9151282+08:00", comments="Source field: public.share_directory_file.filecount") - public static final SqlColumn filecount = shareDirectoryFile.filecount; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9151282+08:00", comments="Source field: public.share_directory_file.dutyperson") - public static final SqlColumn dutyperson = shareDirectoryFile.dutyperson; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.eweavedate") - public static final SqlColumn eweavedate = shareDirectoryFile.eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.filepage") - public static final SqlColumn filepage = shareDirectoryFile.filepage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.sortorder") - public static final SqlColumn sortorder = shareDirectoryFile.sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.bpeg") - public static final SqlColumn bpeg = shareDirectoryFile.bpeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.epeg") - public static final SqlColumn epeg = shareDirectoryFile.epeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.filenum") - public static final SqlColumn filenum = shareDirectoryFile.filenum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.remark") - public static final SqlColumn remark = shareDirectoryFile.remark; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.recordnum") - public static final SqlColumn recordnum = shareDirectoryFile.recordnum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.piecenumber") - public static final SqlColumn piecenumber = shareDirectoryFile.piecenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.adddate") - public static final SqlColumn adddate = shareDirectoryFile.adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.editdate") - public static final SqlColumn editdate = shareDirectoryFile.editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.time_stamp") - public static final SqlColumn time_stamp = shareDirectoryFile.time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.isdel") - public static final SqlColumn isdel = shareDirectoryFile.isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.catalogpdfurl") - public static final SqlColumn catalogpdfurl = shareDirectoryFile.catalogpdfurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.signtag") - public static final SqlColumn signtag = shareDirectoryFile.signtag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.916126+08:00", comments="Source field: public.share_directory_file.collecttag") - public static final SqlColumn collecttag = shareDirectoryFile.collecttag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9151282+08:00", comments="Source Table: public.share_directory_file") - public static final class ShareDirectoryFile extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn p_id = column("p_id", JDBCType.VARCHAR); - - public final SqlColumn provider_id = column("provider_id", JDBCType.VARCHAR); - - public final SqlColumn filesuper = column("filesuper", JDBCType.VARCHAR); - - public final SqlColumn filecount = column("filecount", JDBCType.INTEGER); - - public final SqlColumn dutyperson = column("dutyperson", JDBCType.VARCHAR); - - public final SqlColumn eweavedate = column("eweavedate", JDBCType.VARCHAR); - - public final SqlColumn filepage = column("filepage", JDBCType.INTEGER); - - public final SqlColumn sortorder = column("sortorder", JDBCType.VARCHAR); - - public final SqlColumn bpeg = column("bpeg", JDBCType.VARCHAR); - - public final SqlColumn epeg = column("epeg", JDBCType.VARCHAR); - - public final SqlColumn filenum = column("filenum", JDBCType.VARCHAR); - - public final SqlColumn remark = column("remark", JDBCType.VARCHAR); - - public final SqlColumn recordnum = column("recordnum", JDBCType.VARCHAR); - - public final SqlColumn piecenumber = column("piecenumber", JDBCType.VARCHAR); - - public final SqlColumn adddate = column("adddate", JDBCType.VARCHAR); - - public final SqlColumn editdate = column("editdate", JDBCType.VARCHAR); - - public final SqlColumn time_stamp = column("time_stamp", JDBCType.VARCHAR); - - public final SqlColumn isdel = column("isdel", JDBCType.INTEGER); - - public final SqlColumn catalogpdfurl = column("catalogpdfurl", JDBCType.VARCHAR); - - public final SqlColumn signtag = column("signtag", JDBCType.VARCHAR); - - public final SqlColumn collecttag = column("collecttag", JDBCType.VARCHAR); - - public ShareDirectoryFile() { - super("share_directory_file", ShareDirectoryFile::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareFileDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareFileDynamicSqlSupport.java deleted file mode 100644 index 1acb8bc..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/ShareFileDynamicSqlSupport.java +++ /dev/null @@ -1,108 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class ShareFileDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6104216+08:00", comments="Source Table: public.share_file") - public static final ShareFile shareFile = new ShareFile(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.611428+08:00", comments="Source field: public.share_file.id") - public static final SqlColumn id = shareFile.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.p_id") - public static final SqlColumn p_id = shareFile.p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.provider_id") - public static final SqlColumn provider_id = shareFile.provider_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.tablenumber") - public static final SqlColumn tablenumber = shareFile.tablenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.annexname") - public static final SqlColumn annexname = shareFile.annexname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.projectname") - public static final SqlColumn projectname = shareFile.projectname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.eweavedate") - public static final SqlColumn eweavedate = shareFile.eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.checkdate") - public static final SqlColumn checkdate = shareFile.checkdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.annexpage") - public static final SqlColumn annexpage = shareFile.annexpage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.sortorder") - public static final SqlColumn sortorder = shareFile.sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.filefrom") - public static final SqlColumn filefrom = shareFile.filefrom; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.archivestag") - public static final SqlColumn archivestag = shareFile.archivestag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.adddate") - public static final SqlColumn adddate = shareFile.adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.editdate") - public static final SqlColumn editdate = shareFile.editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.time_stamp") - public static final SqlColumn time_stamp = shareFile.time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.isdel") - public static final SqlColumn isdel = shareFile.isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.downurl") - public static final SqlColumn downurl = shareFile.downurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.612661+08:00", comments="Source field: public.share_file.filesize") - public static final SqlColumn filesize = shareFile.filesize; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.611428+08:00", comments="Source Table: public.share_file") - public static final class ShareFile extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn p_id = column("p_id", JDBCType.VARCHAR); - - public final SqlColumn provider_id = column("provider_id", JDBCType.VARCHAR); - - public final SqlColumn tablenumber = column("tablenumber", JDBCType.VARCHAR); - - public final SqlColumn annexname = column("annexname", JDBCType.VARCHAR); - - public final SqlColumn projectname = column("projectname", JDBCType.VARCHAR); - - public final SqlColumn eweavedate = column("eweavedate", JDBCType.VARCHAR); - - public final SqlColumn checkdate = column("checkdate", JDBCType.VARCHAR); - - public final SqlColumn annexpage = column("annexpage", JDBCType.INTEGER); - - public final SqlColumn sortorder = column("sortorder", JDBCType.VARCHAR); - - public final SqlColumn filefrom = column("filefrom", JDBCType.VARCHAR); - - public final SqlColumn archivestag = column("archivestag", JDBCType.VARCHAR); - - public final SqlColumn adddate = column("adddate", JDBCType.VARCHAR); - - public final SqlColumn editdate = column("editdate", JDBCType.VARCHAR); - - public final SqlColumn time_stamp = column("time_stamp", JDBCType.VARCHAR); - - public final SqlColumn isdel = column("isdel", JDBCType.INTEGER); - - public final SqlColumn downurl = column("downurl", JDBCType.VARCHAR); - - public final SqlColumn filesize = column("filesize", JDBCType.INTEGER); - - public ShareFile() { - super("share_file", ShareFile::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedElementUpdateDetailDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedElementUpdateDetailDynamicSqlSupport.java deleted file mode 100644 index 557a2c5..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedElementUpdateDetailDynamicSqlSupport.java +++ /dev/null @@ -1,64 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class SharedElementUpdateDetailDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source Table: public.shared_element_update_detail") - public static final SharedElementUpdateDetail sharedElementUpdateDetail = new SharedElementUpdateDetail(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.id") - public static final SqlColumn id = sharedElementUpdateDetail.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.update_record_id") - public static final SqlColumn update_record_id = sharedElementUpdateDetail.update_record_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.node_type") - public static final SqlColumn node_type = sharedElementUpdateDetail.node_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.node_id") - public static final SqlColumn node_id = sharedElementUpdateDetail.node_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.share_status") - public static final SqlColumn share_status = sharedElementUpdateDetail.share_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_start_time") - public static final SqlColumn execute_start_time = sharedElementUpdateDetail.execute_start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_end_time") - public static final SqlColumn execute_end_time = sharedElementUpdateDetail.execute_end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_desp") - public static final SqlColumn execute_desp = sharedElementUpdateDetail.execute_desp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_success") - public static final SqlColumn execute_success = sharedElementUpdateDetail.execute_success; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source Table: public.shared_element_update_detail") - public static final class SharedElementUpdateDetail extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn update_record_id = column("update_record_id", JDBCType.VARCHAR); - - public final SqlColumn node_type = column("node_type", JDBCType.INTEGER); - - public final SqlColumn node_id = column("node_id", JDBCType.VARCHAR); - - public final SqlColumn share_status = column("share_status", JDBCType.INTEGER); - - public final SqlColumn execute_start_time = column("execute_start_time", JDBCType.TIMESTAMP); - - public final SqlColumn execute_end_time = column("execute_end_time", JDBCType.TIMESTAMP); - - public final SqlColumn execute_desp = column("execute_desp", JDBCType.VARCHAR); - - public final SqlColumn execute_success = column("execute_success", JDBCType.INTEGER); - - public SharedElementUpdateDetail() { - super("shared_element_update_detail", SharedElementUpdateDetail::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedElementUpdateRecordDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedElementUpdateRecordDynamicSqlSupport.java deleted file mode 100644 index 659622c..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedElementUpdateRecordDynamicSqlSupport.java +++ /dev/null @@ -1,89 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class SharedElementUpdateRecordDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9401749+08:00", comments="Source Table: public.shared_element_update_record") - public static final SharedElementUpdateRecord sharedElementUpdateRecord = new SharedElementUpdateRecord(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9411735+08:00", comments="Source field: public.shared_element_update_record.id") - public static final SqlColumn id = sharedElementUpdateRecord.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.share_rule_id") - public static final SqlColumn share_rule_id = sharedElementUpdateRecord.share_rule_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.user_id") - public static final SqlColumn user_id = sharedElementUpdateRecord.user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.desp") - public static final SqlColumn desp = sharedElementUpdateRecord.desp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.create_time") - public static final SqlColumn create_time = sharedElementUpdateRecord.create_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.node_count") - public static final SqlColumn node_count = sharedElementUpdateRecord.node_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.source") - public static final SqlColumn source = sharedElementUpdateRecord.source; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.execute_start_time") - public static final SqlColumn execute_start_time = sharedElementUpdateRecord.execute_start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.execute_end_time") - public static final SqlColumn execute_end_time = sharedElementUpdateRecord.execute_end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.execute_desp") - public static final SqlColumn execute_desp = sharedElementUpdateRecord.execute_desp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.execute_status") - public static final SqlColumn execute_status = sharedElementUpdateRecord.execute_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.succ_exec_node_count") - public static final SqlColumn succ_exec_node_count = sharedElementUpdateRecord.succ_exec_node_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.act_node_count") - public static final SqlColumn act_node_count = sharedElementUpdateRecord.act_node_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9421749+08:00", comments="Source field: public.shared_element_update_record.execute_count") - public static final SqlColumn execute_count = sharedElementUpdateRecord.execute_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9411735+08:00", comments="Source Table: public.shared_element_update_record") - public static final class SharedElementUpdateRecord extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn share_rule_id = column("share_rule_id", JDBCType.VARCHAR); - - public final SqlColumn user_id = column("user_id", JDBCType.VARCHAR); - - public final SqlColumn desp = column("desp", JDBCType.VARCHAR); - - public final SqlColumn create_time = column("create_time", JDBCType.TIMESTAMP); - - public final SqlColumn node_count = column("node_count", JDBCType.BIGINT); - - public final SqlColumn source = column("source", JDBCType.VARCHAR); - - public final SqlColumn execute_start_time = column("execute_start_time", JDBCType.TIMESTAMP); - - public final SqlColumn execute_end_time = column("execute_end_time", JDBCType.TIMESTAMP); - - public final SqlColumn execute_desp = column("execute_desp", JDBCType.VARCHAR); - - public final SqlColumn execute_status = column("execute_status", JDBCType.INTEGER); - - public final SqlColumn succ_exec_node_count = column("succ_exec_node_count", JDBCType.INTEGER); - - public final SqlColumn act_node_count = column("act_node_count", JDBCType.INTEGER); - - public final SqlColumn execute_count = column("execute_count", JDBCType.INTEGER); - - public SharedElementUpdateRecord() { - super("shared_element_update_record", SharedElementUpdateRecord::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedRuleConfigDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedRuleConfigDynamicSqlSupport.java deleted file mode 100644 index db8bccc..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedRuleConfigDynamicSqlSupport.java +++ /dev/null @@ -1,48 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class SharedRuleConfigDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source Table: public.shared_rule_config") - public static final SharedRuleConfig sharedRuleConfig = new SharedRuleConfig(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.id") - public static final SqlColumn id = sharedRuleConfig.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source field: public.shared_rule_config.name") - public static final SqlColumn name = sharedRuleConfig.name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source field: public.shared_rule_config.describe") - public static final SqlColumn describe = sharedRuleConfig.describe; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source field: public.shared_rule_config.status") - public static final SqlColumn status = sharedRuleConfig.status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source field: public.shared_rule_config.sort") - public static final SqlColumn sort = sharedRuleConfig.sort; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3131471+08:00", comments="Source field: public.shared_rule_config.project_name") - public static final SqlColumn project_name = sharedRuleConfig.project_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source Table: public.shared_rule_config") - public static final class SharedRuleConfig extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn name = column("name", JDBCType.VARCHAR); - - public final SqlColumn describe = column("describe", JDBCType.VARCHAR); - - public final SqlColumn status = column("status", JDBCType.INTEGER); - - public final SqlColumn sort = column("sort", JDBCType.INTEGER); - - public final SqlColumn project_name = column("project_name", JDBCType.VARCHAR); - - public SharedRuleConfig() { - super("shared_rule_config", SharedRuleConfig::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedSynAllDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedSynAllDynamicSqlSupport.java deleted file mode 100644 index d706539..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SharedSynAllDynamicSqlSupport.java +++ /dev/null @@ -1,63 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class SharedSynAllDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - public static final SharedSynAll sharedSynAll = new SharedSynAll(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source field: public.shared_syn_all.id") - public static final SqlColumn id = sharedSynAll.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source field: public.shared_syn_all.syn_id") - public static final SqlColumn syn_id = sharedSynAll.syn_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source field: public.shared_syn_all.syn_type") - public static final SqlColumn syn_type = sharedSynAll.syn_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source field: public.shared_syn_all.is_config_rule") - public static final SqlColumn is_config_rule = sharedSynAll.is_config_rule; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source field: public.shared_syn_all.shared_status") - public static final SqlColumn shared_status = sharedSynAll.shared_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source field: public.shared_syn_all.syn_status") - public static final SqlColumn syn_status = sharedSynAll.syn_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source field: public.shared_syn_all.block_number") - public static final SqlColumn block_number = sharedSynAll.block_number; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source field: public.shared_syn_all.block_hash") - public static final SqlColumn block_hash = sharedSynAll.block_hash; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source field: public.shared_syn_all.block_time") - public static final SqlColumn block_time = sharedSynAll.block_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.303149+08:00", comments="Source Table: public.shared_syn_all") - public static final class SharedSynAll extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn syn_id = column("syn_id", JDBCType.VARCHAR); - - public final SqlColumn syn_type = column("syn_type", JDBCType.INTEGER); - - public final SqlColumn is_config_rule = column("is_config_rule", JDBCType.INTEGER); - - public final SqlColumn shared_status = column("shared_status", JDBCType.INTEGER); - - public final SqlColumn syn_status = column("syn_status", JDBCType.INTEGER); - - public final SqlColumn block_number = column("block_number", JDBCType.VARCHAR); - - public final SqlColumn block_hash = column("block_hash", JDBCType.VARCHAR); - - public final SqlColumn block_time = column("block_time", JDBCType.VARCHAR); - - public SharedSynAll() { - super("shared_syn_all", SharedSynAll::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SynDirectoryDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SynDirectoryDynamicSqlSupport.java deleted file mode 100644 index df8c630..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SynDirectoryDynamicSqlSupport.java +++ /dev/null @@ -1,58 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class SynDirectoryDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source Table: public.syn_directory") - public static final SynDirectory synDirectory = new SynDirectory(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.id") - public static final SqlColumn id = synDirectory.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.p_id") - public static final SqlColumn p_id = synDirectory.p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.wbs_id") - public static final SqlColumn wbs_id = synDirectory.wbs_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.time_stamp") - public static final SqlColumn time_stamp = synDirectory.time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.sortorder") - public static final SqlColumn sortorder = synDirectory.sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.tname") - public static final SqlColumn tname = synDirectory.tname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source field: public.syn_directory.subjoin") - public static final SqlColumn subjoin = synDirectory.subjoin; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.509599+08:00", comments="Source field: public.syn_directory.isdel") - public static final SqlColumn isdel = synDirectory.isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source Table: public.syn_directory") - public static final class SynDirectory extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn p_id = column("p_id", JDBCType.VARCHAR); - - public final SqlColumn wbs_id = column("wbs_id", JDBCType.VARCHAR); - - public final SqlColumn time_stamp = column("time_stamp", JDBCType.VARCHAR); - - public final SqlColumn sortorder = column("sortorder", JDBCType.INTEGER); - - public final SqlColumn tname = column("tname", JDBCType.VARCHAR); - - public final SqlColumn subjoin = column("subjoin", JDBCType.INTEGER); - - public final SqlColumn isdel = column("isdel", JDBCType.INTEGER); - - public SynDirectory() { - super("syn_directory", SynDirectory::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SynDirectoryFileDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SynDirectoryFileDynamicSqlSupport.java deleted file mode 100644 index 22fb5b8..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SynDirectoryFileDynamicSqlSupport.java +++ /dev/null @@ -1,123 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class SynDirectoryFileDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4764015+08:00", comments="Source Table: public.syn_directory_file") - public static final SynDirectoryFile synDirectoryFile = new SynDirectoryFile(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4774083+08:00", comments="Source field: public.syn_directory_file.id") - public static final SqlColumn id = synDirectoryFile.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.p_id") - public static final SqlColumn p_id = synDirectoryFile.p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.filesuper") - public static final SqlColumn filesuper = synDirectoryFile.filesuper; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.filecount") - public static final SqlColumn filecount = synDirectoryFile.filecount; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.dutyperson") - public static final SqlColumn dutyperson = synDirectoryFile.dutyperson; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.eweavedate") - public static final SqlColumn eweavedate = synDirectoryFile.eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.filepage") - public static final SqlColumn filepage = synDirectoryFile.filepage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.sortorder") - public static final SqlColumn sortorder = synDirectoryFile.sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.bpeg") - public static final SqlColumn bpeg = synDirectoryFile.bpeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.epeg") - public static final SqlColumn epeg = synDirectoryFile.epeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.filenum") - public static final SqlColumn filenum = synDirectoryFile.filenum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.remark") - public static final SqlColumn remark = synDirectoryFile.remark; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.recordnum") - public static final SqlColumn recordnum = synDirectoryFile.recordnum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.piecenumber") - public static final SqlColumn piecenumber = synDirectoryFile.piecenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.adddate") - public static final SqlColumn adddate = synDirectoryFile.adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.editdate") - public static final SqlColumn editdate = synDirectoryFile.editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.time_stamp") - public static final SqlColumn time_stamp = synDirectoryFile.time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.isdel") - public static final SqlColumn isdel = synDirectoryFile.isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.catalogpdfurl") - public static final SqlColumn catalogpdfurl = synDirectoryFile.catalogpdfurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4785362+08:00", comments="Source field: public.syn_directory_file.signtag") - public static final SqlColumn signtag = synDirectoryFile.signtag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4795789+08:00", comments="Source field: public.syn_directory_file.collecttag") - public static final SqlColumn collecttag = synDirectoryFile.collecttag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4774083+08:00", comments="Source Table: public.syn_directory_file") - public static final class SynDirectoryFile extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn p_id = column("p_id", JDBCType.VARCHAR); - - public final SqlColumn filesuper = column("filesuper", JDBCType.VARCHAR); - - public final SqlColumn filecount = column("filecount", JDBCType.INTEGER); - - public final SqlColumn dutyperson = column("dutyperson", JDBCType.VARCHAR); - - public final SqlColumn eweavedate = column("eweavedate", JDBCType.VARCHAR); - - public final SqlColumn filepage = column("filepage", JDBCType.INTEGER); - - public final SqlColumn sortorder = column("sortorder", JDBCType.VARCHAR); - - public final SqlColumn bpeg = column("bpeg", JDBCType.VARCHAR); - - public final SqlColumn epeg = column("epeg", JDBCType.VARCHAR); - - public final SqlColumn filenum = column("filenum", JDBCType.VARCHAR); - - public final SqlColumn remark = column("remark", JDBCType.VARCHAR); - - public final SqlColumn recordnum = column("recordnum", JDBCType.VARCHAR); - - public final SqlColumn piecenumber = column("piecenumber", JDBCType.VARCHAR); - - public final SqlColumn adddate = column("adddate", JDBCType.VARCHAR); - - public final SqlColumn editdate = column("editdate", JDBCType.VARCHAR); - - public final SqlColumn time_stamp = column("time_stamp", JDBCType.VARCHAR); - - public final SqlColumn isdel = column("isdel", JDBCType.INTEGER); - - public final SqlColumn catalogpdfurl = column("catalogpdfurl", JDBCType.VARCHAR); - - public final SqlColumn signtag = column("signtag", JDBCType.VARCHAR); - - public final SqlColumn collecttag = column("collecttag", JDBCType.VARCHAR); - - public SynDirectoryFile() { - super("syn_directory_file", SynDirectoryFile::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SynFileDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SynFileDynamicSqlSupport.java deleted file mode 100644 index 5d406b0..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SynFileDynamicSqlSupport.java +++ /dev/null @@ -1,103 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class SynFileDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source Table: public.syn_file") - public static final SynFile synFile = new SynFile(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.id") - public static final SqlColumn id = synFile.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.p_id") - public static final SqlColumn p_id = synFile.p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.tablenumber") - public static final SqlColumn tablenumber = synFile.tablenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.annexname") - public static final SqlColumn annexname = synFile.annexname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.projectname") - public static final SqlColumn projectname = synFile.projectname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.eweavedate") - public static final SqlColumn eweavedate = synFile.eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.checkdate") - public static final SqlColumn checkdate = synFile.checkdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.annexpage") - public static final SqlColumn annexpage = synFile.annexpage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.sortorder") - public static final SqlColumn sortorder = synFile.sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.filefrom") - public static final SqlColumn filefrom = synFile.filefrom; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.archivestag") - public static final SqlColumn archivestag = synFile.archivestag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.adddate") - public static final SqlColumn adddate = synFile.adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.editdate") - public static final SqlColumn editdate = synFile.editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.time_stamp") - public static final SqlColumn time_stamp = synFile.time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.isdel") - public static final SqlColumn isdel = synFile.isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.downurl") - public static final SqlColumn downurl = synFile.downurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source field: public.syn_file.filesize") - public static final SqlColumn filesize = synFile.filesize; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5006795+08:00", comments="Source Table: public.syn_file") - public static final class SynFile extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn p_id = column("p_id", JDBCType.VARCHAR); - - public final SqlColumn tablenumber = column("tablenumber", JDBCType.VARCHAR); - - public final SqlColumn annexname = column("annexname", JDBCType.VARCHAR); - - public final SqlColumn projectname = column("projectname", JDBCType.VARCHAR); - - public final SqlColumn eweavedate = column("eweavedate", JDBCType.VARCHAR); - - public final SqlColumn checkdate = column("checkdate", JDBCType.VARCHAR); - - public final SqlColumn annexpage = column("annexpage", JDBCType.INTEGER); - - public final SqlColumn sortorder = column("sortorder", JDBCType.VARCHAR); - - public final SqlColumn filefrom = column("filefrom", JDBCType.VARCHAR); - - public final SqlColumn archivestag = column("archivestag", JDBCType.VARCHAR); - - public final SqlColumn adddate = column("adddate", JDBCType.VARCHAR); - - public final SqlColumn editdate = column("editdate", JDBCType.VARCHAR); - - public final SqlColumn time_stamp = column("time_stamp", JDBCType.VARCHAR); - - public final SqlColumn isdel = column("isdel", JDBCType.INTEGER); - - public final SqlColumn downurl = column("downurl", JDBCType.VARCHAR); - - public final SqlColumn filesize = column("filesize", JDBCType.INTEGER); - - public SynFile() { - super("syn_file", SynFile::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/Sync2blockchainTaskDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/Sync2blockchainTaskDynamicSqlSupport.java deleted file mode 100644 index 8accf65..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/Sync2blockchainTaskDynamicSqlSupport.java +++ /dev/null @@ -1,104 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class Sync2blockchainTaskDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source Table: public.sync2blockchain_task") - public static final Sync2blockchainTask sync2blockchainTask = new Sync2blockchainTask(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.id") - public static final SqlColumn id = sync2blockchainTask.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.start_time") - public static final SqlColumn start_time = sync2blockchainTask.start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.end_time") - public static final SqlColumn end_time = sync2blockchainTask.end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.update_dir_count") - public static final SqlColumn update_dir_count = sync2blockchainTask.update_dir_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.insert_dir_count") - public static final SqlColumn insert_dir_count = sync2blockchainTask.insert_dir_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.remove_dir_count") - public static final SqlColumn remove_dir_count = sync2blockchainTask.remove_dir_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.execute_status") - public static final SqlColumn execute_status = sync2blockchainTask.execute_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.desp") - public static final SqlColumn desp = sync2blockchainTask.desp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.update_dirfile_count") - public static final SqlColumn update_dirfile_count = sync2blockchainTask.update_dirfile_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.insert_dirfile_count") - public static final SqlColumn insert_dirfile_count = sync2blockchainTask.insert_dirfile_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.remove_dirfile_count") - public static final SqlColumn remove_dirfile_count = sync2blockchainTask.remove_dirfile_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.update_file_count") - public static final SqlColumn update_file_count = sync2blockchainTask.update_file_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.insert_file_count") - public static final SqlColumn insert_file_count = sync2blockchainTask.insert_file_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.remove_file_count") - public static final SqlColumn remove_file_count = sync2blockchainTask.remove_file_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.need_process_count") - public static final SqlColumn need_process_count = sync2blockchainTask.need_process_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.processed_count") - public static final SqlColumn processed_count = sync2blockchainTask.processed_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5052829+08:00", comments="Source field: public.sync2blockchain_task.failed_process_count") - public static final SqlColumn failed_process_count = sync2blockchainTask.failed_process_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source Table: public.sync2blockchain_task") - public static final class Sync2blockchainTask extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn start_time = column("start_time", JDBCType.TIMESTAMP); - - public final SqlColumn end_time = column("end_time", JDBCType.TIMESTAMP); - - public final SqlColumn update_dir_count = column("update_dir_count", JDBCType.INTEGER); - - public final SqlColumn insert_dir_count = column("insert_dir_count", JDBCType.INTEGER); - - public final SqlColumn remove_dir_count = column("remove_dir_count", JDBCType.INTEGER); - - public final SqlColumn execute_status = column("execute_status", JDBCType.INTEGER); - - public final SqlColumn desp = column("desp", JDBCType.VARCHAR); - - public final SqlColumn update_dirfile_count = column("update_dirfile_count", JDBCType.INTEGER); - - public final SqlColumn insert_dirfile_count = column("insert_dirfile_count", JDBCType.INTEGER); - - public final SqlColumn remove_dirfile_count = column("remove_dirfile_count", JDBCType.INTEGER); - - public final SqlColumn update_file_count = column("update_file_count", JDBCType.INTEGER); - - public final SqlColumn insert_file_count = column("insert_file_count", JDBCType.INTEGER); - - public final SqlColumn remove_file_count = column("remove_file_count", JDBCType.INTEGER); - - public final SqlColumn need_process_count = column("need_process_count", JDBCType.INTEGER); - - public final SqlColumn processed_count = column("processed_count", JDBCType.INTEGER); - - public final SqlColumn failed_process_count = column("failed_process_count", JDBCType.INTEGER); - - public Sync2blockchainTask() { - super("sync2blockchain_task", Sync2blockchainTask::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminDynamicSqlSupport.java index e341903..8ab7df2 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminDynamicSqlSupport.java @@ -6,85 +6,58 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysAdminDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source Table: yx..sys_admin") public static final SysAdmin sysAdmin = new SysAdmin(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.id") public static final SqlColumn id = sysAdmin.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.org_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.org_id") public static final SqlColumn org_id = sysAdmin.org_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.realname") - public static final SqlColumn realname = sysAdmin.realname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.username") - public static final SqlColumn username = sysAdmin.username; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.password") - public static final SqlColumn password = sysAdmin.password; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.phone") - public static final SqlColumn phone = sysAdmin.phone; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.email") - public static final SqlColumn email = sysAdmin.email; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.job") - public static final SqlColumn job = sysAdmin.job; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.gender") - public static final SqlColumn gender = sysAdmin.gender; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.islock") - public static final SqlColumn islock = sysAdmin.islock; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.type") - public static final SqlColumn type = sysAdmin.type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.sort") - public static final SqlColumn sort = sysAdmin.sort; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.cer_id") - public static final SqlColumn cer_id = sysAdmin.cer_id; - /** * Database Column Remarks: - * 公司ID,组织ID的最高级 + * 0管理员,1普通用户 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source field: public.sys_admin.company_id") - public static final SqlColumn company_id = sysAdmin.company_id; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.type") + public static final SqlColumn type = sysAdmin.type; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2861501+08:00", comments="Source Table: public.sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.realname") + public static final SqlColumn realname = sysAdmin.realname; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.username") + public static final SqlColumn username = sysAdmin.username; + + /** + * Database Column Remarks: + * sha3_256hex + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.password") + public static final SqlColumn password = sysAdmin.password; + + /** + * Database Column Remarks: + * 0正常,1锁定 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.islock") + public static final SqlColumn islock = sysAdmin.islock; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source Table: yx..sys_admin") public static final class SysAdmin extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); public final SqlColumn org_id = column("org_id", JDBCType.VARCHAR); + public final SqlColumn type = column("type", JDBCType.INTEGER); + public final SqlColumn realname = column("realname", JDBCType.VARCHAR); public final SqlColumn username = column("username", JDBCType.VARCHAR); public final SqlColumn password = column("password", JDBCType.VARCHAR); - public final SqlColumn phone = column("phone", JDBCType.VARCHAR); - - public final SqlColumn email = column("email", JDBCType.VARCHAR); - - public final SqlColumn job = column("job", JDBCType.VARCHAR); - - public final SqlColumn gender = column("gender", JDBCType.INTEGER); - public final SqlColumn islock = column("islock", JDBCType.INTEGER); - public final SqlColumn type = column("type", JDBCType.INTEGER); - - public final SqlColumn sort = column("sort", JDBCType.INTEGER); - - public final SqlColumn cer_id = column("cer_id", JDBCType.VARCHAR); - - public final SqlColumn company_id = column("company_id", JDBCType.VARCHAR); - public SysAdmin() { super("sys_admin", SysAdmin::new); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminMenuDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminMenuDynamicSqlSupport.java new file mode 100644 index 0000000..581a702 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminMenuDynamicSqlSupport.java @@ -0,0 +1,33 @@ +package jj.tech.paolu.repository.mybatis.dao.support; + +import jakarta.annotation.Generated; +import java.sql.JDBCType; +import org.mybatis.dynamic.sql.AliasableSqlTable; +import org.mybatis.dynamic.sql.SqlColumn; + +public final class SysAdminMenuDynamicSqlSupport { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + public static final SysAdminMenu sysAdminMenu = new SysAdminMenu(); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source field: yx..sys_admin_menu.id") + public static final SqlColumn id = sysAdminMenu.id; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source field: yx..sys_admin_menu.adminid") + public static final SqlColumn adminid = sysAdminMenu.adminid; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source field: yx..sys_admin_menu.memuid") + public static final SqlColumn memuid = sysAdminMenu.memuid; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + public static final class SysAdminMenu extends AliasableSqlTable { + public final SqlColumn id = column("id", JDBCType.VARCHAR); + + public final SqlColumn adminid = column("adminid", JDBCType.VARCHAR); + + public final SqlColumn memuid = column("memuid", JDBCType.VARCHAR); + + public SysAdminMenu() { + super("sys_admin_menu", SysAdminMenu::new); + } + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminRoleDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminRoleDynamicSqlSupport.java index 63bc7b7..bf53cb0 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminRoleDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminRoleDynamicSqlSupport.java @@ -6,25 +6,25 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysAdminRoleDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4806404+08:00", comments="Source Table: yx..sys_admin_role") public static final SysAdminRole sysAdminRole = new SysAdminRole(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.481639+08:00", comments="Source field: yx..sys_admin_role.id") public static final SqlColumn id = sysAdminRole.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.adminid") - public static final SqlColumn adminid = sysAdminRole.adminid; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.481639+08:00", comments="Source field: yx..sys_admin_role.admin_id") + public static final SqlColumn admin_id = sysAdminRole.admin_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.roleid") - public static final SqlColumn roleid = sysAdminRole.roleid; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.481639+08:00", comments="Source field: yx..sys_admin_role.role_id") + public static final SqlColumn role_id = sysAdminRole.role_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source Table: public.sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.481639+08:00", comments="Source Table: yx..sys_admin_role") public static final class SysAdminRole extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); - public final SqlColumn adminid = column("adminid", JDBCType.VARCHAR); + public final SqlColumn admin_id = column("admin_id", JDBCType.VARCHAR); - public final SqlColumn roleid = column("roleid", JDBCType.VARCHAR); + public final SqlColumn role_id = column("role_id", JDBCType.INTEGER); public SysAdminRole() { super("sys_admin_role", SysAdminRole::new); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminWeidDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminWeidDynamicSqlSupport.java deleted file mode 100644 index 904ed72..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminWeidDynamicSqlSupport.java +++ /dev/null @@ -1,58 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import java.time.LocalDateTime; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class SysAdminWeidDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source Table: public.sys_admin_weid") - public static final SysAdminWeid sysAdminWeid = new SysAdminWeid(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source field: public.sys_admin_weid.id") - public static final SqlColumn id = sysAdminWeid.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source field: public.sys_admin_weid.admin_id") - public static final SqlColumn admin_id = sysAdminWeid.admin_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source field: public.sys_admin_weid.wid") - public static final SqlColumn wid = sysAdminWeid.wid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source field: public.sys_admin_weid.wprivate_key") - public static final SqlColumn wprivate_key = sysAdminWeid.wprivate_key; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source field: public.sys_admin_weid.add_time") - public static final SqlColumn add_time = sysAdminWeid.add_time; - - /** - * Database Column Remarks: - * 存证哈希 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source field: public.sys_admin_weid.certificate_hash") - public static final SqlColumn certificate_hash = sysAdminWeid.certificate_hash; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2841505+08:00", comments="Source field: public.sys_admin_weid.chain_block") - public static final SqlColumn chain_block = sysAdminWeid.chain_block; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source Table: public.sys_admin_weid") - public static final class SysAdminWeid extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn admin_id = column("admin_id", JDBCType.VARCHAR); - - public final SqlColumn wid = column("wid", JDBCType.VARCHAR); - - public final SqlColumn wprivate_key = column("wprivate_key", JDBCType.VARCHAR); - - public final SqlColumn add_time = column("add_time", JDBCType.TIMESTAMP); - - public final SqlColumn certificate_hash = column("certificate_hash", JDBCType.VARCHAR); - - public final SqlColumn chain_block = column("chain_block", JDBCType.VARCHAR); - - public SysAdminWeid() { - super("sys_admin_weid", SysAdminWeid::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAreaDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAreaDynamicSqlSupport.java deleted file mode 100644 index 1be2701..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAreaDynamicSqlSupport.java +++ /dev/null @@ -1,53 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class SysAreaDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - public static final SysArea sysArea = new SysArea(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.id") - public static final SqlColumn id = sysArea.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.level_code") - public static final SqlColumn level_code = sysArea.level_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.parent_code") - public static final SqlColumn parent_code = sysArea.parent_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.area_code") - public static final SqlColumn area_code = sysArea.area_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.name") - public static final SqlColumn name = sysArea.name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.pid") - public static final SqlColumn pid = sysArea.pid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.pids") - public static final SqlColumn pids = sysArea.pids; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source Table: public.sys_area") - public static final class SysArea extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn level_code = column("level_code", JDBCType.SMALLINT); - - public final SqlColumn parent_code = column("parent_code", JDBCType.VARCHAR); - - public final SqlColumn area_code = column("area_code", JDBCType.VARCHAR); - - public final SqlColumn name = column("name", JDBCType.VARCHAR); - - public final SqlColumn pid = column("pid", JDBCType.VARCHAR); - - public final SqlColumn pids = column("pids", JDBCType.VARCHAR); - - public SysArea() { - super("sys_area", SysArea::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysConfigDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysConfigDynamicSqlSupport.java index 7aff486..fcd036b 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysConfigDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysConfigDynamicSqlSupport.java @@ -7,37 +7,61 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysConfigDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source Table: yx..sys_config") public static final SysConfig sysConfig = new SysConfig(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source field: public.sys_config.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.id") public static final SqlColumn id = sysConfig.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source field: public.sys_config.subgroup") + /** + * Database Column Remarks: + * 分组 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.subgroup") public static final SqlColumn subgroup = sysConfig.subgroup; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source field: public.sys_config.keys") - public static final SqlColumn keys = sysConfig.keys; + /** + * Database Column Remarks: + * 键 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.k") + public static final SqlColumn k = sysConfig.k; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source field: public.sys_config.val") + /** + * Database Column Remarks: + * 值 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.val") public static final SqlColumn val = sysConfig.val; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source field: public.sys_config.admin_id") + /** + * Database Column Remarks: + * 管理员id + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.admin_id") public static final SqlColumn admin_id = sysConfig.admin_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source field: public.sys_config.adminname") + /** + * Database Column Remarks: + * 管理员名称 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.adminname") public static final SqlColumn adminname = sysConfig.adminname; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source field: public.sys_config.edittime") + /** + * Database Column Remarks: + * 最后编辑时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.edittime") public static final SqlColumn edittime = sysConfig.edittime; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source Table: public.sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source Table: yx..sys_config") public static final class SysConfig extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); public final SqlColumn subgroup = column("subgroup", JDBCType.VARCHAR); - public final SqlColumn keys = column("keys", JDBCType.VARCHAR); + public final SqlColumn k = column("k", JDBCType.VARCHAR); public final SqlColumn val = column("val", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysMenuDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysMenuDynamicSqlSupport.java index dc61f93..378e4a7 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysMenuDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysMenuDynamicSqlSupport.java @@ -6,43 +6,44 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysMenuDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source Table: yx..sys_menu") public static final SysMenu sysMenu = new SysMenu(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.id") public static final SqlColumn id = sysMenu.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.parent_id") public static final SqlColumn parent_id = sysMenu.parent_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.level") public static final SqlColumn level = sysMenu.level; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.name") public static final SqlColumn name = sysMenu.name; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.types") + /** + * Database Column Remarks: + * menu,url + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.types") public static final SqlColumn types = sysMenu.types; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.url") public static final SqlColumn url = sysMenu.url; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.icon") public static final SqlColumn icon = sysMenu.icon; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.is_open") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.is_open") public static final SqlColumn is_open = sysMenu.is_open; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source field: public.sys_menu.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.description") public static final SqlColumn description = sysMenu.description; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source field: public.sys_menu.sort") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.sort") public static final SqlColumn sort = sysMenu.sort; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.309148+08:00", comments="Source field: public.sys_menu.parentpath") - public static final SqlColumn parentpath = sysMenu.parentpath; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source Table: public.sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source Table: yx..sys_menu") public static final class SysMenu extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); @@ -64,8 +65,6 @@ public final class SysMenuDynamicSqlSupport { public final SqlColumn sort = column("sort", JDBCType.INTEGER); - public final SqlColumn parentpath = column("parentpath", JDBCType.VARCHAR); - public SysMenu() { super("sys_menu", SysMenu::new); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysOrgDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysOrgDynamicSqlSupport.java index 95908b4..69156b9 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysOrgDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysOrgDynamicSqlSupport.java @@ -2,166 +2,35 @@ package jj.tech.paolu.repository.mybatis.dao.support; import jakarta.annotation.Generated; import java.sql.JDBCType; -import java.time.LocalDateTime; import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysOrgDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source Table: yx..sys_org") public static final SysOrg sysOrg = new SysOrg(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.id") public static final SqlColumn id = sysOrg.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source field: yx..sys_org.pid") public static final SqlColumn pid = sysOrg.pid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.chinese_simple_name") - public static final SqlColumn chinese_simple_name = sysOrg.chinese_simple_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.english_simple_name") - public static final SqlColumn english_simple_name = sysOrg.english_simple_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.chinese_full_name") - public static final SqlColumn chinese_full_name = sysOrg.chinese_full_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.english_full_name") - public static final SqlColumn english_full_name = sysOrg.english_full_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.code") - public static final SqlColumn code = sysOrg.code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.sort") - public static final SqlColumn sort = sysOrg.sort; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.status") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source field: yx..sys_org.status") public static final SqlColumn status = sysOrg.status; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.is_company_department") - public static final SqlColumn is_company_department = sysOrg.is_company_department; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.enterprise_legal_person") - public static final SqlColumn enterprise_legal_person = sysOrg.enterprise_legal_person; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.contact_person") - public static final SqlColumn contact_person = sysOrg.contact_person; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.contact_phone") - public static final SqlColumn contact_phone = sysOrg.contact_phone; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.remark") - public static final SqlColumn remark = sysOrg.remark; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.create_time") - public static final SqlColumn create_time = sysOrg.create_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.create_user") - public static final SqlColumn create_user = sysOrg.create_user; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.update_time") - public static final SqlColumn update_time = sysOrg.update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.update_user") - public static final SqlColumn update_user = sysOrg.update_user; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.name") - public static final SqlColumn name = sysOrg.name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.industry_name") - public static final SqlColumn industry_name = sysOrg.industry_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.industry_code") - public static final SqlColumn industry_code = sysOrg.industry_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.province_code") - public static final SqlColumn province_code = sysOrg.province_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.city_code") - public static final SqlColumn city_code = sysOrg.city_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.area_code") - public static final SqlColumn area_code = sysOrg.area_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.addr") - public static final SqlColumn addr = sysOrg.addr; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.uscc") - public static final SqlColumn uscc = sysOrg.uscc; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.org_type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source field: yx..sys_org.org_type") public static final SqlColumn org_type = sysOrg.org_type; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.is_archives_dep") - public static final SqlColumn is_archives_dep = sysOrg.is_archives_dep; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.cer_id") - public static final SqlColumn cer_id = sysOrg.cer_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3201506+08:00", comments="Source field: public.sys_org.is_forbidden") - public static final SqlColumn is_forbidden = sysOrg.is_forbidden; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source Table: public.sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source Table: yx..sys_org") public static final class SysOrg extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); public final SqlColumn pid = column("pid", JDBCType.VARCHAR); - public final SqlColumn chinese_simple_name = column("chinese_simple_name", JDBCType.VARCHAR); - - public final SqlColumn english_simple_name = column("english_simple_name", JDBCType.VARCHAR); - - public final SqlColumn chinese_full_name = column("chinese_full_name", JDBCType.VARCHAR); - - public final SqlColumn english_full_name = column("english_full_name", JDBCType.VARCHAR); - - public final SqlColumn code = column("code", JDBCType.VARCHAR); - - public final SqlColumn sort = column("sort", JDBCType.INTEGER); - public final SqlColumn status = column("status", JDBCType.INTEGER); - public final SqlColumn is_company_department = column("is_company_department", JDBCType.INTEGER); - - public final SqlColumn enterprise_legal_person = column("enterprise_legal_person", JDBCType.VARCHAR); - - public final SqlColumn contact_person = column("contact_person", JDBCType.VARCHAR); - - public final SqlColumn contact_phone = column("contact_phone", JDBCType.VARCHAR); - - public final SqlColumn remark = column("remark", JDBCType.VARCHAR); - - public final SqlColumn create_time = column("create_time", JDBCType.TIMESTAMP); - - public final SqlColumn create_user = column("create_user", JDBCType.VARCHAR); - - public final SqlColumn update_time = column("update_time", JDBCType.TIMESTAMP); - - public final SqlColumn update_user = column("update_user", JDBCType.VARCHAR); - - public final SqlColumn name = column("name", JDBCType.VARCHAR); - - public final SqlColumn industry_name = column("industry_name", JDBCType.VARCHAR); - - public final SqlColumn industry_code = column("industry_code", JDBCType.VARCHAR); - - public final SqlColumn province_code = column("province_code", JDBCType.VARCHAR); - - public final SqlColumn city_code = column("city_code", JDBCType.VARCHAR); - - public final SqlColumn area_code = column("area_code", JDBCType.VARCHAR); - - public final SqlColumn addr = column("addr", JDBCType.VARCHAR); - - public final SqlColumn uscc = column("uscc", JDBCType.VARCHAR); - public final SqlColumn org_type = column("org_type", JDBCType.VARCHAR); - public final SqlColumn is_archives_dep = column("is_archives_dep", JDBCType.INTEGER); - - public final SqlColumn cer_id = column("cer_id", JDBCType.VARCHAR); - - public final SqlColumn is_forbidden = column("is_forbidden", JDBCType.INTEGER); - public SysOrg() { super("sys_org", SysOrg::new); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysResourceDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysResourceDynamicSqlSupport.java new file mode 100644 index 0000000..00e6ebe --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysResourceDynamicSqlSupport.java @@ -0,0 +1,79 @@ +package jj.tech.paolu.repository.mybatis.dao.support; + +import jakarta.annotation.Generated; +import java.sql.JDBCType; +import org.mybatis.dynamic.sql.AliasableSqlTable; +import org.mybatis.dynamic.sql.SqlColumn; + +public final class SysResourceDynamicSqlSupport { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source Table: yx..sys_resource") + public static final SysResource sysResource = new SysResource(); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.id") + public static final SqlColumn id = sysResource.id; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.parent_id") + public static final SqlColumn parent_id = sysResource.parent_id; + + /** + * Database Column Remarks: + * 菜单排列顺序 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.level") + public static final SqlColumn level = sysResource.level; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.name") + public static final SqlColumn name = sysResource.name; + + /** + * Database Column Remarks: + * 资源类型 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.types") + public static final SqlColumn types = sysResource.types; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.url") + public static final SqlColumn url = sysResource.url; + + /** + * Database Column Remarks: + * 菜单图标 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.icon") + public static final SqlColumn icon = sysResource.icon; + + /** + * Database Column Remarks: + * 是否折叠隐藏 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5371817+08:00", comments="Source field: yx..sys_resource.ishide") + public static final SqlColumn ishide = sysResource.ishide; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5371817+08:00", comments="Source field: yx..sys_resource.description") + public static final SqlColumn description = sysResource.description; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source Table: yx..sys_resource") + public static final class SysResource extends AliasableSqlTable { + public final SqlColumn id = column("id", JDBCType.VARCHAR); + + public final SqlColumn parent_id = column("parent_id", JDBCType.VARCHAR); + + public final SqlColumn level = column("level", JDBCType.SMALLINT); + + public final SqlColumn name = column("name", JDBCType.VARCHAR); + + public final SqlColumn types = column("types", JDBCType.VARCHAR); + + public final SqlColumn url = column("url", JDBCType.VARCHAR); + + public final SqlColumn icon = column("icon", JDBCType.VARCHAR); + + public final SqlColumn ishide = column("ishide", JDBCType.TINYINT); + + public final SqlColumn description = column("description", JDBCType.VARCHAR); + + public SysResource() { + super("sys_resource", SysResource::new); + } + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleDynamicSqlSupport.java index ea9d0b6..a31c7f7 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleDynamicSqlSupport.java @@ -6,55 +6,25 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysRoleDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source Table: yx..sys_role") public static final SysRole sysRole = new SysRole(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.id") public static final SqlColumn id = sysRole.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.rolename") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source field: yx..sys_role.rolename") public static final SqlColumn rolename = sysRole.rolename; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.describe") - public static final SqlColumn describe = sysRole.describe; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source field: yx..sys_role.department") + public static final SqlColumn department = sysRole.department; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sort") - public static final SqlColumn sort = sysRole.sort; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.is_open") - public static final SqlColumn is_open = sysRole.is_open; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sign_name") - public static final SqlColumn sign_name = sysRole.sign_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sign_id") - public static final SqlColumn sign_id = sysRole.sign_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.company_id") - public static final SqlColumn company_id = sysRole.company_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.company_name") - public static final SqlColumn company_name = sysRole.company_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source Table: public.sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source Table: yx..sys_role") public static final class SysRole extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); public final SqlColumn rolename = column("rolename", JDBCType.VARCHAR); - public final SqlColumn describe = column("describe", JDBCType.VARCHAR); - - public final SqlColumn sort = column("sort", JDBCType.INTEGER); - - public final SqlColumn is_open = column("is_open", JDBCType.INTEGER); - - public final SqlColumn sign_name = column("sign_name", JDBCType.VARCHAR); - - public final SqlColumn sign_id = column("sign_id", JDBCType.VARCHAR); - - public final SqlColumn company_id = column("company_id", JDBCType.VARCHAR); - - public final SqlColumn company_name = column("company_name", JDBCType.VARCHAR); + public final SqlColumn department = column("department", JDBCType.VARCHAR); public SysRole() { super("sys_role", SysRole::new); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleMenuDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleMenuDynamicSqlSupport.java deleted file mode 100644 index 2ee66b9..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleMenuDynamicSqlSupport.java +++ /dev/null @@ -1,33 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class SysRoleMenuDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source Table: public.sys_role_menu") - public static final SysRoleMenu sysRoleMenu = new SysRoleMenu(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.id") - public static final SqlColumn id = sysRoleMenu.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.roleid") - public static final SqlColumn roleid = sysRoleMenu.roleid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.menuid") - public static final SqlColumn menuid = sysRoleMenu.menuid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source Table: public.sys_role_menu") - public static final class SysRoleMenu extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn roleid = column("roleid", JDBCType.VARCHAR); - - public final SqlColumn menuid = column("menuid", JDBCType.VARCHAR); - - public SysRoleMenu() { - super("sys_role_menu", SysRoleMenu::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleResourceDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleResourceDynamicSqlSupport.java new file mode 100644 index 0000000..e5f582a --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleResourceDynamicSqlSupport.java @@ -0,0 +1,33 @@ +package jj.tech.paolu.repository.mybatis.dao.support; + +import jakarta.annotation.Generated; +import java.sql.JDBCType; +import org.mybatis.dynamic.sql.AliasableSqlTable; +import org.mybatis.dynamic.sql.SqlColumn; + +public final class SysRoleResourceDynamicSqlSupport { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + public static final SysRoleResource sysRoleResource = new SysRoleResource(); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.roleid") + public static final SqlColumn roleid = sysRoleResource.roleid; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.resid") + public static final SqlColumn resid = sysRoleResource.resid; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.id") + public static final SqlColumn id = sysRoleResource.id; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + public static final class SysRoleResource extends AliasableSqlTable { + public final SqlColumn roleid = column("roleid", JDBCType.VARCHAR); + + public final SqlColumn resid = column("resid", JDBCType.VARCHAR); + + public final SqlColumn id = column("id", JDBCType.VARCHAR); + + public SysRoleResource() { + super("sys_role_resource", SysRoleResource::new); + } + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleSignDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleSignDynamicSqlSupport.java deleted file mode 100644 index a0bdd90..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleSignDynamicSqlSupport.java +++ /dev/null @@ -1,33 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class SysRoleSignDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - public static final SysRoleSign sysRoleSign = new SysRoleSign(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.id") - public static final SqlColumn id = sysRoleSign.id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.sign_name") - public static final SqlColumn sign_name = sysRoleSign.sign_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.sign_code") - public static final SqlColumn sign_code = sysRoleSign.sign_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source Table: public.sys_role_sign") - public static final class SysRoleSign extends AliasableSqlTable { - public final SqlColumn id = column("id", JDBCType.VARCHAR); - - public final SqlColumn sign_name = column("sign_name", JDBCType.VARCHAR); - - public final SqlColumn sign_code = column("sign_code", JDBCType.VARCHAR); - - public SysRoleSign() { - super("sys_role_sign", SysRoleSign::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleUrlDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleUrlDynamicSqlSupport.java index bb8ba21..2e8d5e7 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleUrlDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleUrlDynamicSqlSupport.java @@ -6,22 +6,30 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysRoleUrlDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source Table: yx..sys_role_url") public static final SysRoleUrl sysRoleUrl = new SysRoleUrl(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.id") public static final SqlColumn id = sysRoleUrl.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.roleid") public static final SqlColumn roleid = sysRoleUrl.roleid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.url") + /** + * Database Column Remarks: + * 对应sys_urls的url + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.url") public static final SqlColumn url = sysRoleUrl.url; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.urltypes") + /** + * Database Column Remarks: + * 1:url,2:菜单 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.urltypes") public static final SqlColumn urltypes = sysRoleUrl.urltypes; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source Table: public.sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source Table: yx..sys_role_url") public static final class SysRoleUrl extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysUrlsDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysUrlsDynamicSqlSupport.java index 9794303..7636009 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysUrlsDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysUrlsDynamicSqlSupport.java @@ -6,35 +6,47 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysUrlsDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source Table: yx..sys_urls") public static final SysUrls sysUrls = new SysUrls(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.id") public static final SqlColumn id = sysUrls.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.pid") - public static final SqlColumn pid = sysUrls.pid; + /** + * Database Column Remarks: + * 父类id + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.pid") + public static final SqlColumn pid = sysUrls.pid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.types") + /** + * Database Column Remarks: + * 1:url,2:菜单 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.types") public static final SqlColumn types = sysUrls.types; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.level") + /** + * Database Column Remarks: + * 0:url,1:一级菜单, 2:二级菜单 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.level") public static final SqlColumn level = sysUrls.level; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.url") public static final SqlColumn url = sysUrls.url; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.name") public static final SqlColumn name = sysUrls.name; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.method") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.method") public static final SqlColumn method = sysUrls.method; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source Table: public.sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source Table: yx..sys_urls") public static final class SysUrls extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); - public final SqlColumn pid = column("pid", JDBCType.VARCHAR); + public final SqlColumn pid = column("pid", JDBCType.INTEGER); public final SqlColumn types = column("types", JDBCType.INTEGER); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/WbDirectoryDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/WbDirectoryDynamicSqlSupport.java deleted file mode 100644 index 1d6c925..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/WbDirectoryDynamicSqlSupport.java +++ /dev/null @@ -1,58 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class WbDirectoryDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source Table: public.wb_directory") - public static final WbDirectory wbDirectory = new WbDirectory(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.kid") - public static final SqlColumn kid = wbDirectory.kid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.parentID") - public static final SqlColumn parentID = wbDirectory.parentID; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.time_stamp") - public static final SqlColumn time_stamp = wbDirectory.time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.sortOrder") - public static final SqlColumn sortOrder = wbDirectory.sortOrder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.tname") - public static final SqlColumn tname = wbDirectory.tname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.subjoin") - public static final SqlColumn subjoin = wbDirectory.subjoin; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.isdel") - public static final SqlColumn isdel = wbDirectory.isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.wbs_id") - public static final SqlColumn wbs_id = wbDirectory.wbs_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source Table: public.wb_directory") - public static final class WbDirectory extends AliasableSqlTable { - public final SqlColumn kid = column("kid", JDBCType.VARCHAR); - - public final SqlColumn parentID = column("\"parentID\"", JDBCType.VARCHAR); - - public final SqlColumn time_stamp = column("time_stamp", JDBCType.VARCHAR); - - public final SqlColumn sortOrder = column("\"sortOrder\"", JDBCType.INTEGER); - - public final SqlColumn tname = column("tname", JDBCType.VARCHAR); - - public final SqlColumn subjoin = column("subjoin", JDBCType.INTEGER); - - public final SqlColumn isdel = column("isdel", JDBCType.INTEGER); - - public final SqlColumn wbs_id = column("wbs_id", JDBCType.INTEGER); - - public WbDirectory() { - super("wb_directory", WbDirectory::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/WbDirectoryFileDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/WbDirectoryFileDynamicSqlSupport.java deleted file mode 100644 index 281e404..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/WbDirectoryFileDynamicSqlSupport.java +++ /dev/null @@ -1,123 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class WbDirectoryFileDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source Table: public.wb_directory_file") - public static final WbDirectoryFile wbDirectoryFile = new WbDirectoryFile(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.kid") - public static final SqlColumn kid = wbDirectoryFile.kid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.sortID") - public static final SqlColumn sortID = wbDirectoryFile.sortID; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.fileSuper") - public static final SqlColumn fileSuper = wbDirectoryFile.fileSuper; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.fileCount") - public static final SqlColumn fileCount = wbDirectoryFile.fileCount; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.dutyPerson") - public static final SqlColumn dutyPerson = wbDirectoryFile.dutyPerson; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.eWeaveDate") - public static final SqlColumn eWeaveDate = wbDirectoryFile.eWeaveDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.filePage") - public static final SqlColumn filePage = wbDirectoryFile.filePage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.sortOrder") - public static final SqlColumn sortOrder = wbDirectoryFile.sortOrder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.bPeg") - public static final SqlColumn bPeg = wbDirectoryFile.bPeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.ePeg") - public static final SqlColumn ePeg = wbDirectoryFile.ePeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source field: public.wb_directory_file.fileNum") - public static final SqlColumn fileNum = wbDirectoryFile.fileNum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source field: public.wb_directory_file.remark") - public static final SqlColumn remark = wbDirectoryFile.remark; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source field: public.wb_directory_file.recordNum") - public static final SqlColumn recordNum = wbDirectoryFile.recordNum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source field: public.wb_directory_file.pieceNumber") - public static final SqlColumn pieceNumber = wbDirectoryFile.pieceNumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source field: public.wb_directory_file.addDate") - public static final SqlColumn addDate = wbDirectoryFile.addDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source field: public.wb_directory_file.editDate") - public static final SqlColumn editDate = wbDirectoryFile.editDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source field: public.wb_directory_file.time_stamp") - public static final SqlColumn time_stamp = wbDirectoryFile.time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source field: public.wb_directory_file.isDel") - public static final SqlColumn isDel = wbDirectoryFile.isDel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source field: public.wb_directory_file.catalogPdfURL") - public static final SqlColumn catalogPdfURL = wbDirectoryFile.catalogPdfURL; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source field: public.wb_directory_file.signTag") - public static final SqlColumn signTag = wbDirectoryFile.signTag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6330132+08:00", comments="Source field: public.wb_directory_file.collectTag") - public static final SqlColumn collectTag = wbDirectoryFile.collectTag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source Table: public.wb_directory_file") - public static final class WbDirectoryFile extends AliasableSqlTable { - public final SqlColumn kid = column("kid", JDBCType.VARCHAR); - - public final SqlColumn sortID = column("\"sortID\"", JDBCType.VARCHAR); - - public final SqlColumn fileSuper = column("\"fileSuper\"", JDBCType.VARCHAR); - - public final SqlColumn fileCount = column("\"fileCount\"", JDBCType.INTEGER); - - public final SqlColumn dutyPerson = column("\"dutyPerson\"", JDBCType.VARCHAR); - - public final SqlColumn eWeaveDate = column("\"eWeaveDate\"", JDBCType.VARCHAR); - - public final SqlColumn filePage = column("\"filePage\"", JDBCType.INTEGER); - - public final SqlColumn sortOrder = column("\"sortOrder\"", JDBCType.VARCHAR); - - public final SqlColumn bPeg = column("\"bPeg\"", JDBCType.VARCHAR); - - public final SqlColumn ePeg = column("\"ePeg\"", JDBCType.VARCHAR); - - public final SqlColumn fileNum = column("\"fileNum\"", JDBCType.VARCHAR); - - public final SqlColumn remark = column("remark", JDBCType.VARCHAR); - - public final SqlColumn recordNum = column("\"recordNum\"", JDBCType.VARCHAR); - - public final SqlColumn pieceNumber = column("\"pieceNumber\"", JDBCType.VARCHAR); - - public final SqlColumn addDate = column("\"addDate\"", JDBCType.VARCHAR); - - public final SqlColumn editDate = column("\"editDate\"", JDBCType.VARCHAR); - - public final SqlColumn time_stamp = column("time_stamp", JDBCType.VARCHAR); - - public final SqlColumn isDel = column("\"isDel\"", JDBCType.INTEGER); - - public final SqlColumn catalogPdfURL = column("\"catalogPdfURL\"", JDBCType.VARCHAR); - - public final SqlColumn signTag = column("\"signTag\"", JDBCType.VARCHAR); - - public final SqlColumn collectTag = column("\"collectTag\"", JDBCType.VARCHAR); - - public WbDirectoryFile() { - super("wb_directory_file", WbDirectoryFile::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/WbFileDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/WbFileDynamicSqlSupport.java deleted file mode 100644 index afda72e..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/WbFileDynamicSqlSupport.java +++ /dev/null @@ -1,103 +0,0 @@ -package jj.tech.paolu.repository.mybatis.dao.support; - -import jakarta.annotation.Generated; -import java.sql.JDBCType; -import org.mybatis.dynamic.sql.AliasableSqlTable; -import org.mybatis.dynamic.sql.SqlColumn; - -public final class WbFileDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6102916+08:00", comments="Source Table: public.wb_file") - public static final WbFile wbFile = new WbFile(); - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6113483+08:00", comments="Source field: public.wb_file.kid") - public static final SqlColumn kid = wbFile.kid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.catalogID") - public static final SqlColumn catalogID = wbFile.catalogID; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.tableName") - public static final SqlColumn tableName = wbFile.tableName; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.annexName") - public static final SqlColumn annexName = wbFile.annexName; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.projectName") - public static final SqlColumn projectName = wbFile.projectName; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.eweaveDate") - public static final SqlColumn eweaveDate = wbFile.eweaveDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.checkDate") - public static final SqlColumn checkDate = wbFile.checkDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.annexPage") - public static final SqlColumn annexPage = wbFile.annexPage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.sortOrder") - public static final SqlColumn sortOrder = wbFile.sortOrder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.fileFrom") - public static final SqlColumn fileFrom = wbFile.fileFrom; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.archivestag") - public static final SqlColumn archivestag = wbFile.archivestag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.addDate") - public static final SqlColumn addDate = wbFile.addDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.editDate") - public static final SqlColumn editDate = wbFile.editDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.time_stamp") - public static final SqlColumn time_stamp = wbFile.time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.isDel") - public static final SqlColumn isDel = wbFile.isDel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.downURL") - public static final SqlColumn downURL = wbFile.downURL; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6123918+08:00", comments="Source field: public.wb_file.filesize") - public static final SqlColumn filesize = wbFile.filesize; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6113483+08:00", comments="Source Table: public.wb_file") - public static final class WbFile extends AliasableSqlTable { - public final SqlColumn kid = column("kid", JDBCType.VARCHAR); - - public final SqlColumn catalogID = column("\"catalogID\"", JDBCType.VARCHAR); - - public final SqlColumn tableName = column("\"tableName\"", JDBCType.VARCHAR); - - public final SqlColumn annexName = column("\"annexName\"", JDBCType.VARCHAR); - - public final SqlColumn projectName = column("\"projectName\"", JDBCType.VARCHAR); - - public final SqlColumn eweaveDate = column("\"eweaveDate\"", JDBCType.VARCHAR); - - public final SqlColumn checkDate = column("\"checkDate\"", JDBCType.VARCHAR); - - public final SqlColumn annexPage = column("\"annexPage\"", JDBCType.INTEGER); - - public final SqlColumn sortOrder = column("\"sortOrder\"", JDBCType.VARCHAR); - - public final SqlColumn fileFrom = column("\"fileFrom\"", JDBCType.VARCHAR); - - public final SqlColumn archivestag = column("\"archivestag\"", JDBCType.VARCHAR); - - public final SqlColumn addDate = column("\"addDate\"", JDBCType.VARCHAR); - - public final SqlColumn editDate = column("\"editDate\"", JDBCType.VARCHAR); - - public final SqlColumn time_stamp = column("time_stamp", JDBCType.VARCHAR); - - public final SqlColumn isDel = column("\"isDel\"", JDBCType.INTEGER); - - public final SqlColumn downURL = column("\"downURL\"", JDBCType.VARCHAR); - - public final SqlColumn filesize = column("filesize", JDBCType.INTEGER); - - public WbFile() { - super("wb_file", WbFile::new); - } - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ArchiveSynLog.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/ArchiveSynLog.java deleted file mode 100644 index 71e30ed..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ArchiveSynLog.java +++ /dev/null @@ -1,182 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 从电子档案系统同步档案目录数据的过程日志 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.archive_syn_log - */ -public class ArchiveSynLog { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.start_time") - private LocalDateTime start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.insert_dir_count") - private Long insert_dir_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.update_dir_count") - private Long update_dir_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.insert_dirfile_count") - private Long insert_dirfile_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.update_dirfile_count") - private Long update_dirfile_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.insert_file_count") - private Long insert_file_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.update_file_count") - private Long update_file_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.description") - private String description; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.run_result") - private String run_result; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.update_timestamp") - private Long update_timestamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.next_update_timestamp") - private Long next_update_timestamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.end_time") - private LocalDateTime end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.start_time") - public LocalDateTime getStart_time() { - return start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.start_time") - public void setStart_time(LocalDateTime start_time) { - this.start_time = start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.insert_dir_count") - public Long getInsert_dir_count() { - return insert_dir_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.insert_dir_count") - public void setInsert_dir_count(Long insert_dir_count) { - this.insert_dir_count = insert_dir_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.update_dir_count") - public Long getUpdate_dir_count() { - return update_dir_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.update_dir_count") - public void setUpdate_dir_count(Long update_dir_count) { - this.update_dir_count = update_dir_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.insert_dirfile_count") - public Long getInsert_dirfile_count() { - return insert_dirfile_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.insert_dirfile_count") - public void setInsert_dirfile_count(Long insert_dirfile_count) { - this.insert_dirfile_count = insert_dirfile_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.update_dirfile_count") - public Long getUpdate_dirfile_count() { - return update_dirfile_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.update_dirfile_count") - public void setUpdate_dirfile_count(Long update_dirfile_count) { - this.update_dirfile_count = update_dirfile_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.insert_file_count") - public Long getInsert_file_count() { - return insert_file_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.insert_file_count") - public void setInsert_file_count(Long insert_file_count) { - this.insert_file_count = insert_file_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.28715+08:00", comments="Source field: public.archive_syn_log.update_file_count") - public Long getUpdate_file_count() { - return update_file_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.update_file_count") - public void setUpdate_file_count(Long update_file_count) { - this.update_file_count = update_file_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.description") - public String getDescription() { - return description; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.description") - public void setDescription(String description) { - this.description = description == null ? null : description.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.run_result") - public String getRun_result() { - return run_result; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.run_result") - public void setRun_result(String run_result) { - this.run_result = run_result == null ? null : run_result.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.update_timestamp") - public Long getUpdate_timestamp() { - return update_timestamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.update_timestamp") - public void setUpdate_timestamp(Long update_timestamp) { - this.update_timestamp = update_timestamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.next_update_timestamp") - public Long getNext_update_timestamp() { - return next_update_timestamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.next_update_timestamp") - public void setNext_update_timestamp(Long next_update_timestamp) { - this.next_update_timestamp = next_update_timestamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.end_time") - public LocalDateTime getEnd_time() { - return end_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2881514+08:00", comments="Source field: public.archive_syn_log.end_time") - public void setEnd_time(LocalDateTime end_time) { - this.end_time = end_time; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ArchiveSynLogDetail.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/ArchiveSynLogDetail.java deleted file mode 100644 index 67aee33..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ArchiveSynLogDetail.java +++ /dev/null @@ -1,91 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 从电子档案系统同步数据的详情记录,记录新增了哪些数据,修改了哪些数据。因为使用isDel属性来记录删除,所以删除了数据也归属到更新中 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.archive_syn_log_detail - */ -public class ArchiveSynLogDetail { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6406196+08:00", comments="Source field: public.archive_syn_log_detail.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.node_id") - private String node_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.note_type") - private Integer note_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.process_type") - private Integer process_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.create_time") - private LocalDateTime create_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.log_id") - private String log_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.node_id") - public String getNode_id() { - return node_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.node_id") - public void setNode_id(String node_id) { - this.node_id = node_id == null ? null : node_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.note_type") - public Integer getNote_type() { - return note_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.note_type") - public void setNote_type(Integer note_type) { - this.note_type = note_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.process_type") - public Integer getProcess_type() { - return process_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.process_type") - public void setProcess_type(Integer process_type) { - this.process_type = process_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.create_time") - public LocalDateTime getCreate_time() { - return create_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.create_time") - public void setCreate_time(LocalDateTime create_time) { - this.create_time = create_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.log_id") - public String getLog_id() { - return log_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T11:36:17.6416463+08:00", comments="Source field: public.archive_syn_log_detail.log_id") - public void setLog_id(String log_id) { - this.log_id = log_id == null ? null : log_id.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ArchiveSynTimestamp.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/ArchiveSynTimestamp.java deleted file mode 100644 index 5349db2..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ArchiveSynTimestamp.java +++ /dev/null @@ -1,51 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * Database Table Remarks: - * 记录获取每个分类目录下文件目录,以及获取每个文件目录下文件时使用的时间戳。避免重复同步引起后续的重复上链 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.archive_syn_timestamp - */ -public class ArchiveSynTimestamp { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.6984219+08:00", comments="Source field: public.archive_syn_timestamp.node_id") - private String node_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.6994214+08:00", comments="Source field: public.archive_syn_timestamp.node_type") - private Integer node_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.6994214+08:00", comments="Source field: public.archive_syn_timestamp.timestamp") - private String timestamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.6984219+08:00", comments="Source field: public.archive_syn_timestamp.node_id") - public String getNode_id() { - return node_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.6994214+08:00", comments="Source field: public.archive_syn_timestamp.node_id") - public void setNode_id(String node_id) { - this.node_id = node_id == null ? null : node_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.6994214+08:00", comments="Source field: public.archive_syn_timestamp.node_type") - public Integer getNode_type() { - return node_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.6994214+08:00", comments="Source field: public.archive_syn_timestamp.node_type") - public void setNode_type(Integer node_type) { - this.node_type = node_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.6994214+08:00", comments="Source field: public.archive_syn_timestamp.timestamp") - public String getTimestamp() { - return timestamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T20:53:02.6994214+08:00", comments="Source field: public.archive_syn_timestamp.timestamp") - public void setTimestamp(String timestamp) { - this.timestamp = timestamp == null ? null : timestamp.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/CertificateApply.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/CertificateApply.java deleted file mode 100644 index cf5e402..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/CertificateApply.java +++ /dev/null @@ -1,232 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.certificate_apply - */ -public class CertificateApply { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.is_org") - private Integer is_org; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_id") - private String user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_name") - private String user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_real_name") - private String user_real_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_phone") - private String user_phone; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_org_id") - private String user_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_org_name") - private String user_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_type") - private Integer apply_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.status") - private Integer status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_time") - private LocalDateTime apply_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_finish_time") - private LocalDateTime apply_finish_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_reason") - private String apply_reason; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.next_check_org_id") - private String next_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.end_check_org_id") - private String end_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.cer_id") - private String cer_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.company_id") - private String company_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.is_org") - public Integer getIs_org() { - return is_org; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.is_org") - public void setIs_org(Integer is_org) { - this.is_org = is_org; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_id") - public String getUser_id() { - return user_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_id") - public void setUser_id(String user_id) { - this.user_id = user_id == null ? null : user_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_name") - public String getUser_name() { - return user_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_name") - public void setUser_name(String user_name) { - this.user_name = user_name == null ? null : user_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_real_name") - public String getUser_real_name() { - return user_real_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_real_name") - public void setUser_real_name(String user_real_name) { - this.user_real_name = user_real_name == null ? null : user_real_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_phone") - public String getUser_phone() { - return user_phone; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_phone") - public void setUser_phone(String user_phone) { - this.user_phone = user_phone == null ? null : user_phone.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_org_id") - public String getUser_org_id() { - return user_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_org_id") - public void setUser_org_id(String user_org_id) { - this.user_org_id = user_org_id == null ? null : user_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_org_name") - public String getUser_org_name() { - return user_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.user_org_name") - public void setUser_org_name(String user_org_name) { - this.user_org_name = user_org_name == null ? null : user_org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_type") - public Integer getApply_type() { - return apply_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_type") - public void setApply_type(Integer apply_type) { - this.apply_type = apply_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.status") - public Integer getStatus() { - return status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.status") - public void setStatus(Integer status) { - this.status = status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_time") - public LocalDateTime getApply_time() { - return apply_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_time") - public void setApply_time(LocalDateTime apply_time) { - this.apply_time = apply_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_finish_time") - public LocalDateTime getApply_finish_time() { - return apply_finish_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_finish_time") - public void setApply_finish_time(LocalDateTime apply_finish_time) { - this.apply_finish_time = apply_finish_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_reason") - public String getApply_reason() { - return apply_reason; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.apply_reason") - public void setApply_reason(String apply_reason) { - this.apply_reason = apply_reason == null ? null : apply_reason.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.next_check_org_id") - public String getNext_check_org_id() { - return next_check_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.next_check_org_id") - public void setNext_check_org_id(String next_check_org_id) { - this.next_check_org_id = next_check_org_id == null ? null : next_check_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.end_check_org_id") - public String getEnd_check_org_id() { - return end_check_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.end_check_org_id") - public void setEnd_check_org_id(String end_check_org_id) { - this.end_check_org_id = end_check_org_id == null ? null : end_check_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.cer_id") - public String getCer_id() { - return cer_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.cer_id") - public void setCer_id(String cer_id) { - this.cer_id = cer_id == null ? null : cer_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.company_id") - public String getCompany_id() { - return company_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3101478+08:00", comments="Source field: public.certificate_apply.company_id") - public void setCompany_id(String company_id) { - this.company_id = company_id == null ? null : company_id.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/CertificateApplyRecord.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/CertificateApplyRecord.java deleted file mode 100644 index 15039af..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/CertificateApplyRecord.java +++ /dev/null @@ -1,206 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.certificate_apply_record - */ -public class CertificateApplyRecord { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_id") - private String certificate_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_user_id") - private String certificate_apply_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_user_org_id") - private String certificate_apply_user_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.is_org") - private Integer is_org; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.apply_type") - private Integer apply_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_user_id") - private String check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_user_name") - private String check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_org_id") - private String check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_org_name") - private String check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_describe") - private String check_describe; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_status") - private Integer check_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_time") - private LocalDateTime check_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.next_check_org_id") - private String next_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.next_check_org_name") - private String next_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_id") - public String getCertificate_apply_id() { - return certificate_apply_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_id") - public void setCertificate_apply_id(String certificate_apply_id) { - this.certificate_apply_id = certificate_apply_id == null ? null : certificate_apply_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_user_id") - public String getCertificate_apply_user_id() { - return certificate_apply_user_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_user_id") - public void setCertificate_apply_user_id(String certificate_apply_user_id) { - this.certificate_apply_user_id = certificate_apply_user_id == null ? null : certificate_apply_user_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_user_org_id") - public String getCertificate_apply_user_org_id() { - return certificate_apply_user_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.certificate_apply_user_org_id") - public void setCertificate_apply_user_org_id(String certificate_apply_user_org_id) { - this.certificate_apply_user_org_id = certificate_apply_user_org_id == null ? null : certificate_apply_user_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.is_org") - public Integer getIs_org() { - return is_org; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.is_org") - public void setIs_org(Integer is_org) { - this.is_org = is_org; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.apply_type") - public Integer getApply_type() { - return apply_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.apply_type") - public void setApply_type(Integer apply_type) { - this.apply_type = apply_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_user_id") - public String getCheck_user_id() { - return check_user_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_user_id") - public void setCheck_user_id(String check_user_id) { - this.check_user_id = check_user_id == null ? null : check_user_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_user_name") - public String getCheck_user_name() { - return check_user_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_user_name") - public void setCheck_user_name(String check_user_name) { - this.check_user_name = check_user_name == null ? null : check_user_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_org_id") - public String getCheck_org_id() { - return check_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_org_id") - public void setCheck_org_id(String check_org_id) { - this.check_org_id = check_org_id == null ? null : check_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_org_name") - public String getCheck_org_name() { - return check_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_org_name") - public void setCheck_org_name(String check_org_name) { - this.check_org_name = check_org_name == null ? null : check_org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_describe") - public String getCheck_describe() { - return check_describe; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_describe") - public void setCheck_describe(String check_describe) { - this.check_describe = check_describe == null ? null : check_describe.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_status") - public Integer getCheck_status() { - return check_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_status") - public void setCheck_status(Integer check_status) { - this.check_status = check_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_time") - public LocalDateTime getCheck_time() { - return check_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.check_time") - public void setCheck_time(LocalDateTime check_time) { - this.check_time = check_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.next_check_org_id") - public String getNext_check_org_id() { - return next_check_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.next_check_org_id") - public void setNext_check_org_id(String next_check_org_id) { - this.next_check_org_id = next_check_org_id == null ? null : next_check_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.next_check_org_name") - public String getNext_check_org_name() { - return next_check_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3061472+08:00", comments="Source field: public.certificate_apply_record.next_check_org_name") - public void setNext_check_org_name(String next_check_org_name) { - this.next_check_org_name = next_check_org_name == null ? null : next_check_org_name.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/CertificateDetail.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/CertificateDetail.java deleted file mode 100644 index c2465e4..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/CertificateDetail.java +++ /dev/null @@ -1,195 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 组织证书详情,存储了各个企业上传的来自CA的机构证书的全部数据,并解析出了部分字段,同时包括档案管理系统产生的部分状态字段 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.certificate_detail - */ -public class CertificateDetail { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.certificate_apply_id") - private String certificate_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.work_start_time") - private LocalDateTime work_start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.work_end_time") - private LocalDateTime work_end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.status") - private Integer status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.cert_file_content") - private String cert_file_content; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.is_up_chain") - private Integer is_up_chain; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.weid") - private String weid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.private_key_hex_str") - private String private_key_hex_str; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_serial_number") - private String x509_serial_number; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_subject") - private String x509_subject; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_issuer") - private String x509_issuer; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_public_key") - private String x509_public_key; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_sig_alg_name") - private String x509_sig_alg_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.certificate_apply_id") - public String getCertificate_apply_id() { - return certificate_apply_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.certificate_apply_id") - public void setCertificate_apply_id(String certificate_apply_id) { - this.certificate_apply_id = certificate_apply_id == null ? null : certificate_apply_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.work_start_time") - public LocalDateTime getWork_start_time() { - return work_start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.work_start_time") - public void setWork_start_time(LocalDateTime work_start_time) { - this.work_start_time = work_start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.work_end_time") - public LocalDateTime getWork_end_time() { - return work_end_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.work_end_time") - public void setWork_end_time(LocalDateTime work_end_time) { - this.work_end_time = work_end_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.status") - public Integer getStatus() { - return status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.status") - public void setStatus(Integer status) { - this.status = status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.cert_file_content") - public String getCert_file_content() { - return cert_file_content; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.cert_file_content") - public void setCert_file_content(String cert_file_content) { - this.cert_file_content = cert_file_content == null ? null : cert_file_content.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.is_up_chain") - public Integer getIs_up_chain() { - return is_up_chain; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.is_up_chain") - public void setIs_up_chain(Integer is_up_chain) { - this.is_up_chain = is_up_chain; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.weid") - public String getWeid() { - return weid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.weid") - public void setWeid(String weid) { - this.weid = weid == null ? null : weid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.private_key_hex_str") - public String getPrivate_key_hex_str() { - return private_key_hex_str; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.private_key_hex_str") - public void setPrivate_key_hex_str(String private_key_hex_str) { - this.private_key_hex_str = private_key_hex_str == null ? null : private_key_hex_str.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_serial_number") - public String getX509_serial_number() { - return x509_serial_number; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_serial_number") - public void setX509_serial_number(String x509_serial_number) { - this.x509_serial_number = x509_serial_number == null ? null : x509_serial_number.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_subject") - public String getX509_subject() { - return x509_subject; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_subject") - public void setX509_subject(String x509_subject) { - this.x509_subject = x509_subject == null ? null : x509_subject.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_issuer") - public String getX509_issuer() { - return x509_issuer; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_issuer") - public void setX509_issuer(String x509_issuer) { - this.x509_issuer = x509_issuer == null ? null : x509_issuer.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_public_key") - public String getX509_public_key() { - return x509_public_key; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_public_key") - public void setX509_public_key(String x509_public_key) { - this.x509_public_key = x509_public_key == null ? null : x509_public_key.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_sig_alg_name") - public String getX509_sig_alg_name() { - return x509_sig_alg_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2981487+08:00", comments="Source field: public.certificate_detail.x509_sig_alg_name") - public void setX509_sig_alg_name(String x509_sig_alg_name) { - this.x509_sig_alg_name = x509_sig_alg_name == null ? null : x509_sig_alg_name.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/DecryptLog.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/DecryptLog.java deleted file mode 100644 index c784ec2..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/DecryptLog.java +++ /dev/null @@ -1,162 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 解密情况 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.decrypt_log - */ -public class DecryptLog { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.id") - private String id; - - /** - * Database Column Remarks: - * 申请人id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.weid") - private String weid; - - /** - * Database Column Remarks: - * 档案类型(0件/1件内文件) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.content_type") - private Integer content_type; - - /** - * Database Column Remarks: - * 档案id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.content_id") - private String content_id; - - /** - * Database Column Remarks: - * 解密时间 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.dec_time") - private LocalDateTime dec_time; - - /** - * Database Column Remarks: - * 区域 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.location") - private String location; - - /** - * Database Column Remarks: - * 秘钥id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.sm9hibeid") - private String sm9hibeid; - - /** - * Database Column Remarks: - * 解密结果(0失败1成功) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.status") - private Integer status; - - /** - * Database Column Remarks: - * 数字签名 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.sign") - private String sign; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.weid") - public String getWeid() { - return weid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.weid") - public void setWeid(String weid) { - this.weid = weid == null ? null : weid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.content_type") - public Integer getContent_type() { - return content_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.content_type") - public void setContent_type(Integer content_type) { - this.content_type = content_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.content_id") - public String getContent_id() { - return content_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.content_id") - public void setContent_id(String content_id) { - this.content_id = content_id == null ? null : content_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.dec_time") - public LocalDateTime getDec_time() { - return dec_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.dec_time") - public void setDec_time(LocalDateTime dec_time) { - this.dec_time = dec_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.location") - public String getLocation() { - return location; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.location") - public void setLocation(String location) { - this.location = location == null ? null : location.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.sm9hibeid") - public String getSm9hibeid() { - return sm9hibeid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.sm9hibeid") - public void setSm9hibeid(String sm9hibeid) { - this.sm9hibeid = sm9hibeid == null ? null : sm9hibeid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.status") - public Integer getStatus() { - return status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.status") - public void setStatus(Integer status) { - this.status = status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.sign") - public String getSign() { - return sign; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3171529+08:00", comments="Source field: public.decrypt_log.sign") - public void setSign(String sign) { - this.sign = sign == null ? null : sign.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/DownloadLog.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/DownloadLog.java deleted file mode 100644 index 890ea23..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/DownloadLog.java +++ /dev/null @@ -1,128 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 下载行为记录 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.download_log - */ -public class DownloadLog { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.id") - private String id; - - /** - * Database Column Remarks: - * weid - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.weid") - private String weid; - - /** - * Database Column Remarks: - * 下载时间 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.downloadtime") - private LocalDateTime downloadtime; - - /** - * Database Column Remarks: - * 下载文件数 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.filenum") - private Integer filenum; - - /** - * Database Column Remarks: - * 下载类型(1文件包/2单个附件(SyncFile)/3单个件(DirecotryFile)) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.content_type") - private Integer content_type; - - /** - * Database Column Remarks: - * 下载记录ID(如果是单个文件,就取ID,如果是包,就是包内包含的文件的ID列表) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.contentid") - private String contentid; - - /** - * Database Column Remarks: - * 数字签名 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.sign") - private String sign; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.weid") - public String getWeid() { - return weid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.weid") - public void setWeid(String weid) { - this.weid = weid == null ? null : weid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.downloadtime") - public LocalDateTime getDownloadtime() { - return downloadtime; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.downloadtime") - public void setDownloadtime(LocalDateTime downloadtime) { - this.downloadtime = downloadtime; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.filenum") - public Integer getFilenum() { - return filenum; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.filenum") - public void setFilenum(Integer filenum) { - this.filenum = filenum; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.content_type") - public Integer getContent_type() { - return content_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.content_type") - public void setContent_type(Integer content_type) { - this.content_type = content_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.contentid") - public String getContentid() { - return contentid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.contentid") - public void setContentid(String contentid) { - this.contentid = contentid == null ? null : contentid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.sign") - public String getSign() { - return sign; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2511592+08:00", comments="Source field: public.download_log.sign") - public void setSign(String sign) { - this.sign = sign == null ? null : sign.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApply.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApply.java deleted file mode 100644 index 635945c..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApply.java +++ /dev/null @@ -1,626 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.files_apply - */ -public class FilesApply { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_id") - private String apply_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_name") - private String apply_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_phone") - private String apply_user_phone; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_email") - private String apply_user_email; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_org_id") - private String apply_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_org_name") - private String apply_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_user_id") - private String apply_in_check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_user_name") - private String apply_in_check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_org_id") - private String apply_in_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_org_name") - private String apply_in_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_next_check_org_id") - private String apply_next_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_next_check_org_name") - private String apply_next_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_user_id") - private String apply_end_check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_user_name") - private String apply_end_check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_org_id") - private String apply_end_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_org_name") - private String apply_end_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_days") - private Integer apply_days; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_feedback") - private String apply_feedback; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_reason") - private String apply_reason; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_cancel_reason") - private String apply_cancel_reason; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_view_type_print") - private Integer apply_view_type_print; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_view_type_online") - private Integer apply_view_type_online; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_file_num") - private Integer apply_file_num; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_time") - private LocalDateTime apply_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_check_is_finish") - private Integer apply_check_is_finish; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_org_id") - private String provider_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_org_name") - private String provider_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_file_properties") - private Integer provider_file_properties; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_use_start_time") - private LocalDateTime provider_use_start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_use_end_time") - private LocalDateTime provider_use_end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_user_id") - private String provider_in_check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_user_name") - private String provider_in_check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_org_id") - private String provider_in_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_org_name") - private String provider_in_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_next_check_role_sign_id") - private String provider_next_check_role_sign_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_next_check_role_sign_name") - private String provider_next_check_role_sign_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_user_id") - private String provider_end_check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_user_name") - private String provider_end_check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_org_id") - private String provider_end_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_org_name") - private String provider_end_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_check_is_finish") - private Integer provider_check_is_finish; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.secret_key") - private String secret_key; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.status") - private Integer status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.project_id") - private String project_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.project_name") - private String project_name; - - /** - * Database Column Remarks: - * 签名 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.sign") - private String sign; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_id") - public String getApply_user_id() { - return apply_user_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_id") - public void setApply_user_id(String apply_user_id) { - this.apply_user_id = apply_user_id == null ? null : apply_user_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_name") - public String getApply_user_name() { - return apply_user_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_name") - public void setApply_user_name(String apply_user_name) { - this.apply_user_name = apply_user_name == null ? null : apply_user_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_phone") - public String getApply_user_phone() { - return apply_user_phone; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_phone") - public void setApply_user_phone(String apply_user_phone) { - this.apply_user_phone = apply_user_phone == null ? null : apply_user_phone.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_email") - public String getApply_user_email() { - return apply_user_email; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_user_email") - public void setApply_user_email(String apply_user_email) { - this.apply_user_email = apply_user_email == null ? null : apply_user_email.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_org_id") - public String getApply_org_id() { - return apply_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_org_id") - public void setApply_org_id(String apply_org_id) { - this.apply_org_id = apply_org_id == null ? null : apply_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_org_name") - public String getApply_org_name() { - return apply_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_org_name") - public void setApply_org_name(String apply_org_name) { - this.apply_org_name = apply_org_name == null ? null : apply_org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_user_id") - public String getApply_in_check_user_id() { - return apply_in_check_user_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_user_id") - public void setApply_in_check_user_id(String apply_in_check_user_id) { - this.apply_in_check_user_id = apply_in_check_user_id == null ? null : apply_in_check_user_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_user_name") - public String getApply_in_check_user_name() { - return apply_in_check_user_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_user_name") - public void setApply_in_check_user_name(String apply_in_check_user_name) { - this.apply_in_check_user_name = apply_in_check_user_name == null ? null : apply_in_check_user_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_org_id") - public String getApply_in_check_org_id() { - return apply_in_check_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_org_id") - public void setApply_in_check_org_id(String apply_in_check_org_id) { - this.apply_in_check_org_id = apply_in_check_org_id == null ? null : apply_in_check_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_org_name") - public String getApply_in_check_org_name() { - return apply_in_check_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_in_check_org_name") - public void setApply_in_check_org_name(String apply_in_check_org_name) { - this.apply_in_check_org_name = apply_in_check_org_name == null ? null : apply_in_check_org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_next_check_org_id") - public String getApply_next_check_org_id() { - return apply_next_check_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_next_check_org_id") - public void setApply_next_check_org_id(String apply_next_check_org_id) { - this.apply_next_check_org_id = apply_next_check_org_id == null ? null : apply_next_check_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_next_check_org_name") - public String getApply_next_check_org_name() { - return apply_next_check_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_next_check_org_name") - public void setApply_next_check_org_name(String apply_next_check_org_name) { - this.apply_next_check_org_name = apply_next_check_org_name == null ? null : apply_next_check_org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_user_id") - public String getApply_end_check_user_id() { - return apply_end_check_user_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_user_id") - public void setApply_end_check_user_id(String apply_end_check_user_id) { - this.apply_end_check_user_id = apply_end_check_user_id == null ? null : apply_end_check_user_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_user_name") - public String getApply_end_check_user_name() { - return apply_end_check_user_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_user_name") - public void setApply_end_check_user_name(String apply_end_check_user_name) { - this.apply_end_check_user_name = apply_end_check_user_name == null ? null : apply_end_check_user_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_org_id") - public String getApply_end_check_org_id() { - return apply_end_check_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_org_id") - public void setApply_end_check_org_id(String apply_end_check_org_id) { - this.apply_end_check_org_id = apply_end_check_org_id == null ? null : apply_end_check_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_org_name") - public String getApply_end_check_org_name() { - return apply_end_check_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2731517+08:00", comments="Source field: public.files_apply.apply_end_check_org_name") - public void setApply_end_check_org_name(String apply_end_check_org_name) { - this.apply_end_check_org_name = apply_end_check_org_name == null ? null : apply_end_check_org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_days") - public Integer getApply_days() { - return apply_days; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_days") - public void setApply_days(Integer apply_days) { - this.apply_days = apply_days; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_feedback") - public String getApply_feedback() { - return apply_feedback; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_feedback") - public void setApply_feedback(String apply_feedback) { - this.apply_feedback = apply_feedback == null ? null : apply_feedback.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_reason") - public String getApply_reason() { - return apply_reason; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_reason") - public void setApply_reason(String apply_reason) { - this.apply_reason = apply_reason == null ? null : apply_reason.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_cancel_reason") - public String getApply_cancel_reason() { - return apply_cancel_reason; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_cancel_reason") - public void setApply_cancel_reason(String apply_cancel_reason) { - this.apply_cancel_reason = apply_cancel_reason == null ? null : apply_cancel_reason.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_view_type_print") - public Integer getApply_view_type_print() { - return apply_view_type_print; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_view_type_print") - public void setApply_view_type_print(Integer apply_view_type_print) { - this.apply_view_type_print = apply_view_type_print; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_view_type_online") - public Integer getApply_view_type_online() { - return apply_view_type_online; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_view_type_online") - public void setApply_view_type_online(Integer apply_view_type_online) { - this.apply_view_type_online = apply_view_type_online; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_file_num") - public Integer getApply_file_num() { - return apply_file_num; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_file_num") - public void setApply_file_num(Integer apply_file_num) { - this.apply_file_num = apply_file_num; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_time") - public LocalDateTime getApply_time() { - return apply_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_time") - public void setApply_time(LocalDateTime apply_time) { - this.apply_time = apply_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_check_is_finish") - public Integer getApply_check_is_finish() { - return apply_check_is_finish; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.apply_check_is_finish") - public void setApply_check_is_finish(Integer apply_check_is_finish) { - this.apply_check_is_finish = apply_check_is_finish; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_org_id") - public String getProvider_org_id() { - return provider_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_org_id") - public void setProvider_org_id(String provider_org_id) { - this.provider_org_id = provider_org_id == null ? null : provider_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_org_name") - public String getProvider_org_name() { - return provider_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_org_name") - public void setProvider_org_name(String provider_org_name) { - this.provider_org_name = provider_org_name == null ? null : provider_org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_file_properties") - public Integer getProvider_file_properties() { - return provider_file_properties; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_file_properties") - public void setProvider_file_properties(Integer provider_file_properties) { - this.provider_file_properties = provider_file_properties; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_use_start_time") - public LocalDateTime getProvider_use_start_time() { - return provider_use_start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_use_start_time") - public void setProvider_use_start_time(LocalDateTime provider_use_start_time) { - this.provider_use_start_time = provider_use_start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_use_end_time") - public LocalDateTime getProvider_use_end_time() { - return provider_use_end_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_use_end_time") - public void setProvider_use_end_time(LocalDateTime provider_use_end_time) { - this.provider_use_end_time = provider_use_end_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_user_id") - public String getProvider_in_check_user_id() { - return provider_in_check_user_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_user_id") - public void setProvider_in_check_user_id(String provider_in_check_user_id) { - this.provider_in_check_user_id = provider_in_check_user_id == null ? null : provider_in_check_user_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_user_name") - public String getProvider_in_check_user_name() { - return provider_in_check_user_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_user_name") - public void setProvider_in_check_user_name(String provider_in_check_user_name) { - this.provider_in_check_user_name = provider_in_check_user_name == null ? null : provider_in_check_user_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_org_id") - public String getProvider_in_check_org_id() { - return provider_in_check_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_org_id") - public void setProvider_in_check_org_id(String provider_in_check_org_id) { - this.provider_in_check_org_id = provider_in_check_org_id == null ? null : provider_in_check_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_org_name") - public String getProvider_in_check_org_name() { - return provider_in_check_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_in_check_org_name") - public void setProvider_in_check_org_name(String provider_in_check_org_name) { - this.provider_in_check_org_name = provider_in_check_org_name == null ? null : provider_in_check_org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_next_check_role_sign_id") - public String getProvider_next_check_role_sign_id() { - return provider_next_check_role_sign_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_next_check_role_sign_id") - public void setProvider_next_check_role_sign_id(String provider_next_check_role_sign_id) { - this.provider_next_check_role_sign_id = provider_next_check_role_sign_id == null ? null : provider_next_check_role_sign_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_next_check_role_sign_name") - public String getProvider_next_check_role_sign_name() { - return provider_next_check_role_sign_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_next_check_role_sign_name") - public void setProvider_next_check_role_sign_name(String provider_next_check_role_sign_name) { - this.provider_next_check_role_sign_name = provider_next_check_role_sign_name == null ? null : provider_next_check_role_sign_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_user_id") - public String getProvider_end_check_user_id() { - return provider_end_check_user_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_user_id") - public void setProvider_end_check_user_id(String provider_end_check_user_id) { - this.provider_end_check_user_id = provider_end_check_user_id == null ? null : provider_end_check_user_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_user_name") - public String getProvider_end_check_user_name() { - return provider_end_check_user_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_user_name") - public void setProvider_end_check_user_name(String provider_end_check_user_name) { - this.provider_end_check_user_name = provider_end_check_user_name == null ? null : provider_end_check_user_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_org_id") - public String getProvider_end_check_org_id() { - return provider_end_check_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_org_id") - public void setProvider_end_check_org_id(String provider_end_check_org_id) { - this.provider_end_check_org_id = provider_end_check_org_id == null ? null : provider_end_check_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_org_name") - public String getProvider_end_check_org_name() { - return provider_end_check_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2741474+08:00", comments="Source field: public.files_apply.provider_end_check_org_name") - public void setProvider_end_check_org_name(String provider_end_check_org_name) { - this.provider_end_check_org_name = provider_end_check_org_name == null ? null : provider_end_check_org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.provider_check_is_finish") - public Integer getProvider_check_is_finish() { - return provider_check_is_finish; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.provider_check_is_finish") - public void setProvider_check_is_finish(Integer provider_check_is_finish) { - this.provider_check_is_finish = provider_check_is_finish; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.secret_key") - public String getSecret_key() { - return secret_key; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.secret_key") - public void setSecret_key(String secret_key) { - this.secret_key = secret_key == null ? null : secret_key.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.status") - public Integer getStatus() { - return status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.status") - public void setStatus(Integer status) { - this.status = status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.project_id") - public String getProject_id() { - return project_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.project_id") - public void setProject_id(String project_id) { - this.project_id = project_id == null ? null : project_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.project_name") - public String getProject_name() { - return project_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.project_name") - public void setProject_name(String project_name) { - this.project_name = project_name == null ? null : project_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.sign") - public String getSign() { - return sign; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.275148+08:00", comments="Source field: public.files_apply.sign") - public void setSign(String sign) { - this.sign = sign == null ? null : sign.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyCheckRecord.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyCheckRecord.java deleted file mode 100644 index ddebb3a..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyCheckRecord.java +++ /dev/null @@ -1,206 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.files_apply_check_record - */ -public class FilesApplyCheckRecord { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.files_apply_id") - private String files_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.is_apply_provider") - private Integer is_apply_provider; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_user_id") - private String check_user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_user_name") - private String check_user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_org_id") - private String check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_org_name") - private String check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.next_check_org_id") - private String next_check_org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.next_check_org_name") - private String next_check_org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_describe") - private String check_describe; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_status") - private Integer check_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_time") - private LocalDateTime check_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.provider_next_check_role_sign_id") - private String provider_next_check_role_sign_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.provider_next_check_role_sign_name") - private String provider_next_check_role_sign_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.sign") - private String sign; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.files_apply_id") - public String getFiles_apply_id() { - return files_apply_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.files_apply_id") - public void setFiles_apply_id(String files_apply_id) { - this.files_apply_id = files_apply_id == null ? null : files_apply_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.is_apply_provider") - public Integer getIs_apply_provider() { - return is_apply_provider; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.is_apply_provider") - public void setIs_apply_provider(Integer is_apply_provider) { - this.is_apply_provider = is_apply_provider; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_user_id") - public String getCheck_user_id() { - return check_user_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_user_id") - public void setCheck_user_id(String check_user_id) { - this.check_user_id = check_user_id == null ? null : check_user_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_user_name") - public String getCheck_user_name() { - return check_user_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_user_name") - public void setCheck_user_name(String check_user_name) { - this.check_user_name = check_user_name == null ? null : check_user_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_org_id") - public String getCheck_org_id() { - return check_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_org_id") - public void setCheck_org_id(String check_org_id) { - this.check_org_id = check_org_id == null ? null : check_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_org_name") - public String getCheck_org_name() { - return check_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_org_name") - public void setCheck_org_name(String check_org_name) { - this.check_org_name = check_org_name == null ? null : check_org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.next_check_org_id") - public String getNext_check_org_id() { - return next_check_org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.next_check_org_id") - public void setNext_check_org_id(String next_check_org_id) { - this.next_check_org_id = next_check_org_id == null ? null : next_check_org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.next_check_org_name") - public String getNext_check_org_name() { - return next_check_org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.next_check_org_name") - public void setNext_check_org_name(String next_check_org_name) { - this.next_check_org_name = next_check_org_name == null ? null : next_check_org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_describe") - public String getCheck_describe() { - return check_describe; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_describe") - public void setCheck_describe(String check_describe) { - this.check_describe = check_describe == null ? null : check_describe.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_status") - public Integer getCheck_status() { - return check_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_status") - public void setCheck_status(Integer check_status) { - this.check_status = check_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_time") - public LocalDateTime getCheck_time() { - return check_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.check_time") - public void setCheck_time(LocalDateTime check_time) { - this.check_time = check_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.provider_next_check_role_sign_id") - public String getProvider_next_check_role_sign_id() { - return provider_next_check_role_sign_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.provider_next_check_role_sign_id") - public void setProvider_next_check_role_sign_id(String provider_next_check_role_sign_id) { - this.provider_next_check_role_sign_id = provider_next_check_role_sign_id == null ? null : provider_next_check_role_sign_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.provider_next_check_role_sign_name") - public String getProvider_next_check_role_sign_name() { - return provider_next_check_role_sign_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.provider_next_check_role_sign_name") - public void setProvider_next_check_role_sign_name(String provider_next_check_role_sign_name) { - this.provider_next_check_role_sign_name = provider_next_check_role_sign_name == null ? null : provider_next_check_role_sign_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.sign") - public String getSign() { - return sign; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3151511+08:00", comments="Source field: public.files_apply_check_record.sign") - public void setSign(String sign) { - this.sign = sign == null ? null : sign.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyDirectoryDocs.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyDirectoryDocs.java deleted file mode 100644 index fa9866c..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyDirectoryDocs.java +++ /dev/null @@ -1,309 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.files_apply_directory_docs - */ -public class FilesApplyDirectoryDocs { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2122439+08:00", comments="Source field: public.files_apply_directory_docs.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2142452+08:00", comments="Source field: public.files_apply_directory_docs.files_apply_id") - private String files_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2142452+08:00", comments="Source field: public.files_apply_directory_docs.directory_file_id") - private String directory_file_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2142452+08:00", comments="Source field: public.files_apply_directory_docs.directory_file_p_id") - private String directory_file_p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2152123+08:00", comments="Source field: public.files_apply_directory_docs.filesuper") - private String filesuper; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2152123+08:00", comments="Source field: public.files_apply_directory_docs.filecount") - private Integer filecount; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2152123+08:00", comments="Source field: public.files_apply_directory_docs.dutyperson") - private String dutyperson; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.eweavedate") - private String eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.filepage") - private Integer filepage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.sortorder") - private String sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.bpeg") - private String bpeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.epeg") - private String epeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.filenum") - private String filenum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.remark") - private String remark; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.recordnum") - private String recordnum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.piecenumber") - private String piecenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.adddate") - private String adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.editdate") - private String editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.time_stamp") - private String time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.isdel") - private Integer isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.catalogpdfurl") - private String catalogpdfurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2182117+08:00", comments="Source field: public.files_apply_directory_docs.signtag") - private String signtag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2182117+08:00", comments="Source field: public.files_apply_directory_docs.collecttag") - private String collecttag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2142452+08:00", comments="Source field: public.files_apply_directory_docs.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2142452+08:00", comments="Source field: public.files_apply_directory_docs.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2142452+08:00", comments="Source field: public.files_apply_directory_docs.files_apply_id") - public String getFiles_apply_id() { - return files_apply_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2142452+08:00", comments="Source field: public.files_apply_directory_docs.files_apply_id") - public void setFiles_apply_id(String files_apply_id) { - this.files_apply_id = files_apply_id == null ? null : files_apply_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2142452+08:00", comments="Source field: public.files_apply_directory_docs.directory_file_id") - public String getDirectory_file_id() { - return directory_file_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2142452+08:00", comments="Source field: public.files_apply_directory_docs.directory_file_id") - public void setDirectory_file_id(String directory_file_id) { - this.directory_file_id = directory_file_id == null ? null : directory_file_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2142452+08:00", comments="Source field: public.files_apply_directory_docs.directory_file_p_id") - public String getDirectory_file_p_id() { - return directory_file_p_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2152123+08:00", comments="Source field: public.files_apply_directory_docs.directory_file_p_id") - public void setDirectory_file_p_id(String directory_file_p_id) { - this.directory_file_p_id = directory_file_p_id == null ? null : directory_file_p_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2152123+08:00", comments="Source field: public.files_apply_directory_docs.filesuper") - public String getFilesuper() { - return filesuper; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2152123+08:00", comments="Source field: public.files_apply_directory_docs.filesuper") - public void setFilesuper(String filesuper) { - this.filesuper = filesuper == null ? null : filesuper.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2152123+08:00", comments="Source field: public.files_apply_directory_docs.filecount") - public Integer getFilecount() { - return filecount; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2152123+08:00", comments="Source field: public.files_apply_directory_docs.filecount") - public void setFilecount(Integer filecount) { - this.filecount = filecount; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2152123+08:00", comments="Source field: public.files_apply_directory_docs.dutyperson") - public String getDutyperson() { - return dutyperson; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2152123+08:00", comments="Source field: public.files_apply_directory_docs.dutyperson") - public void setDutyperson(String dutyperson) { - this.dutyperson = dutyperson == null ? null : dutyperson.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.eweavedate") - public String getEweavedate() { - return eweavedate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.eweavedate") - public void setEweavedate(String eweavedate) { - this.eweavedate = eweavedate == null ? null : eweavedate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.filepage") - public Integer getFilepage() { - return filepage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.filepage") - public void setFilepage(Integer filepage) { - this.filepage = filepage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.sortorder") - public String getSortorder() { - return sortorder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.sortorder") - public void setSortorder(String sortorder) { - this.sortorder = sortorder == null ? null : sortorder.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.bpeg") - public String getBpeg() { - return bpeg; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.bpeg") - public void setBpeg(String bpeg) { - this.bpeg = bpeg == null ? null : bpeg.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.epeg") - public String getEpeg() { - return epeg; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.epeg") - public void setEpeg(String epeg) { - this.epeg = epeg == null ? null : epeg.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.filenum") - public String getFilenum() { - return filenum; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2162209+08:00", comments="Source field: public.files_apply_directory_docs.filenum") - public void setFilenum(String filenum) { - this.filenum = filenum == null ? null : filenum.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.remark") - public String getRemark() { - return remark; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.remark") - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.recordnum") - public String getRecordnum() { - return recordnum; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.recordnum") - public void setRecordnum(String recordnum) { - this.recordnum = recordnum == null ? null : recordnum.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.piecenumber") - public String getPiecenumber() { - return piecenumber; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.piecenumber") - public void setPiecenumber(String piecenumber) { - this.piecenumber = piecenumber == null ? null : piecenumber.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.adddate") - public String getAdddate() { - return adddate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.adddate") - public void setAdddate(String adddate) { - this.adddate = adddate == null ? null : adddate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.editdate") - public String getEditdate() { - return editdate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.editdate") - public void setEditdate(String editdate) { - this.editdate = editdate == null ? null : editdate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.time_stamp") - public String getTime_stamp() { - return time_stamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.time_stamp") - public void setTime_stamp(String time_stamp) { - this.time_stamp = time_stamp == null ? null : time_stamp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.isdel") - public Integer getIsdel() { - return isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.isdel") - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.catalogpdfurl") - public String getCatalogpdfurl() { - return catalogpdfurl; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2172125+08:00", comments="Source field: public.files_apply_directory_docs.catalogpdfurl") - public void setCatalogpdfurl(String catalogpdfurl) { - this.catalogpdfurl = catalogpdfurl == null ? null : catalogpdfurl.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2182117+08:00", comments="Source field: public.files_apply_directory_docs.signtag") - public String getSigntag() { - return signtag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2182117+08:00", comments="Source field: public.files_apply_directory_docs.signtag") - public void setSigntag(String signtag) { - this.signtag = signtag == null ? null : signtag.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2182117+08:00", comments="Source field: public.files_apply_directory_docs.collecttag") - public String getCollecttag() { - return collecttag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2182117+08:00", comments="Source field: public.files_apply_directory_docs.collecttag") - public void setCollecttag(String collecttag) { - this.collecttag = collecttag == null ? null : collecttag.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyDocs.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyDocs.java deleted file mode 100644 index 448a063..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyDocs.java +++ /dev/null @@ -1,283 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.files_apply_docs - */ -public class FilesApplyDocs { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.files_apply_id") - private String files_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.syn_file_id") - private String syn_file_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.syn_file_p_id") - private String syn_file_p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.tablenumber") - private String tablenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.annexname") - private String annexname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.projectname") - private String projectname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.eweavedate") - private String eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.checkdate") - private String checkdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.annexpage") - private Integer annexpage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.sortorder") - private String sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.filefrom") - private String filefrom; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.archivestag") - private String archivestag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.adddate") - private String adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.editdate") - private String editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.time_stamp") - private String time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.isdel") - private Integer isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.downurl") - private String downurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.filesize") - private Integer filesize; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.apply_view_type_print") - private Integer apply_view_type_print; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.apply_view_type_online") - private Integer apply_view_type_online; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.files_apply_id") - public String getFiles_apply_id() { - return files_apply_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.files_apply_id") - public void setFiles_apply_id(String files_apply_id) { - this.files_apply_id = files_apply_id == null ? null : files_apply_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.syn_file_id") - public String getSyn_file_id() { - return syn_file_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.syn_file_id") - public void setSyn_file_id(String syn_file_id) { - this.syn_file_id = syn_file_id == null ? null : syn_file_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.syn_file_p_id") - public String getSyn_file_p_id() { - return syn_file_p_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.syn_file_p_id") - public void setSyn_file_p_id(String syn_file_p_id) { - this.syn_file_p_id = syn_file_p_id == null ? null : syn_file_p_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.tablenumber") - public String getTablenumber() { - return tablenumber; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.tablenumber") - public void setTablenumber(String tablenumber) { - this.tablenumber = tablenumber == null ? null : tablenumber.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.annexname") - public String getAnnexname() { - return annexname; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.annexname") - public void setAnnexname(String annexname) { - this.annexname = annexname == null ? null : annexname.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.projectname") - public String getProjectname() { - return projectname; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.projectname") - public void setProjectname(String projectname) { - this.projectname = projectname == null ? null : projectname.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.eweavedate") - public String getEweavedate() { - return eweavedate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.eweavedate") - public void setEweavedate(String eweavedate) { - this.eweavedate = eweavedate == null ? null : eweavedate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.checkdate") - public String getCheckdate() { - return checkdate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.checkdate") - public void setCheckdate(String checkdate) { - this.checkdate = checkdate == null ? null : checkdate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.annexpage") - public Integer getAnnexpage() { - return annexpage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.annexpage") - public void setAnnexpage(Integer annexpage) { - this.annexpage = annexpage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.sortorder") - public String getSortorder() { - return sortorder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.sortorder") - public void setSortorder(String sortorder) { - this.sortorder = sortorder == null ? null : sortorder.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.filefrom") - public String getFilefrom() { - return filefrom; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.filefrom") - public void setFilefrom(String filefrom) { - this.filefrom = filefrom == null ? null : filefrom.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.archivestag") - public String getArchivestag() { - return archivestag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.archivestag") - public void setArchivestag(String archivestag) { - this.archivestag = archivestag == null ? null : archivestag.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.adddate") - public String getAdddate() { - return adddate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.adddate") - public void setAdddate(String adddate) { - this.adddate = adddate == null ? null : adddate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.editdate") - public String getEditdate() { - return editdate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.editdate") - public void setEditdate(String editdate) { - this.editdate = editdate == null ? null : editdate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.time_stamp") - public String getTime_stamp() { - return time_stamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2671475+08:00", comments="Source field: public.files_apply_docs.time_stamp") - public void setTime_stamp(String time_stamp) { - this.time_stamp = time_stamp == null ? null : time_stamp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.isdel") - public Integer getIsdel() { - return isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.isdel") - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.downurl") - public String getDownurl() { - return downurl; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.downurl") - public void setDownurl(String downurl) { - this.downurl = downurl == null ? null : downurl.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.filesize") - public Integer getFilesize() { - return filesize; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.filesize") - public void setFilesize(Integer filesize) { - this.filesize = filesize; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.apply_view_type_print") - public Integer getApply_view_type_print() { - return apply_view_type_print; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.apply_view_type_print") - public void setApply_view_type_print(Integer apply_view_type_print) { - this.apply_view_type_print = apply_view_type_print; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.apply_view_type_online") - public Integer getApply_view_type_online() { - return apply_view_type_online; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.268147+08:00", comments="Source field: public.files_apply_docs.apply_view_type_online") - public void setApply_view_type_online(Integer apply_view_type_online) { - this.apply_view_type_online = apply_view_type_online; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyDownloadRecord.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyDownloadRecord.java deleted file mode 100644 index 8bbb186..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/FilesApplyDownloadRecord.java +++ /dev/null @@ -1,154 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.files_apply_download_record - */ -public class FilesApplyDownloadRecord { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.files_apply_id") - private String files_apply_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.is_dir_file") - private Integer is_dir_file; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.syn_file_id") - private String syn_file_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.syn_file_p_id") - private String syn_file_p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.syn_file_name") - private String syn_file_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.user_id") - private String user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.user_name") - private String user_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.org_id") - private String org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.org_name") - private String org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.download_time") - private LocalDateTime download_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.files_apply_id") - public String getFiles_apply_id() { - return files_apply_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.files_apply_id") - public void setFiles_apply_id(String files_apply_id) { - this.files_apply_id = files_apply_id == null ? null : files_apply_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.is_dir_file") - public Integer getIs_dir_file() { - return is_dir_file; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.is_dir_file") - public void setIs_dir_file(Integer is_dir_file) { - this.is_dir_file = is_dir_file; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.syn_file_id") - public String getSyn_file_id() { - return syn_file_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.syn_file_id") - public void setSyn_file_id(String syn_file_id) { - this.syn_file_id = syn_file_id == null ? null : syn_file_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.syn_file_p_id") - public String getSyn_file_p_id() { - return syn_file_p_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.syn_file_p_id") - public void setSyn_file_p_id(String syn_file_p_id) { - this.syn_file_p_id = syn_file_p_id == null ? null : syn_file_p_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.syn_file_name") - public String getSyn_file_name() { - return syn_file_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.syn_file_name") - public void setSyn_file_name(String syn_file_name) { - this.syn_file_name = syn_file_name == null ? null : syn_file_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.user_id") - public String getUser_id() { - return user_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.user_id") - public void setUser_id(String user_id) { - this.user_id = user_id == null ? null : user_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.user_name") - public String getUser_name() { - return user_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.user_name") - public void setUser_name(String user_name) { - this.user_name = user_name == null ? null : user_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.org_id") - public String getOrg_id() { - return org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.org_id") - public void setOrg_id(String org_id) { - this.org_id = org_id == null ? null : org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.org_name") - public String getOrg_name() { - return org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.org_name") - public void setOrg_name(String org_name) { - this.org_name = org_name == null ? null : org_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.download_time") - public LocalDateTime getDownload_time() { - return download_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2931502+08:00", comments="Source field: public.files_apply_download_record.download_time") - public void setDownload_time(LocalDateTime download_time) { - this.download_time = download_time; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/PreShareDirectoryFileTag.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/PreShareDirectoryFileTag.java deleted file mode 100644 index 5e514e8..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/PreShareDirectoryFileTag.java +++ /dev/null @@ -1,66 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 预共享文件标记表:记录用户通过配置想要达到的共享状态,既用于支持用户前台界面查询需求,也作为后续实际上链的数据源。提供此表的目的,在于在大数据量情况下,加速对用户配置请求的处理速度,降低阻塞用户新增配置的等待时间。 -为加速数据库操作处理,此表仅保留必须字段 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.pre_share_directory_file_tag - */ -public class PreShareDirectoryFileTag { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.share_status") - private Integer share_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.update_time") - private LocalDateTime update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.sync_bc_time") - private LocalDateTime sync_bc_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.share_status") - public Integer getShare_status() { - return share_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.share_status") - public void setShare_status(Integer share_status) { - this.share_status = share_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.update_time") - public LocalDateTime getUpdate_time() { - return update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.update_time") - public void setUpdate_time(LocalDateTime update_time) { - this.update_time = update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.sync_bc_time") - public LocalDateTime getSync_bc_time() { - return sync_bc_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1676417+08:00", comments="Source field: public.pre_share_directory_file_tag.sync_bc_time") - public void setSync_bc_time(LocalDateTime sync_bc_time) { - this.sync_bc_time = sync_bc_time; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/PreShareDirectoryTag.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/PreShareDirectoryTag.java deleted file mode 100644 index 05534b4..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/PreShareDirectoryTag.java +++ /dev/null @@ -1,66 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 预共享目录标记表:记录用户通过配置想要达到的共享状态,既用于支持用户前台界面查询需求,也作为后续实际上链的数据源。提供此表的目的,在于在大数据量情况下,加速对用户配置请求的处理速度,降低阻塞用户新增配置的等待时间。 -为加速数据库操作处理,此表仅保留必须字段 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.pre_share_directory_tag - */ -public class PreShareDirectoryTag { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.140001+08:00", comments="Source field: public.pre_share_directory_tag.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1410891+08:00", comments="Source field: public.pre_share_directory_tag.share_status") - private Integer share_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1421349+08:00", comments="Source field: public.pre_share_directory_tag.update_time") - private LocalDateTime update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1421349+08:00", comments="Source field: public.pre_share_directory_tag.sync_bc_time") - private LocalDateTime sync_bc_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1410891+08:00", comments="Source field: public.pre_share_directory_tag.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1410891+08:00", comments="Source field: public.pre_share_directory_tag.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1421349+08:00", comments="Source field: public.pre_share_directory_tag.share_status") - public Integer getShare_status() { - return share_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1421349+08:00", comments="Source field: public.pre_share_directory_tag.share_status") - public void setShare_status(Integer share_status) { - this.share_status = share_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1421349+08:00", comments="Source field: public.pre_share_directory_tag.update_time") - public LocalDateTime getUpdate_time() { - return update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1421349+08:00", comments="Source field: public.pre_share_directory_tag.update_time") - public void setUpdate_time(LocalDateTime update_time) { - this.update_time = update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1421349+08:00", comments="Source field: public.pre_share_directory_tag.sync_bc_time") - public LocalDateTime getSync_bc_time() { - return sync_bc_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1421349+08:00", comments="Source field: public.pre_share_directory_tag.sync_bc_time") - public void setSync_bc_time(LocalDateTime sync_bc_time) { - this.sync_bc_time = sync_bc_time; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/PreShareFileTag.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/PreShareFileTag.java deleted file mode 100644 index 6b646fe..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/PreShareFileTag.java +++ /dev/null @@ -1,63 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.pre_share_file_tag - */ -public class PreShareFileTag { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.share_status") - private Integer share_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.update_time") - private LocalDateTime update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.sync_bc_time") - private LocalDateTime sync_bc_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.share_status") - public Integer getShare_status() { - return share_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.share_status") - public void setShare_status(Integer share_status) { - this.share_status = share_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.update_time") - public LocalDateTime getUpdate_time() { - return update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.update_time") - public void setUpdate_time(LocalDateTime update_time) { - this.update_time = update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.sync_bc_time") - public LocalDateTime getSync_bc_time() { - return sync_bc_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-08T11:33:24.1702515+08:00", comments="Source field: public.pre_share_file_tag.sync_bc_time") - public void setSync_bc_time(LocalDateTime sync_bc_time) { - this.sync_bc_time = sync_bc_time; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/Project.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/Project.java deleted file mode 100644 index 3c7fe6b..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/Project.java +++ /dev/null @@ -1,62 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.project - */ -public class Project { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.project_name") - private String project_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.org_id") - private String org_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.org_name") - private String org_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.project_name") - public String getProject_name() { - return project_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.project_name") - public void setProject_name(String project_name) { - this.project_name = project_name == null ? null : project_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.org_id") - public String getOrg_id() { - return org_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.org_id") - public void setOrg_id(String org_id) { - this.org_id = org_id == null ? null : org_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.org_name") - public String getOrg_name() { - return org_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2801782+08:00", comments="Source field: public.project.org_name") - public void setOrg_name(String org_name) { - this.org_name = org_name == null ? null : org_name.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/Provider.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/Provider.java deleted file mode 100644 index c2f1019..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/Provider.java +++ /dev/null @@ -1,104 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 共享档案的提供方,数据从链上获取 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.provider - */ -public class Provider { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0786616+08:00", comments="Source field: public.provider.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.name") - private String name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.create_time") - private LocalDateTime create_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.update_time") - private LocalDateTime update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.last_update_data_time") - private LocalDateTime last_update_data_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.last_query_data_time") - private LocalDateTime last_query_data_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.status") - private String status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0786616+08:00", comments="Source field: public.provider.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.name") - public String getName() { - return name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.name") - public void setName(String name) { - this.name = name == null ? null : name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.create_time") - public LocalDateTime getCreate_time() { - return create_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.create_time") - public void setCreate_time(LocalDateTime create_time) { - this.create_time = create_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.update_time") - public LocalDateTime getUpdate_time() { - return update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.update_time") - public void setUpdate_time(LocalDateTime update_time) { - this.update_time = update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.last_update_data_time") - public LocalDateTime getLast_update_data_time() { - return last_update_data_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.last_update_data_time") - public void setLast_update_data_time(LocalDateTime last_update_data_time) { - this.last_update_data_time = last_update_data_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.last_query_data_time") - public LocalDateTime getLast_query_data_time() { - return last_query_data_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.last_query_data_time") - public void setLast_query_data_time(LocalDateTime last_query_data_time) { - this.last_query_data_time = last_query_data_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.status") - public String getStatus() { - return status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T13:50:09.0796884+08:00", comments="Source field: public.provider.status") - public void setStatus(String status) { - this.status = status == null ? null : status.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ReadLog.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/ReadLog.java deleted file mode 100644 index 5a3cec5..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ReadLog.java +++ /dev/null @@ -1,230 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 阅读情况 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.read_log - */ -public class ReadLog { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.id") - private String id; - - /** - * Database Column Remarks: - * 申请人id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.weid") - private String weid; - - /** - * Database Column Remarks: - * 档案id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.content_id") - private String content_id; - - /** - * Database Column Remarks: - * 开始时间 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.starttime") - private LocalDateTime starttime; - - /** - * Database Column Remarks: - * 结束时间 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.endtime") - private LocalDateTime endtime; - - /** - * Database Column Remarks: - * ip地址 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.ip") - private String ip; - - /** - * Database Column Remarks: - * 区域 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.location") - private String location; - - /** - * Database Column Remarks: - * 下载类型(1文件包/0单文件) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.downloadtype") - private Integer downloadtype; - - /** - * Database Column Remarks: - * 数字签名 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.sign") - private String sign; - - /** - * Database Column Remarks: - * 一次阅读凭证id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.readid") - private String readid; - - /** - * Database Column Remarks: - * 秘钥id - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.sm9hibeid") - private String sm9hibeid; - - /** - * Database Column Remarks: - * 档案类型 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.content_type") - private Integer content_type; - - /** - * Database Column Remarks: - * 是否上链(1是,0否) - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.ischeck") - private Integer ischeck; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.weid") - public String getWeid() { - return weid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.weid") - public void setWeid(String weid) { - this.weid = weid == null ? null : weid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.content_id") - public String getContent_id() { - return content_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.content_id") - public void setContent_id(String content_id) { - this.content_id = content_id == null ? null : content_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.starttime") - public LocalDateTime getStarttime() { - return starttime; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.starttime") - public void setStarttime(LocalDateTime starttime) { - this.starttime = starttime; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.endtime") - public LocalDateTime getEndtime() { - return endtime; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.endtime") - public void setEndtime(LocalDateTime endtime) { - this.endtime = endtime; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2631526+08:00", comments="Source field: public.read_log.ip") - public String getIp() { - return ip; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.ip") - public void setIp(String ip) { - this.ip = ip == null ? null : ip.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.location") - public String getLocation() { - return location; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.location") - public void setLocation(String location) { - this.location = location == null ? null : location.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.downloadtype") - public Integer getDownloadtype() { - return downloadtype; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.downloadtype") - public void setDownloadtype(Integer downloadtype) { - this.downloadtype = downloadtype; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.sign") - public String getSign() { - return sign; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.sign") - public void setSign(String sign) { - this.sign = sign == null ? null : sign.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.readid") - public String getReadid() { - return readid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.readid") - public void setReadid(String readid) { - this.readid = readid == null ? null : readid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.sm9hibeid") - public String getSm9hibeid() { - return sm9hibeid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.sm9hibeid") - public void setSm9hibeid(String sm9hibeid) { - this.sm9hibeid = sm9hibeid == null ? null : sm9hibeid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.content_type") - public Integer getContent_type() { - return content_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.content_type") - public void setContent_type(Integer content_type) { - this.content_type = content_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.ischeck") - public Integer getIscheck() { - return ischeck; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2641476+08:00", comments="Source field: public.read_log.ischeck") - public void setIscheck(Integer ischeck) { - this.ischeck = ischeck; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareConfigDetail.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareConfigDetail.java deleted file mode 100644 index ca95897..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareConfigDetail.java +++ /dev/null @@ -1,90 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 用户配置的目录树各节点的最终状态,用户配成什么样子就是什么样子 - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.share_config_detail - */ -public class ShareConfigDetail { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1795319+08:00", comments="Source field: public.share_config_detail.node_id") - private String node_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.node_type") - private Integer node_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.share_config_statu") - private Integer share_config_statu; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.create_time") - private LocalDateTime create_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.update_time") - private LocalDateTime update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.update_count") - private Integer update_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1795319+08:00", comments="Source field: public.share_config_detail.node_id") - public String getNode_id() { - return node_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.node_id") - public void setNode_id(String node_id) { - this.node_id = node_id == null ? null : node_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.node_type") - public Integer getNode_type() { - return node_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.node_type") - public void setNode_type(Integer node_type) { - this.node_type = node_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.share_config_statu") - public Integer getShare_config_statu() { - return share_config_statu; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.share_config_statu") - public void setShare_config_statu(Integer share_config_statu) { - this.share_config_statu = share_config_statu; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.create_time") - public LocalDateTime getCreate_time() { - return create_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.create_time") - public void setCreate_time(LocalDateTime create_time) { - this.create_time = create_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.update_time") - public LocalDateTime getUpdate_time() { - return update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.update_time") - public void setUpdate_time(LocalDateTime update_time) { - this.update_time = update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.update_count") - public Integer getUpdate_count() { - return update_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:54:45.1805317+08:00", comments="Source field: public.share_config_detail.update_count") - public void setUpdate_count(Integer update_count) { - this.update_count = update_count; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareDirectory.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareDirectory.java deleted file mode 100644 index 24f19df..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareDirectory.java +++ /dev/null @@ -1,127 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.share_directory - */ -public class ShareDirectory { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6511982+08:00", comments="Source field: public.share_directory.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6521972+08:00", comments="Source field: public.share_directory.provider_id") - private String provider_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.p_id") - private String p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.wbs_id") - private String wbs_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.time_stamp") - private String time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.sortorder") - private Integer sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.tname") - private String tname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.subjoin") - private Integer subjoin; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.isdel") - private Integer isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6521972+08:00", comments="Source field: public.share_directory.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6521972+08:00", comments="Source field: public.share_directory.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6521972+08:00", comments="Source field: public.share_directory.provider_id") - public String getProvider_id() { - return provider_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.provider_id") - public void setProvider_id(String provider_id) { - this.provider_id = provider_id == null ? null : provider_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.p_id") - public String getP_id() { - return p_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.p_id") - public void setP_id(String p_id) { - this.p_id = p_id == null ? null : p_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.wbs_id") - public String getWbs_id() { - return wbs_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.wbs_id") - public void setWbs_id(String wbs_id) { - this.wbs_id = wbs_id == null ? null : wbs_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.time_stamp") - public String getTime_stamp() { - return time_stamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.time_stamp") - public void setTime_stamp(String time_stamp) { - this.time_stamp = time_stamp == null ? null : time_stamp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.sortorder") - public Integer getSortorder() { - return sortorder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.sortorder") - public void setSortorder(Integer sortorder) { - this.sortorder = sortorder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.tname") - public String getTname() { - return tname; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.tname") - public void setTname(String tname) { - this.tname = tname == null ? null : tname.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.subjoin") - public Integer getSubjoin() { - return subjoin; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.subjoin") - public void setSubjoin(Integer subjoin) { - this.subjoin = subjoin; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.isdel") - public Integer getIsdel() { - return isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:43:40.6536146+08:00", comments="Source field: public.share_directory.isdel") - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareDirectoryFile.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareDirectoryFile.java deleted file mode 100644 index 4b0ff3b..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareDirectoryFile.java +++ /dev/null @@ -1,296 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.share_directory_file - */ -public class ShareDirectoryFile { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9071658+08:00", comments="Source field: public.share_directory_file.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.p_id") - private String p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.provider_id") - private String provider_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.filesuper") - private String filesuper; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.filecount") - private Integer filecount; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.dutyperson") - private String dutyperson; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.eweavedate") - private String eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.filepage") - private Integer filepage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.sortorder") - private String sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.bpeg") - private String bpeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.epeg") - private String epeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.filenum") - private String filenum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.remark") - private String remark; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.recordnum") - private String recordnum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.piecenumber") - private String piecenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.adddate") - private String adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.editdate") - private String editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.time_stamp") - private String time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.isdel") - private Integer isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.catalogpdfurl") - private String catalogpdfurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.signtag") - private String signtag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.collecttag") - private String collecttag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.p_id") - public String getP_id() { - return p_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.p_id") - public void setP_id(String p_id) { - this.p_id = p_id == null ? null : p_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.provider_id") - public String getProvider_id() { - return provider_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.provider_id") - public void setProvider_id(String provider_id) { - this.provider_id = provider_id == null ? null : provider_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.filesuper") - public String getFilesuper() { - return filesuper; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.filesuper") - public void setFilesuper(String filesuper) { - this.filesuper = filesuper == null ? null : filesuper.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.filecount") - public Integer getFilecount() { - return filecount; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.filecount") - public void setFilecount(Integer filecount) { - this.filecount = filecount; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.dutyperson") - public String getDutyperson() { - return dutyperson; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.dutyperson") - public void setDutyperson(String dutyperson) { - this.dutyperson = dutyperson == null ? null : dutyperson.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.eweavedate") - public String getEweavedate() { - return eweavedate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9081834+08:00", comments="Source field: public.share_directory_file.eweavedate") - public void setEweavedate(String eweavedate) { - this.eweavedate = eweavedate == null ? null : eweavedate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.filepage") - public Integer getFilepage() { - return filepage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.filepage") - public void setFilepage(Integer filepage) { - this.filepage = filepage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.sortorder") - public String getSortorder() { - return sortorder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.sortorder") - public void setSortorder(String sortorder) { - this.sortorder = sortorder == null ? null : sortorder.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.bpeg") - public String getBpeg() { - return bpeg; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.bpeg") - public void setBpeg(String bpeg) { - this.bpeg = bpeg == null ? null : bpeg.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.epeg") - public String getEpeg() { - return epeg; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.epeg") - public void setEpeg(String epeg) { - this.epeg = epeg == null ? null : epeg.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.filenum") - public String getFilenum() { - return filenum; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.filenum") - public void setFilenum(String filenum) { - this.filenum = filenum == null ? null : filenum.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.remark") - public String getRemark() { - return remark; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.remark") - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9091729+08:00", comments="Source field: public.share_directory_file.recordnum") - public String getRecordnum() { - return recordnum; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.recordnum") - public void setRecordnum(String recordnum) { - this.recordnum = recordnum == null ? null : recordnum.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.piecenumber") - public String getPiecenumber() { - return piecenumber; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.piecenumber") - public void setPiecenumber(String piecenumber) { - this.piecenumber = piecenumber == null ? null : piecenumber.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.adddate") - public String getAdddate() { - return adddate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.adddate") - public void setAdddate(String adddate) { - this.adddate = adddate == null ? null : adddate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.editdate") - public String getEditdate() { - return editdate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.editdate") - public void setEditdate(String editdate) { - this.editdate = editdate == null ? null : editdate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.time_stamp") - public String getTime_stamp() { - return time_stamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.time_stamp") - public void setTime_stamp(String time_stamp) { - this.time_stamp = time_stamp == null ? null : time_stamp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.isdel") - public Integer getIsdel() { - return isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.isdel") - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.catalogpdfurl") - public String getCatalogpdfurl() { - return catalogpdfurl; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.catalogpdfurl") - public void setCatalogpdfurl(String catalogpdfurl) { - this.catalogpdfurl = catalogpdfurl == null ? null : catalogpdfurl.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.signtag") - public String getSigntag() { - return signtag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.9106012+08:00", comments="Source field: public.share_directory_file.signtag") - public void setSigntag(String signtag) { - this.signtag = signtag == null ? null : signtag.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.911525+08:00", comments="Source field: public.share_directory_file.collecttag") - public String getCollecttag() { - return collecttag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:03:57.911525+08:00", comments="Source field: public.share_directory_file.collecttag") - public void setCollecttag(String collecttag) { - this.collecttag = collecttag == null ? null : collecttag.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareFile.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareFile.java deleted file mode 100644 index 4819230..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/ShareFile.java +++ /dev/null @@ -1,244 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.share_file - */ -public class ShareFile { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6047614+08:00", comments="Source field: public.share_file.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.p_id") - private String p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.provider_id") - private String provider_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.tablenumber") - private String tablenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.annexname") - private String annexname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.projectname") - private String projectname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.eweavedate") - private String eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.checkdate") - private String checkdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.annexpage") - private Integer annexpage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.sortorder") - private String sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.filefrom") - private String filefrom; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.archivestag") - private String archivestag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.adddate") - private String adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.editdate") - private String editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.time_stamp") - private String time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.isdel") - private Integer isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.downurl") - private String downurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.filesize") - private Integer filesize; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6047614+08:00", comments="Source field: public.share_file.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.p_id") - public String getP_id() { - return p_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.p_id") - public void setP_id(String p_id) { - this.p_id = p_id == null ? null : p_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.provider_id") - public String getProvider_id() { - return provider_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.provider_id") - public void setProvider_id(String provider_id) { - this.provider_id = provider_id == null ? null : provider_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.tablenumber") - public String getTablenumber() { - return tablenumber; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.tablenumber") - public void setTablenumber(String tablenumber) { - this.tablenumber = tablenumber == null ? null : tablenumber.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.annexname") - public String getAnnexname() { - return annexname; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.annexname") - public void setAnnexname(String annexname) { - this.annexname = annexname == null ? null : annexname.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.projectname") - public String getProjectname() { - return projectname; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.projectname") - public void setProjectname(String projectname) { - this.projectname = projectname == null ? null : projectname.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.eweavedate") - public String getEweavedate() { - return eweavedate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.eweavedate") - public void setEweavedate(String eweavedate) { - this.eweavedate = eweavedate == null ? null : eweavedate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.checkdate") - public String getCheckdate() { - return checkdate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.checkdate") - public void setCheckdate(String checkdate) { - this.checkdate = checkdate == null ? null : checkdate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.annexpage") - public Integer getAnnexpage() { - return annexpage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6057616+08:00", comments="Source field: public.share_file.annexpage") - public void setAnnexpage(Integer annexpage) { - this.annexpage = annexpage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.sortorder") - public String getSortorder() { - return sortorder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.sortorder") - public void setSortorder(String sortorder) { - this.sortorder = sortorder == null ? null : sortorder.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.filefrom") - public String getFilefrom() { - return filefrom; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.filefrom") - public void setFilefrom(String filefrom) { - this.filefrom = filefrom == null ? null : filefrom.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.archivestag") - public String getArchivestag() { - return archivestag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.archivestag") - public void setArchivestag(String archivestag) { - this.archivestag = archivestag == null ? null : archivestag.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.adddate") - public String getAdddate() { - return adddate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.adddate") - public void setAdddate(String adddate) { - this.adddate = adddate == null ? null : adddate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.editdate") - public String getEditdate() { - return editdate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.editdate") - public void setEditdate(String editdate) { - this.editdate = editdate == null ? null : editdate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.time_stamp") - public String getTime_stamp() { - return time_stamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.time_stamp") - public void setTime_stamp(String time_stamp) { - this.time_stamp = time_stamp == null ? null : time_stamp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.isdel") - public Integer getIsdel() { - return isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.isdel") - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.downurl") - public String getDownurl() { - return downurl; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.downurl") - public void setDownurl(String downurl) { - this.downurl = downurl == null ? null : downurl.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.filesize") - public Integer getFilesize() { - return filesize; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T10:04:26.6067613+08:00", comments="Source field: public.share_file.filesize") - public void setFilesize(Integer filesize) { - this.filesize = filesize; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedElementUpdateDetail.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedElementUpdateDetail.java deleted file mode 100644 index 2603021..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedElementUpdateDetail.java +++ /dev/null @@ -1,130 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 共享元素的更新详情,从属于shared_element_udpate_recrod,每条记录代表一个目录树节点的更新状态,目录树节点可以是分类目录、文件目录以及文件 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.shared_element_update_detail - */ -public class SharedElementUpdateDetail { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2541531+08:00", comments="Source field: public.shared_element_update_detail.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2541531+08:00", comments="Source field: public.shared_element_update_detail.update_record_id") - private String update_record_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.260147+08:00", comments="Source field: public.shared_element_update_detail.node_type") - private Integer node_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.260147+08:00", comments="Source field: public.shared_element_update_detail.node_id") - private String node_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.share_status") - private Integer share_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_start_time") - private LocalDateTime execute_start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_end_time") - private LocalDateTime execute_end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_desp") - private String execute_desp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_success") - private Integer execute_success; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2541531+08:00", comments="Source field: public.shared_element_update_detail.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2541531+08:00", comments="Source field: public.shared_element_update_detail.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2541531+08:00", comments="Source field: public.shared_element_update_detail.update_record_id") - public String getUpdate_record_id() { - return update_record_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2541531+08:00", comments="Source field: public.shared_element_update_detail.update_record_id") - public void setUpdate_record_id(String update_record_id) { - this.update_record_id = update_record_id == null ? null : update_record_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.260147+08:00", comments="Source field: public.shared_element_update_detail.node_type") - public Integer getNode_type() { - return node_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.260147+08:00", comments="Source field: public.shared_element_update_detail.node_type") - public void setNode_type(Integer node_type) { - this.node_type = node_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.260147+08:00", comments="Source field: public.shared_element_update_detail.node_id") - public String getNode_id() { - return node_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.node_id") - public void setNode_id(String node_id) { - this.node_id = node_id == null ? null : node_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.share_status") - public Integer getShare_status() { - return share_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.share_status") - public void setShare_status(Integer share_status) { - this.share_status = share_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_start_time") - public LocalDateTime getExecute_start_time() { - return execute_start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_start_time") - public void setExecute_start_time(LocalDateTime execute_start_time) { - this.execute_start_time = execute_start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_end_time") - public LocalDateTime getExecute_end_time() { - return execute_end_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_end_time") - public void setExecute_end_time(LocalDateTime execute_end_time) { - this.execute_end_time = execute_end_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_desp") - public String getExecute_desp() { - return execute_desp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_desp") - public void setExecute_desp(String execute_desp) { - this.execute_desp = execute_desp == null ? null : execute_desp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_success") - public Integer getExecute_success() { - return execute_success; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.261151+08:00", comments="Source field: public.shared_element_update_detail.execute_success") - public void setExecute_success(Integer execute_success) { - this.execute_success = execute_success; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedElementUpdateRecord.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedElementUpdateRecord.java deleted file mode 100644 index 6763119..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedElementUpdateRecord.java +++ /dev/null @@ -1,195 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 共享元素的更新记录,例如用户修改共享配置一次即产生一条此记录,系统从电子档案系统同步最新数据后一般也会产生一条此记录 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.shared_element_update_record - */ -public class SharedElementUpdateRecord { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9341706+08:00", comments="Source field: public.shared_element_update_record.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.share_rule_id") - private String share_rule_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.user_id") - private String user_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.desp") - private String desp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.create_time") - private LocalDateTime create_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.node_count") - private Long node_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.source") - private String source; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.execute_start_time") - private LocalDateTime execute_start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.execute_end_time") - private LocalDateTime execute_end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.execute_desp") - private String execute_desp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.execute_status") - private Integer execute_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.succ_exec_node_count") - private Integer succ_exec_node_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.act_node_count") - private Integer act_node_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.execute_count") - private Integer execute_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9351735+08:00", comments="Source field: public.shared_element_update_record.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.share_rule_id") - public String getShare_rule_id() { - return share_rule_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.share_rule_id") - public void setShare_rule_id(String share_rule_id) { - this.share_rule_id = share_rule_id == null ? null : share_rule_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.user_id") - public String getUser_id() { - return user_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.user_id") - public void setUser_id(String user_id) { - this.user_id = user_id == null ? null : user_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.desp") - public String getDesp() { - return desp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.desp") - public void setDesp(String desp) { - this.desp = desp == null ? null : desp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.create_time") - public LocalDateTime getCreate_time() { - return create_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.create_time") - public void setCreate_time(LocalDateTime create_time) { - this.create_time = create_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.node_count") - public Long getNode_count() { - return node_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.node_count") - public void setNode_count(Long node_count) { - this.node_count = node_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.source") - public String getSource() { - return source; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.source") - public void setSource(String source) { - this.source = source == null ? null : source.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.execute_start_time") - public LocalDateTime getExecute_start_time() { - return execute_start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.execute_start_time") - public void setExecute_start_time(LocalDateTime execute_start_time) { - this.execute_start_time = execute_start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.execute_end_time") - public LocalDateTime getExecute_end_time() { - return execute_end_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9361852+08:00", comments="Source field: public.shared_element_update_record.execute_end_time") - public void setExecute_end_time(LocalDateTime execute_end_time) { - this.execute_end_time = execute_end_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.execute_desp") - public String getExecute_desp() { - return execute_desp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.execute_desp") - public void setExecute_desp(String execute_desp) { - this.execute_desp = execute_desp == null ? null : execute_desp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.execute_status") - public Integer getExecute_status() { - return execute_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.execute_status") - public void setExecute_status(Integer execute_status) { - this.execute_status = execute_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.succ_exec_node_count") - public Integer getSucc_exec_node_count() { - return succ_exec_node_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.succ_exec_node_count") - public void setSucc_exec_node_count(Integer succ_exec_node_count) { - this.succ_exec_node_count = succ_exec_node_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.act_node_count") - public Integer getAct_node_count() { - return act_node_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.act_node_count") - public void setAct_node_count(Integer act_node_count) { - this.act_node_count = act_node_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.execute_count") - public Integer getExecute_count() { - return execute_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-07T16:19:53.9371737+08:00", comments="Source field: public.shared_element_update_record.execute_count") - public void setExecute_count(Integer execute_count) { - this.execute_count = execute_count; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedRuleConfig.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedRuleConfig.java deleted file mode 100644 index e08dc60..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedRuleConfig.java +++ /dev/null @@ -1,88 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.shared_rule_config - */ -public class SharedRuleConfig { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.name") - private String name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.describe") - private String describe; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.status") - private Integer status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.sort") - private Integer sort; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.project_name") - private String project_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.name") - public String getName() { - return name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.name") - public void setName(String name) { - this.name = name == null ? null : name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.describe") - public String getDescribe() { - return describe; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.describe") - public void setDescribe(String describe) { - this.describe = describe == null ? null : describe.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.status") - public Integer getStatus() { - return status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.status") - public void setStatus(Integer status) { - this.status = status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.sort") - public Integer getSort() { - return sort; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.sort") - public void setSort(Integer sort) { - this.sort = sort; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.project_name") - public String getProject_name() { - return project_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3121484+08:00", comments="Source field: public.shared_rule_config.project_name") - public void setProject_name(String project_name) { - this.project_name = project_name == null ? null : project_name.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedSynAll.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedSynAll.java deleted file mode 100644 index 2cd15d4..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SharedSynAll.java +++ /dev/null @@ -1,127 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.shared_syn_all - */ -public class SharedSynAll { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.syn_id") - private String syn_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.syn_type") - private Integer syn_type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.is_config_rule") - private Integer is_config_rule; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.shared_status") - private Integer shared_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.syn_status") - private Integer syn_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.block_number") - private String block_number; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.block_hash") - private String block_hash; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.block_time") - private String block_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.syn_id") - public String getSyn_id() { - return syn_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.syn_id") - public void setSyn_id(String syn_id) { - this.syn_id = syn_id == null ? null : syn_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.syn_type") - public Integer getSyn_type() { - return syn_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.syn_type") - public void setSyn_type(Integer syn_type) { - this.syn_type = syn_type; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.is_config_rule") - public Integer getIs_config_rule() { - return is_config_rule; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.is_config_rule") - public void setIs_config_rule(Integer is_config_rule) { - this.is_config_rule = is_config_rule; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.shared_status") - public Integer getShared_status() { - return shared_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.shared_status") - public void setShared_status(Integer shared_status) { - this.shared_status = shared_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.syn_status") - public Integer getSyn_status() { - return syn_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.syn_status") - public void setSyn_status(Integer syn_status) { - this.syn_status = syn_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.block_number") - public String getBlock_number() { - return block_number; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.block_number") - public void setBlock_number(String block_number) { - this.block_number = block_number == null ? null : block_number.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.block_hash") - public String getBlock_hash() { - return block_hash; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.block_hash") - public void setBlock_hash(String block_hash) { - this.block_hash = block_hash == null ? null : block_hash.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.block_time") - public String getBlock_time() { - return block_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3021485+08:00", comments="Source field: public.shared_syn_all.block_time") - public void setBlock_time(String block_time) { - this.block_time = block_time == null ? null : block_time.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SynDirectory.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SynDirectory.java deleted file mode 100644 index 5466ae2..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SynDirectory.java +++ /dev/null @@ -1,114 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.syn_directory - */ -public class SynDirectory { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.p_id") - private String p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.wbs_id") - private String wbs_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.time_stamp") - private String time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.sortorder") - private Integer sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.tname") - private String tname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.subjoin") - private Integer subjoin; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.isdel") - private Integer isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.p_id") - public String getP_id() { - return p_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.p_id") - public void setP_id(String p_id) { - this.p_id = p_id == null ? null : p_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.wbs_id") - public String getWbs_id() { - return wbs_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.wbs_id") - public void setWbs_id(String wbs_id) { - this.wbs_id = wbs_id == null ? null : wbs_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.time_stamp") - public String getTime_stamp() { - return time_stamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.time_stamp") - public void setTime_stamp(String time_stamp) { - this.time_stamp = time_stamp == null ? null : time_stamp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.sortorder") - public Integer getSortorder() { - return sortorder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.sortorder") - public void setSortorder(Integer sortorder) { - this.sortorder = sortorder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.tname") - public String getTname() { - return tname; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.tname") - public void setTname(String tname) { - this.tname = tname == null ? null : tname.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.subjoin") - public Integer getSubjoin() { - return subjoin; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.subjoin") - public void setSubjoin(Integer subjoin) { - this.subjoin = subjoin; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.isdel") - public Integer getIsdel() { - return isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5084726+08:00", comments="Source field: public.syn_directory.isdel") - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SynDirectoryFile.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SynDirectoryFile.java deleted file mode 100644 index 8c75a68..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SynDirectoryFile.java +++ /dev/null @@ -1,283 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.syn_directory_file - */ -public class SynDirectoryFile { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4706017+08:00", comments="Source field: public.syn_directory_file.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.p_id") - private String p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filesuper") - private String filesuper; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filecount") - private Integer filecount; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.dutyperson") - private String dutyperson; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.eweavedate") - private String eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filepage") - private Integer filepage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.sortorder") - private String sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.bpeg") - private String bpeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.epeg") - private String epeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filenum") - private String filenum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.remark") - private String remark; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.recordnum") - private String recordnum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.piecenumber") - private String piecenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.adddate") - private String adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.editdate") - private String editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.time_stamp") - private String time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.isdel") - private Integer isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.catalogpdfurl") - private String catalogpdfurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.signtag") - private String signtag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.collecttag") - private String collecttag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4706017+08:00", comments="Source field: public.syn_directory_file.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.p_id") - public String getP_id() { - return p_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.p_id") - public void setP_id(String p_id) { - this.p_id = p_id == null ? null : p_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filesuper") - public String getFilesuper() { - return filesuper; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filesuper") - public void setFilesuper(String filesuper) { - this.filesuper = filesuper == null ? null : filesuper.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filecount") - public Integer getFilecount() { - return filecount; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filecount") - public void setFilecount(Integer filecount) { - this.filecount = filecount; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.dutyperson") - public String getDutyperson() { - return dutyperson; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.dutyperson") - public void setDutyperson(String dutyperson) { - this.dutyperson = dutyperson == null ? null : dutyperson.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.eweavedate") - public String getEweavedate() { - return eweavedate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.eweavedate") - public void setEweavedate(String eweavedate) { - this.eweavedate = eweavedate == null ? null : eweavedate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filepage") - public Integer getFilepage() { - return filepage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filepage") - public void setFilepage(Integer filepage) { - this.filepage = filepage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.sortorder") - public String getSortorder() { - return sortorder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.sortorder") - public void setSortorder(String sortorder) { - this.sortorder = sortorder == null ? null : sortorder.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.bpeg") - public String getBpeg() { - return bpeg; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.bpeg") - public void setBpeg(String bpeg) { - this.bpeg = bpeg == null ? null : bpeg.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.epeg") - public String getEpeg() { - return epeg; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.epeg") - public void setEpeg(String epeg) { - this.epeg = epeg == null ? null : epeg.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filenum") - public String getFilenum() { - return filenum; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.filenum") - public void setFilenum(String filenum) { - this.filenum = filenum == null ? null : filenum.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.remark") - public String getRemark() { - return remark; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.remark") - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.recordnum") - public String getRecordnum() { - return recordnum; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4716328+08:00", comments="Source field: public.syn_directory_file.recordnum") - public void setRecordnum(String recordnum) { - this.recordnum = recordnum == null ? null : recordnum.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.piecenumber") - public String getPiecenumber() { - return piecenumber; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.piecenumber") - public void setPiecenumber(String piecenumber) { - this.piecenumber = piecenumber == null ? null : piecenumber.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.adddate") - public String getAdddate() { - return adddate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.adddate") - public void setAdddate(String adddate) { - this.adddate = adddate == null ? null : adddate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.editdate") - public String getEditdate() { - return editdate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.editdate") - public void setEditdate(String editdate) { - this.editdate = editdate == null ? null : editdate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.time_stamp") - public String getTime_stamp() { - return time_stamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.time_stamp") - public void setTime_stamp(String time_stamp) { - this.time_stamp = time_stamp == null ? null : time_stamp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.isdel") - public Integer getIsdel() { - return isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.isdel") - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.catalogpdfurl") - public String getCatalogpdfurl() { - return catalogpdfurl; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.catalogpdfurl") - public void setCatalogpdfurl(String catalogpdfurl) { - this.catalogpdfurl = catalogpdfurl == null ? null : catalogpdfurl.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.signtag") - public String getSigntag() { - return signtag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.signtag") - public void setSigntag(String signtag) { - this.signtag = signtag == null ? null : signtag.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.collecttag") - public String getCollecttag() { - return collecttag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4731095+08:00", comments="Source field: public.syn_directory_file.collecttag") - public void setCollecttag(String collecttag) { - this.collecttag = collecttag == null ? null : collecttag.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SynFile.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SynFile.java deleted file mode 100644 index 94cc550..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SynFile.java +++ /dev/null @@ -1,231 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.syn_file - */ -public class SynFile { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.p_id") - private String p_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.tablenumber") - private String tablenumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.annexname") - private String annexname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.projectname") - private String projectname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.eweavedate") - private String eweavedate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.checkdate") - private String checkdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.annexpage") - private Integer annexpage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.sortorder") - private String sortorder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.filefrom") - private String filefrom; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.archivestag") - private String archivestag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.adddate") - private String adddate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.editdate") - private String editdate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.time_stamp") - private String time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.isdel") - private Integer isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.downurl") - private String downurl; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.filesize") - private Integer filesize; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.p_id") - public String getP_id() { - return p_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.p_id") - public void setP_id(String p_id) { - this.p_id = p_id == null ? null : p_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.tablenumber") - public String getTablenumber() { - return tablenumber; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.tablenumber") - public void setTablenumber(String tablenumber) { - this.tablenumber = tablenumber == null ? null : tablenumber.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.annexname") - public String getAnnexname() { - return annexname; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4986049+08:00", comments="Source field: public.syn_file.annexname") - public void setAnnexname(String annexname) { - this.annexname = annexname == null ? null : annexname.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.projectname") - public String getProjectname() { - return projectname; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.projectname") - public void setProjectname(String projectname) { - this.projectname = projectname == null ? null : projectname.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.eweavedate") - public String getEweavedate() { - return eweavedate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.eweavedate") - public void setEweavedate(String eweavedate) { - this.eweavedate = eweavedate == null ? null : eweavedate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.checkdate") - public String getCheckdate() { - return checkdate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.checkdate") - public void setCheckdate(String checkdate) { - this.checkdate = checkdate == null ? null : checkdate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.annexpage") - public Integer getAnnexpage() { - return annexpage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.annexpage") - public void setAnnexpage(Integer annexpage) { - this.annexpage = annexpage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.sortorder") - public String getSortorder() { - return sortorder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.sortorder") - public void setSortorder(String sortorder) { - this.sortorder = sortorder == null ? null : sortorder.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.filefrom") - public String getFilefrom() { - return filefrom; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.filefrom") - public void setFilefrom(String filefrom) { - this.filefrom = filefrom == null ? null : filefrom.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.archivestag") - public String getArchivestag() { - return archivestag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.archivestag") - public void setArchivestag(String archivestag) { - this.archivestag = archivestag == null ? null : archivestag.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.adddate") - public String getAdddate() { - return adddate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.adddate") - public void setAdddate(String adddate) { - this.adddate = adddate == null ? null : adddate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.editdate") - public String getEditdate() { - return editdate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.editdate") - public void setEditdate(String editdate) { - this.editdate = editdate == null ? null : editdate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.time_stamp") - public String getTime_stamp() { - return time_stamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.time_stamp") - public void setTime_stamp(String time_stamp) { - this.time_stamp = time_stamp == null ? null : time_stamp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.isdel") - public Integer getIsdel() { - return isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.isdel") - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.downurl") - public String getDownurl() { - return downurl; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.downurl") - public void setDownurl(String downurl) { - this.downurl = downurl == null ? null : downurl.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.filesize") - public Integer getFilesize() { - return filesize; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.4996344+08:00", comments="Source field: public.syn_file.filesize") - public void setFilesize(Integer filesize) { - this.filesize = filesize; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/Sync2blockchainTask.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/Sync2blockchainTask.java deleted file mode 100644 index 679f4c6..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/Sync2blockchainTask.java +++ /dev/null @@ -1,235 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * Database Table Remarks: - * 同步数据至链上的task,一次执行产生一条记录。 -update*_count/insert*_count/remove*count这九个之和即是成功执行的数量;faild_process_count为失败的数量,二者之和等于need_process_count - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sync2blockchain_task - */ -public class Sync2blockchainTask { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.start_time") - private LocalDateTime start_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.end_time") - private LocalDateTime end_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.update_dir_count") - private Integer update_dir_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.insert_dir_count") - private Integer insert_dir_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.remove_dir_count") - private Integer remove_dir_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.execute_status") - private Integer execute_status; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.desp") - private String desp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.update_dirfile_count") - private Integer update_dirfile_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.insert_dirfile_count") - private Integer insert_dirfile_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.remove_dirfile_count") - private Integer remove_dirfile_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.update_file_count") - private Integer update_file_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042192+08:00", comments="Source field: public.sync2blockchain_task.insert_file_count") - private Integer insert_file_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042192+08:00", comments="Source field: public.sync2blockchain_task.remove_file_count") - private Integer remove_file_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.need_process_count") - private Integer need_process_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.processed_count") - private Integer processed_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.failed_process_count") - private Integer failed_process_count; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.start_time") - public LocalDateTime getStart_time() { - return start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.start_time") - public void setStart_time(LocalDateTime start_time) { - this.start_time = start_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.end_time") - public LocalDateTime getEnd_time() { - return end_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.end_time") - public void setEnd_time(LocalDateTime end_time) { - this.end_time = end_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.update_dir_count") - public Integer getUpdate_dir_count() { - return update_dir_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.update_dir_count") - public void setUpdate_dir_count(Integer update_dir_count) { - this.update_dir_count = update_dir_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.insert_dir_count") - public Integer getInsert_dir_count() { - return insert_dir_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.insert_dir_count") - public void setInsert_dir_count(Integer insert_dir_count) { - this.insert_dir_count = insert_dir_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.remove_dir_count") - public Integer getRemove_dir_count() { - return remove_dir_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.remove_dir_count") - public void setRemove_dir_count(Integer remove_dir_count) { - this.remove_dir_count = remove_dir_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.execute_status") - public Integer getExecute_status() { - return execute_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.execute_status") - public void setExecute_status(Integer execute_status) { - this.execute_status = execute_status; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.desp") - public String getDesp() { - return desp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.desp") - public void setDesp(String desp) { - this.desp = desp == null ? null : desp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.update_dirfile_count") - public Integer getUpdate_dirfile_count() { - return update_dirfile_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.update_dirfile_count") - public void setUpdate_dirfile_count(Integer update_dirfile_count) { - this.update_dirfile_count = update_dirfile_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.insert_dirfile_count") - public Integer getInsert_dirfile_count() { - return insert_dirfile_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.insert_dirfile_count") - public void setInsert_dirfile_count(Integer insert_dirfile_count) { - this.insert_dirfile_count = insert_dirfile_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.remove_dirfile_count") - public Integer getRemove_dirfile_count() { - return remove_dirfile_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.remove_dirfile_count") - public void setRemove_dirfile_count(Integer remove_dirfile_count) { - this.remove_dirfile_count = remove_dirfile_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.update_file_count") - public Integer getUpdate_file_count() { - return update_file_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5032131+08:00", comments="Source field: public.sync2blockchain_task.update_file_count") - public void setUpdate_file_count(Integer update_file_count) { - this.update_file_count = update_file_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042192+08:00", comments="Source field: public.sync2blockchain_task.insert_file_count") - public Integer getInsert_file_count() { - return insert_file_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042192+08:00", comments="Source field: public.sync2blockchain_task.insert_file_count") - public void setInsert_file_count(Integer insert_file_count) { - this.insert_file_count = insert_file_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.remove_file_count") - public Integer getRemove_file_count() { - return remove_file_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.remove_file_count") - public void setRemove_file_count(Integer remove_file_count) { - this.remove_file_count = remove_file_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.need_process_count") - public Integer getNeed_process_count() { - return need_process_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.need_process_count") - public void setNeed_process_count(Integer need_process_count) { - this.need_process_count = need_process_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.processed_count") - public Integer getProcessed_count() { - return processed_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.processed_count") - public void setProcessed_count(Integer processed_count) { - this.processed_count = processed_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.failed_process_count") - public Integer getFailed_process_count() { - return failed_process_count; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T22:49:22.5042772+08:00", comments="Source field: public.sync2blockchain_task.failed_process_count") - public void setFailed_process_count(Integer failed_process_count) { - this.failed_process_count = failed_process_count; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdmin.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdmin.java index b2d28c3..32ac5a1 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdmin.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdmin.java @@ -5,192 +5,109 @@ import jakarta.annotation.Generated; /** * * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_admin + * This class corresponds to the database table yx..sys_admin */ public class SysAdmin { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.org_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.org_id") private String org_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.realname") - private String realname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.username") - private String username; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.password") - private String password; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.phone") - private String phone; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.email") - private String email; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.job") - private String job; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.gender") - private Integer gender; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.islock") - private Integer islock; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.type") - private Integer type; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.sort") - private Integer sort; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.cer_id") - private String cer_id; - /** * Database Column Remarks: - * 公司ID,组织ID的最高级 + * 0管理员,1普通用户 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.company_id") - private String company_id; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.type") + private Integer type; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.realname") + private String realname; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.username") + private String username; + + /** + * Database Column Remarks: + * sha3_256hex + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.password") + private String password; + + /** + * Database Column Remarks: + * 0正常,1锁定 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.islock") + private Integer islock; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.org_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.org_id") public String getOrg_id() { return org_id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.org_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.org_id") public void setOrg_id(String org_id) { this.org_id = org_id == null ? null : org_id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.realname") - public String getRealname() { - return realname; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.realname") - public void setRealname(String realname) { - this.realname = realname == null ? null : realname.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.username") - public String getUsername() { - return username; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.username") - public void setUsername(String username) { - this.username = username == null ? null : username.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.password") - public String getPassword() { - return password; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.password") - public void setPassword(String password) { - this.password = password == null ? null : password.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.phone") - public String getPhone() { - return phone; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.phone") - public void setPhone(String phone) { - this.phone = phone == null ? null : phone.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.email") - public String getEmail() { - return email; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.email") - public void setEmail(String email) { - this.email = email == null ? null : email.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.job") - public String getJob() { - return job; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.job") - public void setJob(String job) { - this.job = job == null ? null : job.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.gender") - public Integer getGender() { - return gender; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.gender") - public void setGender(Integer gender) { - this.gender = gender; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.islock") - public Integer getIslock() { - return islock; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.islock") - public void setIslock(Integer islock) { - this.islock = islock; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.type") public Integer getType() { return type; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.type") public void setType(Integer type) { this.type = type; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.sort") - public Integer getSort() { - return sort; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.realname") + public String getRealname() { + return realname; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.sort") - public void setSort(Integer sort) { - this.sort = sort; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.realname") + public void setRealname(String realname) { + this.realname = realname == null ? null : realname.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.cer_id") - public String getCer_id() { - return cer_id; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.username") + public String getUsername() { + return username; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.cer_id") - public void setCer_id(String cer_id) { - this.cer_id = cer_id == null ? null : cer_id.trim(); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.username") + public void setUsername(String username) { + this.username = username == null ? null : username.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.company_id") - public String getCompany_id() { - return company_id; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.password") + public String getPassword() { + return password; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2851466+08:00", comments="Source field: public.sys_admin.company_id") - public void setCompany_id(String company_id) { - this.company_id = company_id == null ? null : company_id.trim(); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.password") + public void setPassword(String password) { + this.password = password == null ? null : password.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.islock") + public Integer getIslock() { + return islock; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.islock") + public void setIslock(Integer islock) { + this.islock = islock; } } \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminMenu.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminMenu.java new file mode 100644 index 0000000..d71f322 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminMenu.java @@ -0,0 +1,49 @@ +package jj.tech.paolu.repository.mybatis.entity; + +import jakarta.annotation.Generated; + +/** + * + * This class was generated by MyBatis Generator. + * This class corresponds to the database table yx..sys_admin_menu + */ +public class SysAdminMenu { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.id") + private String id; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.adminid") + private String adminid; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.memuid") + private String memuid; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.id") + public String getId() { + return id; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.id") + public void setId(String id) { + this.id = id == null ? null : id.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.adminid") + public String getAdminid() { + return adminid; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.adminid") + public void setAdminid(String adminid) { + this.adminid = adminid == null ? null : adminid.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.memuid") + public String getMemuid() { + return memuid; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source field: yx..sys_admin_menu.memuid") + public void setMemuid(String memuid) { + this.memuid = memuid == null ? null : memuid.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminRole.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminRole.java index 07dd578..4fcd0c7 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminRole.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminRole.java @@ -5,45 +5,45 @@ import jakarta.annotation.Generated; /** * * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_admin_role + * This class corresponds to the database table yx..sys_admin_role */ public class SysAdminRole { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4746442+08:00", comments="Source field: yx..sys_admin_role.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.adminid") - private String adminid; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.admin_id") + private String admin_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.roleid") - private String roleid; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.role_id") + private Integer role_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.adminid") - public String getAdminid() { - return adminid; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.admin_id") + public String getAdmin_id() { + return admin_id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.adminid") - public void setAdminid(String adminid) { - this.adminid = adminid == null ? null : adminid.trim(); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.admin_id") + public void setAdmin_id(String admin_id) { + this.admin_id = admin_id == null ? null : admin_id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.roleid") - public String getRoleid() { - return roleid; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.role_id") + public Integer getRole_id() { + return role_id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.291149+08:00", comments="Source field: public.sys_admin_role.roleid") - public void setRoleid(String roleid) { - this.roleid = roleid == null ? null : roleid.trim(); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.role_id") + public void setRole_id(Integer role_id) { + this.role_id = role_id; } } \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminWeid.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminWeid.java deleted file mode 100644 index 0069f09..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminWeid.java +++ /dev/null @@ -1,106 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; -import java.time.LocalDateTime; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_admin_weid - */ -public class SysAdminWeid { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.admin_id") - private String admin_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.wid") - private String wid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.wprivate_key") - private String wprivate_key; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.add_time") - private LocalDateTime add_time; - - /** - * Database Column Remarks: - * 存证哈希 - */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.certificate_hash") - private String certificate_hash; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.chain_block") - private String chain_block; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.admin_id") - public String getAdmin_id() { - return admin_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.admin_id") - public void setAdmin_id(String admin_id) { - this.admin_id = admin_id == null ? null : admin_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.wid") - public String getWid() { - return wid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.wid") - public void setWid(String wid) { - this.wid = wid == null ? null : wid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.wprivate_key") - public String getWprivate_key() { - return wprivate_key; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.wprivate_key") - public void setWprivate_key(String wprivate_key) { - this.wprivate_key = wprivate_key == null ? null : wprivate_key.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.add_time") - public LocalDateTime getAdd_time() { - return add_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.add_time") - public void setAdd_time(LocalDateTime add_time) { - this.add_time = add_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.certificate_hash") - public String getCertificate_hash() { - return certificate_hash; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.certificate_hash") - public void setCertificate_hash(String certificate_hash) { - this.certificate_hash = certificate_hash == null ? null : certificate_hash.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.chain_block") - public String getChain_block() { - return chain_block; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.283154+08:00", comments="Source field: public.sys_admin_weid.chain_block") - public void setChain_block(String chain_block) { - this.chain_block = chain_block == null ? null : chain_block.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysArea.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysArea.java deleted file mode 100644 index 5c80d8b..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysArea.java +++ /dev/null @@ -1,101 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_area - */ -public class SysArea { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.level_code") - private Short level_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.parent_code") - private String parent_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.area_code") - private String area_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.name") - private String name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.pid") - private String pid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.pids") - private String pids; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.level_code") - public Short getLevel_code() { - return level_code; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.level_code") - public void setLevel_code(Short level_code) { - this.level_code = level_code; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.parent_code") - public String getParent_code() { - return parent_code; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.parent_code") - public void setParent_code(String parent_code) { - this.parent_code = parent_code == null ? null : parent_code.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.area_code") - public String getArea_code() { - return area_code; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.area_code") - public void setArea_code(String area_code) { - this.area_code = area_code == null ? null : area_code.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.name") - public String getName() { - return name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.name") - public void setName(String name) { - this.name = name == null ? null : name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.pid") - public String getPid() { - return pid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.pid") - public void setPid(String pid) { - this.pid = pid == null ? null : pid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.pids") - public String getPids() { - return pids; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.314148+08:00", comments="Source field: public.sys_area.pids") - public void setPids(String pids) { - this.pids = pids == null ? null : pids.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysConfig.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysConfig.java index 509e1e6..ee3719f 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysConfig.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysConfig.java @@ -6,96 +6,120 @@ import java.time.LocalDateTime; /** * * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_config + * This class corresponds to the database table yx..sys_config */ public class SysConfig { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.subgroup") + /** + * Database Column Remarks: + * 分组 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.subgroup") private String subgroup; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.keys") - private String keys; + /** + * Database Column Remarks: + * 键 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.k") + private String k; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.val") + /** + * Database Column Remarks: + * 值 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.val") private String val; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.admin_id") + /** + * Database Column Remarks: + * 管理员id + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.admin_id") private String admin_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.adminname") + /** + * Database Column Remarks: + * 管理员名称 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.adminname") private String adminname; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.edittime") + /** + * Database Column Remarks: + * 最后编辑时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.edittime") private LocalDateTime edittime; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.subgroup") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.subgroup") public String getSubgroup() { return subgroup; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.subgroup") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.subgroup") public void setSubgroup(String subgroup) { this.subgroup = subgroup == null ? null : subgroup.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.keys") - public String getKeys() { - return keys; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.k") + public String getK() { + return k; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.keys") - public void setKeys(String keys) { - this.keys = keys == null ? null : keys.trim(); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.k") + public void setK(String k) { + this.k = k == null ? null : k.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.val") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.val") public String getVal() { return val; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.val") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.val") public void setVal(String val) { this.val = val == null ? null : val.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.admin_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.admin_id") public String getAdmin_id() { return admin_id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.admin_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.admin_id") public void setAdmin_id(String admin_id) { this.admin_id = admin_id == null ? null : admin_id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.adminname") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.adminname") public String getAdminname() { return adminname; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2811498+08:00", comments="Source field: public.sys_config.adminname") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.adminname") public void setAdminname(String adminname) { this.adminname = adminname == null ? null : adminname.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source field: public.sys_config.edittime") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.edittime") public LocalDateTime getEdittime() { return edittime; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2821548+08:00", comments="Source field: public.sys_config.edittime") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.edittime") public void setEdittime(LocalDateTime edittime) { this.edittime = edittime; } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysMenu.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysMenu.java index 7ef416e..320e977 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysMenu.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysMenu.java @@ -5,149 +5,140 @@ import jakarta.annotation.Generated; /** * * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_menu + * This class corresponds to the database table yx..sys_menu */ public class SysMenu { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.parent_id") private String parent_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.level") private Integer level; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.name") private String name; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.types") + /** + * Database Column Remarks: + * menu,url + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.types") private String types; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.url") private String url; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.icon") private String icon; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.is_open") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.is_open") private Integer is_open; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.description") private String description; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.sort") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.sort") private Integer sort; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.parentpath") - private String parentpath; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.parent_id") public String getParent_id() { return parent_id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.parent_id") public void setParent_id(String parent_id) { this.parent_id = parent_id == null ? null : parent_id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.level") public Integer getLevel() { return level; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.level") public void setLevel(Integer level) { this.level = level; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.name") public String getName() { return name; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.name") public void setName(String name) { this.name = name == null ? null : name.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.types") public String getTypes() { return types; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.types") public void setTypes(String types) { this.types = types == null ? null : types.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.url") public String getUrl() { return url; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.url") public void setUrl(String url) { this.url = url == null ? null : url.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.icon") public String getIcon() { return icon; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.icon") public void setIcon(String icon) { this.icon = icon == null ? null : icon.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.is_open") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.is_open") public Integer getIs_open() { return is_open; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.is_open") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.is_open") public void setIs_open(Integer is_open) { this.is_open = is_open; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.description") public String getDescription() { return description; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.description") public void setDescription(String description) { this.description = description == null ? null : description.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.sort") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.sort") public Integer getSort() { return sort; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.sort") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.sort") public void setSort(Integer sort) { this.sort = sort; } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.parentpath") - public String getParentpath() { - return parentpath; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3081477+08:00", comments="Source field: public.sys_menu.parentpath") - public void setParentpath(String parentpath) { - this.parentpath = parentpath == null ? null : parentpath.trim(); - } } \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysOrg.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysOrg.java index 057bde3..fd21117 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysOrg.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysOrg.java @@ -1,401 +1,62 @@ package jj.tech.paolu.repository.mybatis.entity; import jakarta.annotation.Generated; -import java.time.LocalDateTime; /** * * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_org + * This class corresponds to the database table yx..sys_org */ public class SysOrg { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.pid") private String pid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.chinese_simple_name") - private String chinese_simple_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.english_simple_name") - private String english_simple_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.chinese_full_name") - private String chinese_full_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.english_full_name") - private String english_full_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.code") - private String code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.sort") - private Integer sort; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.status") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.status") private Integer status; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.is_company_department") - private Integer is_company_department; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.enterprise_legal_person") - private String enterprise_legal_person; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.contact_person") - private String contact_person; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.contact_phone") - private String contact_phone; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.remark") - private String remark; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.create_time") - private LocalDateTime create_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.create_user") - private String create_user; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.update_time") - private LocalDateTime update_time; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.update_user") - private String update_user; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.name") - private String name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.industry_name") - private String industry_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.industry_code") - private String industry_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.province_code") - private String province_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.city_code") - private String city_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.area_code") - private String area_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.addr") - private String addr; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.uscc") - private String uscc; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.org_type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.org_type") private String org_type; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.is_archives_dep") - private Integer is_archives_dep; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.cer_id") - private String cer_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.is_forbidden") - private Integer is_forbidden; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.pid") public String getPid() { return pid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.pid") public void setPid(String pid) { this.pid = pid == null ? null : pid.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.chinese_simple_name") - public String getChinese_simple_name() { - return chinese_simple_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.chinese_simple_name") - public void setChinese_simple_name(String chinese_simple_name) { - this.chinese_simple_name = chinese_simple_name == null ? null : chinese_simple_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.english_simple_name") - public String getEnglish_simple_name() { - return english_simple_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.english_simple_name") - public void setEnglish_simple_name(String english_simple_name) { - this.english_simple_name = english_simple_name == null ? null : english_simple_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.chinese_full_name") - public String getChinese_full_name() { - return chinese_full_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.chinese_full_name") - public void setChinese_full_name(String chinese_full_name) { - this.chinese_full_name = chinese_full_name == null ? null : chinese_full_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.english_full_name") - public String getEnglish_full_name() { - return english_full_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.english_full_name") - public void setEnglish_full_name(String english_full_name) { - this.english_full_name = english_full_name == null ? null : english_full_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.code") - public String getCode() { - return code; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.code") - public void setCode(String code) { - this.code = code == null ? null : code.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.sort") - public Integer getSort() { - return sort; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.sort") - public void setSort(Integer sort) { - this.sort = sort; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.status") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.status") public Integer getStatus() { return status; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.status") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.status") public void setStatus(Integer status) { this.status = status; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.is_company_department") - public Integer getIs_company_department() { - return is_company_department; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.is_company_department") - public void setIs_company_department(Integer is_company_department) { - this.is_company_department = is_company_department; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.enterprise_legal_person") - public String getEnterprise_legal_person() { - return enterprise_legal_person; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.enterprise_legal_person") - public void setEnterprise_legal_person(String enterprise_legal_person) { - this.enterprise_legal_person = enterprise_legal_person == null ? null : enterprise_legal_person.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.contact_person") - public String getContact_person() { - return contact_person; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.contact_person") - public void setContact_person(String contact_person) { - this.contact_person = contact_person == null ? null : contact_person.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.contact_phone") - public String getContact_phone() { - return contact_phone; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.contact_phone") - public void setContact_phone(String contact_phone) { - this.contact_phone = contact_phone == null ? null : contact_phone.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.remark") - public String getRemark() { - return remark; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.remark") - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.create_time") - public LocalDateTime getCreate_time() { - return create_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.create_time") - public void setCreate_time(LocalDateTime create_time) { - this.create_time = create_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.create_user") - public String getCreate_user() { - return create_user; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.create_user") - public void setCreate_user(String create_user) { - this.create_user = create_user == null ? null : create_user.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.update_time") - public LocalDateTime getUpdate_time() { - return update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.update_time") - public void setUpdate_time(LocalDateTime update_time) { - this.update_time = update_time; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.update_user") - public String getUpdate_user() { - return update_user; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.update_user") - public void setUpdate_user(String update_user) { - this.update_user = update_user == null ? null : update_user.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.name") - public String getName() { - return name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.name") - public void setName(String name) { - this.name = name == null ? null : name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.industry_name") - public String getIndustry_name() { - return industry_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.industry_name") - public void setIndustry_name(String industry_name) { - this.industry_name = industry_name == null ? null : industry_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.industry_code") - public String getIndustry_code() { - return industry_code; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.industry_code") - public void setIndustry_code(String industry_code) { - this.industry_code = industry_code == null ? null : industry_code.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.province_code") - public String getProvince_code() { - return province_code; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.province_code") - public void setProvince_code(String province_code) { - this.province_code = province_code == null ? null : province_code.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.city_code") - public String getCity_code() { - return city_code; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.city_code") - public void setCity_code(String city_code) { - this.city_code = city_code == null ? null : city_code.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.area_code") - public String getArea_code() { - return area_code; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.area_code") - public void setArea_code(String area_code) { - this.area_code = area_code == null ? null : area_code.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.addr") - public String getAddr() { - return addr; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.addr") - public void setAddr(String addr) { - this.addr = addr == null ? null : addr.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.uscc") - public String getUscc() { - return uscc; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.uscc") - public void setUscc(String uscc) { - this.uscc = uscc == null ? null : uscc.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.org_type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.org_type") public String getOrg_type() { return org_type; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.org_type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.org_type") public void setOrg_type(String org_type) { this.org_type = org_type == null ? null : org_type.trim(); } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.is_archives_dep") - public Integer getIs_archives_dep() { - return is_archives_dep; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.is_archives_dep") - public void setIs_archives_dep(Integer is_archives_dep) { - this.is_archives_dep = is_archives_dep; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.cer_id") - public String getCer_id() { - return cer_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.cer_id") - public void setCer_id(String cer_id) { - this.cer_id = cer_id == null ? null : cer_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.is_forbidden") - public Integer getIs_forbidden() { - return is_forbidden; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3191521+08:00", comments="Source field: public.sys_org.is_forbidden") - public void setIs_forbidden(Integer is_forbidden) { - this.is_forbidden = is_forbidden; - } } \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysResource.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysResource.java new file mode 100644 index 0000000..0a2cf0c --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysResource.java @@ -0,0 +1,143 @@ +package jj.tech.paolu.repository.mybatis.entity; + +import jakarta.annotation.Generated; + +/** + * + * This class was generated by MyBatis Generator. + * This class corresponds to the database table yx..sys_resource + */ +public class SysResource { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source field: yx..sys_resource.id") + private String id; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source field: yx..sys_resource.parent_id") + private String parent_id; + + /** + * Database Column Remarks: + * 菜单排列顺序 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.level") + private Short level; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.name") + private String name; + + /** + * Database Column Remarks: + * 资源类型 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.types") + private String types; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.url") + private String url; + + /** + * Database Column Remarks: + * 菜单图标 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.icon") + private String icon; + + /** + * Database Column Remarks: + * 是否折叠隐藏 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.ishide") + private Byte ishide; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.description") + private String description; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source field: yx..sys_resource.id") + public String getId() { + return id; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source field: yx..sys_resource.id") + public void setId(String id) { + this.id = id == null ? null : id.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source field: yx..sys_resource.parent_id") + public String getParent_id() { + return parent_id; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.parent_id") + public void setParent_id(String parent_id) { + this.parent_id = parent_id == null ? null : parent_id.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.level") + public Short getLevel() { + return level; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.level") + public void setLevel(Short level) { + this.level = level; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.name") + public String getName() { + return name; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.name") + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.types") + public String getTypes() { + return types; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.types") + public void setTypes(String types) { + this.types = types == null ? null : types.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.url") + public String getUrl() { + return url; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.url") + public void setUrl(String url) { + this.url = url == null ? null : url.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.icon") + public String getIcon() { + return icon; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.icon") + public void setIcon(String icon) { + this.icon = icon == null ? null : icon.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.ishide") + public Byte getIshide() { + return ishide; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.ishide") + public void setIshide(Byte ishide) { + this.ishide = ishide; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.description") + public String getDescription() { + return description; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.description") + public void setDescription(String description) { + this.description = description == null ? null : description.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRole.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRole.java index 15ec276..9fecd16 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRole.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRole.java @@ -5,123 +5,45 @@ import jakarta.annotation.Generated; /** * * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_role + * This class corresponds to the database table yx..sys_role */ public class SysRole { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.rolename") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.rolename") private String rolename; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.describe") - private String describe; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.department") + private String department; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sort") - private Integer sort; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.is_open") - private Integer is_open; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sign_name") - private String sign_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sign_id") - private String sign_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.company_id") - private String company_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.company_name") - private String company_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.rolename") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.rolename") public String getRolename() { return rolename; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.rolename") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.rolename") public void setRolename(String rolename) { this.rolename = rolename == null ? null : rolename.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.describe") - public String getDescribe() { - return describe; + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.department") + public String getDepartment() { + return department; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.describe") - public void setDescribe(String describe) { - this.describe = describe == null ? null : describe.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sort") - public Integer getSort() { - return sort; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sort") - public void setSort(Integer sort) { - this.sort = sort; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.is_open") - public Integer getIs_open() { - return is_open; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.is_open") - public void setIs_open(Integer is_open) { - this.is_open = is_open; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sign_name") - public String getSign_name() { - return sign_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sign_name") - public void setSign_name(String sign_name) { - this.sign_name = sign_name == null ? null : sign_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sign_id") - public String getSign_id() { - return sign_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.sign_id") - public void setSign_id(String sign_id) { - this.sign_id = sign_id == null ? null : sign_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.company_id") - public String getCompany_id() { - return company_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.company_id") - public void setCompany_id(String company_id) { - this.company_id = company_id == null ? null : company_id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.company_name") - public String getCompany_name() { - return company_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2711525+08:00", comments="Source field: public.sys_role.company_name") - public void setCompany_name(String company_name) { - this.company_name = company_name == null ? null : company_name.trim(); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.department") + public void setDepartment(String department) { + this.department = department == null ? null : department.trim(); } } \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleMenu.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleMenu.java deleted file mode 100644 index 7d861f0..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleMenu.java +++ /dev/null @@ -1,49 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_role_menu - */ -public class SysRoleMenu { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.roleid") - private String roleid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.menuid") - private String menuid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.roleid") - public String getRoleid() { - return roleid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.roleid") - public void setRoleid(String roleid) { - this.roleid = roleid == null ? null : roleid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.menuid") - public String getMenuid() { - return menuid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.2901497+08:00", comments="Source field: public.sys_role_menu.menuid") - public void setMenuid(String menuid) { - this.menuid = menuid == null ? null : menuid.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleResource.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleResource.java new file mode 100644 index 0000000..e46012b --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleResource.java @@ -0,0 +1,49 @@ +package jj.tech.paolu.repository.mybatis.entity; + +import jakarta.annotation.Generated; + +/** + * + * This class was generated by MyBatis Generator. + * This class corresponds to the database table yx..sys_role_resource + */ +public class SysRoleResource { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source field: yx..sys_role_resource.roleid") + private String roleid; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.resid") + private String resid; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.id") + private String id; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.roleid") + public String getRoleid() { + return roleid; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.roleid") + public void setRoleid(String roleid) { + this.roleid = roleid == null ? null : roleid.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.resid") + public String getResid() { + return resid; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.resid") + public void setResid(String resid) { + this.resid = resid == null ? null : resid.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.id") + public String getId() { + return id; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.id") + public void setId(String id) { + this.id = id == null ? null : id.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleSign.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleSign.java deleted file mode 100644 index 20571d9..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleSign.java +++ /dev/null @@ -1,49 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_role_sign - */ -public class SysRoleSign { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.id") - private String id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.sign_name") - private String sign_name; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.sign_code") - private String sign_code; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.id") - public String getId() { - return id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.id") - public void setId(String id) { - this.id = id == null ? null : id.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.sign_name") - public String getSign_name() { - return sign_name; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.sign_name") - public void setSign_name(String sign_name) { - this.sign_name = sign_name == null ? null : sign_name.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.sign_code") - public String getSign_code() { - return sign_code; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.300152+08:00", comments="Source field: public.sys_role_sign.sign_code") - public void setSign_code(String sign_code) { - this.sign_code = sign_code == null ? null : sign_code.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleUrl.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleUrl.java index e64b64c..66541a8 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleUrl.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleUrl.java @@ -5,57 +5,65 @@ import jakarta.annotation.Generated; /** * * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_role_url + * This class corresponds to the database table yx..sys_role_url */ public class SysRoleUrl { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5411897+08:00", comments="Source field: yx..sys_role_url.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.roleid") private String roleid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.url") + /** + * Database Column Remarks: + * 对应sys_urls的url + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.url") private String url; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.urltypes") + /** + * Database Column Remarks: + * 1:url,2:菜单 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.urltypes") private Integer urltypes; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.roleid") public String getRoleid() { return roleid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.roleid") public void setRoleid(String roleid) { this.roleid = roleid == null ? null : roleid.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.url") public String getUrl() { return url; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.url") public void setUrl(String url) { this.url = url == null ? null : url.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.urltypes") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.urltypes") public Integer getUrltypes() { return urltypes; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3231506+08:00", comments="Source field: public.sys_role_url.urltypes") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.urltypes") public void setUrltypes(Integer urltypes) { this.urltypes = urltypes; } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysUrls.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysUrls.java index 5fe33ce..fee486f 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysUrls.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysUrls.java @@ -5,96 +5,108 @@ import jakarta.annotation.Generated; /** * * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.sys_urls + * This class corresponds to the database table yx..sys_urls */ public class SysUrls { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.pid") - private String pid; + /** + * Database Column Remarks: + * 父类id + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.pid") + private Integer pid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.types") + /** + * Database Column Remarks: + * 1:url,2:菜单 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.types") private Integer types; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.level") + /** + * Database Column Remarks: + * 0:url,1:一级菜单, 2:二级菜单 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.level") private Integer level; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.url") private String url; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.name") private String name; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.method") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.method") private String method; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.pid") - public String getPid() { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.pid") + public Integer getPid() { return pid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.pid") - public void setPid(String pid) { - this.pid = pid == null ? null : pid.trim(); + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.pid") + public void setPid(Integer pid) { + this.pid = pid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.types") public Integer getTypes() { return types; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.types") public void setTypes(Integer types) { this.types = types; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.level") public Integer getLevel() { return level; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.level") public void setLevel(Integer level) { this.level = level; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.url") public String getUrl() { return url; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.url") public void setUrl(String url) { this.url = url == null ? null : url.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.name") public String getName() { return name; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.name") public void setName(String name) { this.name = name == null ? null : name.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.method") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.method") public String getMethod() { return method; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-06T15:34:05.3011508+08:00", comments="Source field: public.sys_urls.method") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.method") public void setMethod(String method) { this.method = method == null ? null : method.trim(); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/WbDirectory.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/WbDirectory.java deleted file mode 100644 index 5437a72..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/WbDirectory.java +++ /dev/null @@ -1,116 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * Database Table Remarks: - * 模拟的微柏目录数据,用于支撑模拟微柏数据同步测试 - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.wb_directory - */ -public class WbDirectory { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source field: public.wb_directory.kid") - private String kid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source field: public.wb_directory.parentID") - private String parentID; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source field: public.wb_directory.time_stamp") - private String time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source field: public.wb_directory.sortOrder") - private Integer sortOrder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.tname") - private String tname; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.subjoin") - private Integer subjoin; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.isdel") - private Integer isdel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.wbs_id") - private Integer wbs_id; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source field: public.wb_directory.kid") - public String getKid() { - return kid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source field: public.wb_directory.kid") - public void setKid(String kid) { - this.kid = kid == null ? null : kid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source field: public.wb_directory.parentID") - public String getParentID() { - return parentID; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source field: public.wb_directory.parentID") - public void setParentID(String parentID) { - this.parentID = parentID == null ? null : parentID.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source field: public.wb_directory.time_stamp") - public String getTime_stamp() { - return time_stamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6340135+08:00", comments="Source field: public.wb_directory.time_stamp") - public void setTime_stamp(String time_stamp) { - this.time_stamp = time_stamp == null ? null : time_stamp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.sortOrder") - public Integer getSortOrder() { - return sortOrder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.sortOrder") - public void setSortOrder(Integer sortOrder) { - this.sortOrder = sortOrder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.tname") - public String getTname() { - return tname; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.tname") - public void setTname(String tname) { - this.tname = tname == null ? null : tname.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.subjoin") - public Integer getSubjoin() { - return subjoin; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.subjoin") - public void setSubjoin(Integer subjoin) { - this.subjoin = subjoin; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.isdel") - public Integer getIsdel() { - return isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.isdel") - public void setIsdel(Integer isdel) { - this.isdel = isdel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.wbs_id") - public Integer getWbs_id() { - return wbs_id; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6350131+08:00", comments="Source field: public.wb_directory.wbs_id") - public void setWbs_id(Integer wbs_id) { - this.wbs_id = wbs_id; - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/WbDirectoryFile.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/WbDirectoryFile.java deleted file mode 100644 index 8c86af1..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/WbDirectoryFile.java +++ /dev/null @@ -1,283 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.wb_directory_file - */ -public class WbDirectoryFile { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.kid") - private String kid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.sortID") - private String sortID; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.fileSuper") - private String fileSuper; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.fileCount") - private Integer fileCount; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.dutyPerson") - private String dutyPerson; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.eWeaveDate") - private String eWeaveDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.filePage") - private Integer filePage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.sortOrder") - private String sortOrder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.bPeg") - private String bPeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.ePeg") - private String ePeg; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.fileNum") - private String fileNum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.remark") - private String remark; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.recordNum") - private String recordNum; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.pieceNumber") - private String pieceNumber; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.addDate") - private String addDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.editDate") - private String editDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.time_stamp") - private String time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.isDel") - private Integer isDel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.catalogPdfURL") - private String catalogPdfURL; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.signTag") - private String signTag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.collectTag") - private String collectTag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.kid") - public String getKid() { - return kid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.kid") - public void setKid(String kid) { - this.kid = kid == null ? null : kid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.sortID") - public String getSortID() { - return sortID; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.sortID") - public void setSortID(String sortID) { - this.sortID = sortID == null ? null : sortID.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.fileSuper") - public String getFileSuper() { - return fileSuper; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.fileSuper") - public void setFileSuper(String fileSuper) { - this.fileSuper = fileSuper == null ? null : fileSuper.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.fileCount") - public Integer getFileCount() { - return fileCount; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.fileCount") - public void setFileCount(Integer fileCount) { - this.fileCount = fileCount; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.dutyPerson") - public String getDutyPerson() { - return dutyPerson; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.dutyPerson") - public void setDutyPerson(String dutyPerson) { - this.dutyPerson = dutyPerson == null ? null : dutyPerson.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.eWeaveDate") - public String geteWeaveDate() { - return eWeaveDate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.eWeaveDate") - public void seteWeaveDate(String eWeaveDate) { - this.eWeaveDate = eWeaveDate == null ? null : eWeaveDate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.filePage") - public Integer getFilePage() { - return filePage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.filePage") - public void setFilePage(Integer filePage) { - this.filePage = filePage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.sortOrder") - public String getSortOrder() { - return sortOrder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.sortOrder") - public void setSortOrder(String sortOrder) { - this.sortOrder = sortOrder == null ? null : sortOrder.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.bPeg") - public String getbPeg() { - return bPeg; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.bPeg") - public void setbPeg(String bPeg) { - this.bPeg = bPeg == null ? null : bPeg.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.ePeg") - public String getePeg() { - return ePeg; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.ePeg") - public void setePeg(String ePeg) { - this.ePeg = ePeg == null ? null : ePeg.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6308339+08:00", comments="Source field: public.wb_directory_file.fileNum") - public String getFileNum() { - return fileNum; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.fileNum") - public void setFileNum(String fileNum) { - this.fileNum = fileNum == null ? null : fileNum.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.remark") - public String getRemark() { - return remark; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.remark") - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.recordNum") - public String getRecordNum() { - return recordNum; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.recordNum") - public void setRecordNum(String recordNum) { - this.recordNum = recordNum == null ? null : recordNum.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.pieceNumber") - public String getPieceNumber() { - return pieceNumber; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.pieceNumber") - public void setPieceNumber(String pieceNumber) { - this.pieceNumber = pieceNumber == null ? null : pieceNumber.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.addDate") - public String getAddDate() { - return addDate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.addDate") - public void setAddDate(String addDate) { - this.addDate = addDate == null ? null : addDate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.editDate") - public String getEditDate() { - return editDate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.editDate") - public void setEditDate(String editDate) { - this.editDate = editDate == null ? null : editDate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.time_stamp") - public String getTime_stamp() { - return time_stamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.time_stamp") - public void setTime_stamp(String time_stamp) { - this.time_stamp = time_stamp == null ? null : time_stamp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.isDel") - public Integer getIsDel() { - return isDel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.isDel") - public void setIsDel(Integer isDel) { - this.isDel = isDel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.catalogPdfURL") - public String getCatalogPdfURL() { - return catalogPdfURL; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.catalogPdfURL") - public void setCatalogPdfURL(String catalogPdfURL) { - this.catalogPdfURL = catalogPdfURL == null ? null : catalogPdfURL.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.signTag") - public String getSignTag() { - return signTag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.signTag") - public void setSignTag(String signTag) { - this.signTag = signTag == null ? null : signTag.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.collectTag") - public String getCollectTag() { - return collectTag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6320134+08:00", comments="Source field: public.wb_directory_file.collectTag") - public void setCollectTag(String collectTag) { - this.collectTag = collectTag == null ? null : collectTag.trim(); - } -} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/WbFile.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/WbFile.java deleted file mode 100644 index ccc1cab..0000000 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/WbFile.java +++ /dev/null @@ -1,231 +0,0 @@ -package jj.tech.paolu.repository.mybatis.entity; - -import jakarta.annotation.Generated; - -/** - * - * This class was generated by MyBatis Generator. - * This class corresponds to the database table public.wb_file - */ -public class WbFile { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.604873+08:00", comments="Source field: public.wb_file.kid") - private String kid; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6059438+08:00", comments="Source field: public.wb_file.catalogID") - private String catalogID; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6059438+08:00", comments="Source field: public.wb_file.tableName") - private String tableName; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.annexName") - private String annexName; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.projectName") - private String projectName; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.eweaveDate") - private String eweaveDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.checkDate") - private String checkDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.annexPage") - private Integer annexPage; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.sortOrder") - private String sortOrder; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.fileFrom") - private String fileFrom; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.archivestag") - private String archivestag; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.addDate") - private String addDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.editDate") - private String editDate; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.time_stamp") - private String time_stamp; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.isDel") - private Integer isDel; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.downURL") - private String downURL; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.filesize") - private Integer filesize; - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6059438+08:00", comments="Source field: public.wb_file.kid") - public String getKid() { - return kid; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6059438+08:00", comments="Source field: public.wb_file.kid") - public void setKid(String kid) { - this.kid = kid == null ? null : kid.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6059438+08:00", comments="Source field: public.wb_file.catalogID") - public String getCatalogID() { - return catalogID; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6059438+08:00", comments="Source field: public.wb_file.catalogID") - public void setCatalogID(String catalogID) { - this.catalogID = catalogID == null ? null : catalogID.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.tableName") - public String getTableName() { - return tableName; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.tableName") - public void setTableName(String tableName) { - this.tableName = tableName == null ? null : tableName.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.annexName") - public String getAnnexName() { - return annexName; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.annexName") - public void setAnnexName(String annexName) { - this.annexName = annexName == null ? null : annexName.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.projectName") - public String getProjectName() { - return projectName; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.projectName") - public void setProjectName(String projectName) { - this.projectName = projectName == null ? null : projectName.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.eweaveDate") - public String getEweaveDate() { - return eweaveDate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.eweaveDate") - public void setEweaveDate(String eweaveDate) { - this.eweaveDate = eweaveDate == null ? null : eweaveDate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.checkDate") - public String getCheckDate() { - return checkDate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.checkDate") - public void setCheckDate(String checkDate) { - this.checkDate = checkDate == null ? null : checkDate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.annexPage") - public Integer getAnnexPage() { - return annexPage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.annexPage") - public void setAnnexPage(Integer annexPage) { - this.annexPage = annexPage; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.sortOrder") - public String getSortOrder() { - return sortOrder; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.sortOrder") - public void setSortOrder(String sortOrder) { - this.sortOrder = sortOrder == null ? null : sortOrder.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.fileFrom") - public String getFileFrom() { - return fileFrom; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.fileFrom") - public void setFileFrom(String fileFrom) { - this.fileFrom = fileFrom == null ? null : fileFrom.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.archivestag") - public String getArchivestag() { - return archivestag; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.archivestag") - public void setArchivestag(String archivestag) { - this.archivestag = archivestag == null ? null : archivestag.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.addDate") - public String getAddDate() { - return addDate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.addDate") - public void setAddDate(String addDate) { - this.addDate = addDate == null ? null : addDate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.editDate") - public String getEditDate() { - return editDate; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6069434+08:00", comments="Source field: public.wb_file.editDate") - public void setEditDate(String editDate) { - this.editDate = editDate == null ? null : editDate.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.time_stamp") - public String getTime_stamp() { - return time_stamp; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.time_stamp") - public void setTime_stamp(String time_stamp) { - this.time_stamp = time_stamp == null ? null : time_stamp.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.isDel") - public Integer getIsDel() { - return isDel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.isDel") - public void setIsDel(Integer isDel) { - this.isDel = isDel; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.downURL") - public String getDownURL() { - return downURL; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.downURL") - public void setDownURL(String downURL) { - this.downURL = downURL == null ? null : downURL.trim(); - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.filesize") - public Integer getFilesize() { - return filesize; - } - - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-06-10T19:51:52.6080013+08:00", comments="Source field: public.wb_file.filesize") - public void setFilesize(Integer filesize) { - this.filesize = filesize; - } -} \ No newline at end of file diff --git a/src/main/resources/generate/jooq/JooqConfig.xml b/src/main/resources/generate/jooq/JooqConfig.xml index 8d41d6c..ed80b1b 100644 --- a/src/main/resources/generate/jooq/JooqConfig.xml +++ b/src/main/resources/generate/jooq/JooqConfig.xml @@ -2,24 +2,24 @@ - + test000000 - org.postgresql.Driver + - ailt_test + yx public .* diff --git a/src/main/resources/generate/mybatis/generatorConfig.xml b/src/main/resources/generate/mybatis/generatorConfig.xml index af6e0bd..d12fe90 100644 --- a/src/main/resources/generate/mybatis/generatorConfig.xml +++ b/src/main/resources/generate/mybatis/generatorConfig.xml @@ -31,9 +31,9 @@ --> - + - - + - - diff --git a/src/main/resources/sql/schema-h2.sql b/src/main/resources/sql/schema-h2.sql index dd716bf..cb2a0ca 100644 --- a/src/main/resources/sql/schema-h2.sql +++ b/src/main/resources/sql/schema-h2.sql @@ -1,101 +1,66 @@ drop table if exists sys_admin; -CREATE TABLE "sys_admin" ( - "id" VARCHAR(32) NOT NULL, - "org_id" VARCHAR(32) NOT NULL, - "realname" VARCHAR(255) NULL DEFAULT NULL, - "username" VARCHAR(255) NOT NULL, - "password" VARCHAR(255) NOT NULL, - "phone" VARCHAR(255) NOT NULL, - "email" VARCHAR(255) NULL DEFAULT NULL, - "job" VARCHAR(255) NULL DEFAULT NULL, - "gender" INTEGER NULL DEFAULT 0, - "islock" INTEGER NULL DEFAULT 0, - "type" INTEGER NULL DEFAULT NULL, - "sort" INTEGER NULL DEFAULT NULL, - "cer_id" VARCHAR(32) NULL DEFAULT NULL, - PRIMARY KEY ("id"), - UNIQUE INDEX "sys_admin_username_key" ("username") -) -; - -drop table if exists sys_admin_weid; -CREATE TABLE "sys_admin_weid" ( - "id" VARCHAR(32) NOT NULL, - "admin_id" VARCHAR(32) NOT NULL, - "wid" VARCHAR(255) NULL DEFAULT NULL, - "wprivate_key" VARCHAR(500) NOT NULL, - PRIMARY KEY ("id"), - unique (admin_id) -) -; - +create table sys_admin +( + id varchar(20) not null, + org_id varchar(20), + type int default 0 comment '0管理员,1普通用户', + realname varchar(100) not null, + username varchar(100) not null, + password varchar(100) not null comment 'sha3_256hex', + islock int default 0 comment '0正常,1锁定', + primary key (id), + unique (username) +); drop table if exists sys_role; create table sys_role ( - id bigint not null, - rolename varchar(300) not null, - describe varchar(500) not null, - sort int default 0, - is_open int default 1, - sign_id bigint not null, - sign_name varchar(500) not null, - primary key (id) -); - -drop table if exists sys_role_sign; -create table sys_role_sign -( - id bigint not null, - p_id bigint not null, - sign_name varchar(500) not null, - sign_code varchar(500) not null, + id varchar(20) not null, + rolename varchar(50) not null, + department varchar(50) not null, primary key (id) ); drop table if exists sys_admin_role; create table sys_admin_role ( - id bigint not null, - adminid bigint not null, - roleid bigint not null, + id varchar(20) not null, + admin_id varchar(20) not null, + role_id int not null, primary key (id) ); - - -drop table if exists sys_menu; -create table sys_menu ( - id bigint not null, - parent_id bigint default null, - level int default null, - name varchar(50) default null, - types VARCHAR(50) default null, - url varchar(200) default null, - icon varchar(100) default null, - is_open int default '0', - description varchar(200) default null, - sort int default '0', - PRIMARY KEY (id) +drop table if exists sys_resource; +create table sys_resource +( + id varchar(20) not null, + parent_id varchar(20) not null, + level smallint default null comment '菜单排列顺序', + name varchar(50) default null, + types varchar(40) default null comment '资源类型', + url varchar(200) default null, + icon varchar(100) default null comment '菜单图标', + ishide tinyint default '0' comment '是否折叠隐藏', + description varchar(200) default null, + primary key (`id`) ); -drop table if exists sys_role_menu; -create table sys_role_menu +drop table if exists sys_role_resource; +create table sys_role_resource ( - id bigint not null, - roleid bigint not null, - resid bigint not null, - primary key (id), - unique (roleid, resid) + id varchar(20) not null, + roleid varchar(20) not null, + resid varchar(20) not null, + primary key (roleid, resid) ); drop table if exists sys_urls; create table sys_urls ( - id bigint not null, - pid bigint, - types int default 1, - level int default 0, + id varchar(20) not null, + pid int comment '父类id', + types int default 1 comment '1:url,2:菜单', + level int default 0 comment '0:url,1:一级菜单, 2:二级菜单', url varchar(300) default null, name varchar(200) default null, method varchar(200) default null, @@ -106,425 +71,59 @@ create table sys_urls drop table if exists sys_role_url; create table sys_role_url ( - id bigint not null, - roleid bigint not null, - url varchar(300) not null, - urltypes int not null, + id varchar(20) not null, + roleid varchar(20) not null, + url varchar(300) not null comment '对应sys_urls的url', + urltypes int not null comment '1:url,2:菜单', primary key (id) ); - +-- 系统配置表 drop table if exists sys_config; create table sys_config ( - id bigint not null, - subgroup varchar(500) not null, - keys varchar(1000) not null, - val varchar(14000), - adminid int not null, - adminname varchar(100) not null, - edittime timestamp, + id varchar(20) not null, + subgroup varchar(500) not null comment '分组', + k varchar(1000) not null comment '键', + val varchar(14000) comment '值', + admin_id varchar(20) not null comment '管理员id', + adminname varchar(100) not null comment '管理员名称', + edittime datetime default current_timestamp on update current_timestamp comment '最后编辑时间', primary key (id), - unique (keys) + unique (k) ); +drop table if exists sys_menu; +create table sys_menu ( + id varchar(20) not null, + parent_id varchar(20) not null, + level int default null, + name varchar(50) default null, + types varchar(50) default null comment 'menu,url', + url varchar(200) default null, + icon varchar(100) default null, + is_open int default '0', + description varchar(200) default null, + sort int default '0', + PRIMARY KEY (id) +); + +drop table if exists sys_admin_menu; +create table sys_admin_menu +( + id varchar(20) not null, + adminid varchar(20) not null, + memuid varchar(20) not null, + primary key (id), + unique (adminid, memuid) +); + + drop table if exists sys_org; create table sys_org ( - id bigint not null, - pid bigint not null, - chinese_simple_name varchar(500) not null, - english_simple_name varchar(500) default null, - chinese_full_name varchar(500) default null, - english_full_name varchar(500) default null, - code varchar(100) null default null, - sort integer null default 0, + id varchar(20) not null, + pid varchar(20) not null, status integer null default 1, - is_company_department integer not null, - enterprise_legal_person varchar(500) default null, - contact_person varchar(500) default null, - contact_phone varchar(200) default null, - remark varchar(500) default null, - create_time timestamp default null, - create_user bigint default null, - update_time timestamp default null, - update_user bigint default null, - name varchar(255) default null, - industry_name varchar(255) default null, - industry_code varchar(255) default null, - province_code bigint default null, - city_code bigint default null, - area_code bigint default null, - addr varchar(255) default null, - uscc varchar default null, - org_type varchar default null, - is_archives_dep integer default null, - cer_id bigint default null, - primary key (id) -) -; -comment on column sys_org.id is ''; -comment on column sys_org.pid is ''; -comment on column sys_org.chinese_simple_name is ''; -comment on column sys_org.english_simple_name is ''; -comment on column sys_org.chinese_full_name is ''; -comment on column sys_org.english_full_name is ''; -comment on column sys_org.code is ''; -comment on column sys_org.sort is ''; -comment on column sys_org.status is ''; -comment on column sys_org.is_company_department is ''; -comment on column sys_org.enterprise_legal_person is ''; -comment on column sys_org.contact_person is ''; -comment on column sys_org.contact_phone is ''; -comment on column sys_org.remark is ''; -comment on column sys_org.create_time is ''; -comment on column sys_org.create_user is ''; -comment on column sys_org.update_time is ''; -comment on column sys_org.update_user is ''; -comment on column sys_org.name is '机构名称'; -comment on column sys_org.industry_name is '行业名称'; -comment on column sys_org.industry_code is '行业编号'; -comment on column sys_org.province_code is '省id'; -comment on column sys_org.city_code is '市id'; -comment on column sys_org.area_code is '区id'; -comment on column sys_org.addr is '详细地址'; -comment on column sys_org.uscc is '社会信用代码'; -comment on column sys_org.org_type is '企业类型,逗号分隔。字典值'; -comment on column sys_org.is_archives_dep is '档案管理部门'; - - - - - - - - -drop table if exists syn_directory; -create table syn_directory -( - id varchar(50) not null, - p_id varchar(50) not null, - wbs_id varchar(50) not null, - time_stamp varchar(20) default null, - time_stamp_d timestamp default null, - sortOrder int default null, - tname varchar(300) default null, - subjoin int default null, - isDel int default null, + org_type varchar(20) default null, primary key (id) ); - -drop table if exists syn_directory_file; -create table syn_directory_file -( - id varchar(50) not null, - p_id varchar(50) not null, - filesuper varchar(500) default null, - filecount int default null, - dutyperson varchar(100) default null, - eweavedate varchar(100) default null, - filepage int default null, - sortorder varchar(50) default null, - bpeg varchar(50) default null, - epeg varchar(50) default null, - filenum varchar(100) default null, - remark varchar(300) default null, - recordnum varchar(50) default null, - piecenumber varchar(50) default null, - adddate varchar(50) default null, - editdate varchar(50) default null, - time_stamp varchar(20) default null, - isdel int default null, - catalogpdfurl varchar(200) default null, - signtag varchar(20) default null, - collecttag varchar(20) default null, - primary key (id) -); - - -drop table if exists syn_file; -create table syn_file -( - id varchar(50) not null, - p_id varchar(50) not null, - tablenumber varchar(200) default null, - annexname varchar(100) default null, - projectname varchar(100) default null, - eweavedate varchar(100) default null, - checkdate varchar(100) default null, - annexpage int default null, - sortorder varchar(50) default null, - filefrom varchar(50) default null, - archivestag varchar(50) default null, - adddate varchar(50) default null, - editdate varchar(50) default null, - time_stamp varchar(20) default null, - isdel int default null, - downurl varchar(200) default null, - filesize int default null, - primary key (id) -); - - - - -drop table if exists shared_syn_all; -create table shared_syn_all -( - id bigint not null, - syn_id bigint not null, - syn_type int default 0, - is_config_rule int default 0, - shared_status int DEFAULT 0, - primary key (id), - unique (syn_id), - unique (syn_id,syn_type) -); - -drop table if exists shared_rule_config; -create table shared_rule_config -( - id bigint not null, - name varchar(1000) not null, - describe varchar(500) not null, - status int default 1, - sort int default 0, - project_name varchar(1000) not null, - primary key (id) -); - - - -drop table if exists files_apply; -create table files_apply -( - id bigint not null, - apply_user_id bigint not null, - apply_user_name varchar(500) not null, - apply_user_phone varchar(300) not null, - apply_user_email varchar(300) default null, - apply_org_id bigint not null, - apply_org_name varchar(500) not null, - apply_in_check_user_id bigint default null, - apply_in_check_user_name varchar(500) default null, - apply_in_check_org_id bigint default null, - apply_in_check_org_name varchar(500) default null, - apply_next_check_org_id bigint default null, - apply_next_check_org_name varchar(500) default null, - apply_end_check_user_id bigint default null, - apply_end_check_user_name varchar(500) default null, - apply_end_check_org_id bigint default null, - apply_end_check_org_name varchar(500) default null, - apply_days int default null, - apply_feedback varchar(5000) default null, - apply_reason varchar(5000) default null, - apply_cancel_reason varchar(5000) default null, - apply_view_type_print int default 0, - apply_view_type_online int default 0, - apply_file_num int default 0, - apply_time timestamp, - apply_check_is_finish int default 0, - - - provider_org_id bigint not null, - provider_org_name varchar(500) default null, - provider_file_properties int default 0, - provider_use_start_time timestamp, - provider_use_end_time timestamp, - provider_in_check_user_id bigint default null, - provider_in_check_user_name varchar(500) default null, - provider_in_check_org_id bigint default null, - provider_in_check_org_name varchar(500) default null, - provider_next_check_role_sign_id bigint default null, - provider_next_check_role_sign_name varchar(500) default null, - provider_end_check_user_id bigint default null, - provider_end_check_user_name varchar(500) default null, - provider_end_check_org_id bigint default null, - provider_end_check_org_name varchar(500) default null, - provider_check_is_finish int default 0, - - secret_key varchar(500) default null, - status int default 1, - project_id bigint default null, - project_name varchar(500) default null, - primary key (id) -); - -drop table if exists files_apply_check_record; -create table files_apply_check_record -( - id bigint not null, - files_apply_id bigint not null, - is_apply_provider int default 0, - check_user_id bigint default null, - check_user_name varchar(500) default null, - check_org_id bigint default null, - check_org_name varchar(1000) default null, - next_check_org_id bigint default null, - next_check_org_name varchar(500) default null, - check_describe varchar(1000) default null, - check_status int default 1, - check_time timestamp, - provider_next_check_role_sign_id bigint default null, - provider_next_check_role_sign_name varchar(500) default null, - primary key (id) -); - -drop table if exists files_apply_directory_docs; -create table files_apply_directory_docs -( - id varchar(32) not null, - files_apply_id varchar(32) not null, - directory_file_id varchar(50) not null, - directory_file_p_id varchar(50) not null, - filesuper varchar(500) default null, - filecount int default null, - dutyperson varchar(100) default null, - eweavedate varchar(100) default null, - filepage int default null, - sortorder varchar(50) default null, - bpeg varchar(50) default null, - epeg varchar(50) default null, - filenum varchar(100) default null, - remark varchar(300) default null, - recordnum varchar(50) default null, - piecenumber varchar(50) default null, - adddate varchar(50) default null, - editdate varchar(50) default null, - time_stamp varchar(20) default null, - isdel int default null, - catalogpdfurl varchar(200) default null, - signtag varchar(20) default null, - collecttag varchar(20) default null, - primary key (id) -); - -drop table if exists files_apply_docs; -create table files_apply_docs -( - id varchar(32) not null, - files_apply_id varchar(32) not null, - syn_file_id varchar(50) not null, - syn_file_p_id varchar(50) not null, - tablenumber varchar(200) default null, - annexname varchar(100) default null, - projectname varchar(100) default null, - eweavedate varchar(100) default null, - checkdate varchar(100) default null, - annexpage int default null, - sortorder varchar(50) default null, - filefrom varchar(50) default null, - archivestag varchar(50) default null, - adddate varchar(50) default null, - editdate varchar(50) default null, - time_stamp varchar(20) default null, - isdel int default null, - downurl varchar(200) default null, - filesize int default null, - apply_view_type_print int default 0, - apply_view_type_online int default 0, - primary key (id) -); - - -drop table if exists files_apply_download_record; -create table files_apply_download_record -( - id bigint not null, - files_apply_id bigint not null, - is_dir_file int default 0, - syn_file_id bigint not null, - syn_file_p_id bigint not null, - syn_file_name varchar(500) not null, - user_id bigint default null, - user_name varchar(500) default null, - org_id bigint default null, - org_name varchar(1000) default null, - download_time timestamp, - primary key (id) -); - -drop table if exists project; -create table project -( - id bigint not null, - project_name varchar(500) not null, - primary key (id) -); - - - - - -create table certificate_user_apply -( - id bigint not null, - is_org int default 0, - project_name varchar(500) not null, - primary key (id) -); - - - - - - - -drop table if exists certificate_apply; -create table certificate_apply ( - id bigint not null, - is_org int not null default 0, - user_id bigint not null, - user_name varchar(500) default null, - user_real_name varchar(500) default null, - user_phone varchar(200) default null, - user_org_id bigint not null, - user_org_name varchar(1000) default null, - apply_type int not null default 0, - status int null default 0, - apply_time timestamp default null, - apply_finish_time timestamp default null, - apply_reason varchar(5000) default null, - next_check_org_id bigint default null, - end_check_org_id bigint default null, - cer_id bigint default null, - unique (cer_id), - primary key (id) -) -; - - -drop table if exists certificate_apply_record; -create table certificate_apply_record ( - id bigint not null, - certificate_apply_id bigint not null, - certificate_apply_user_id bigint not null, - certificate_apply_user_org_id bigint not null, - is_org int not null default 0, - apply_type int not null default 0, - check_user_id bigint default null, - check_user_name varchar(500) default null, - check_org_id bigint default null, - check_org_name varchar(1000) default null, - check_describe varchar(1000) default null, - check_status int default 1, - check_time timestamp, - next_check_org_id bigint default null, - next_check_org_name varchar(500) default null, - primary key (id) -) -; - - -drop table if exists certificate_detail; -create table certificate_detail ( - id bigint not null, - certificate_apply_id bigint not null, - work_start_time timestamp default null, - work_end_time timestamp default null, - status int not null default 0, - upload_cert_url varchar(500) null default null, - is_up_chain int not null default 0, - primary key (id) -) -; -