/** * This method was generated by MyBatis Generator. * This method corresponds to the database table SQLTOOL_METADATA * * @mbggenerated */ @SelectProvider(type=SqltoolMetadataSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.INTEGER, id=true), @Result(column="SQL_TYPE", property="sqlType", jdbcType=JdbcType.VARCHAR), @Result(column="NAME", property="name", jdbcType=JdbcType.VARCHAR), @Result(column="DESCRIPTION", property="description", jdbcType=JdbcType.VARCHAR), @Result(column="OWNED_BY", property="ownedBy", jdbcType=JdbcType.VARCHAR), @Result(column="PUBLISHED_FLG", property="publishedFlg", jdbcType=JdbcType.INTEGER), @Result(column="REGISTERED_AT", property="registeredAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<SqltoolMetadata> selectByExampleWithRowbounds(SqltoolMetadataCriteria example, RowBounds rowBounds);
/** * This method was generated by MyBatis Generator. * This method corresponds to the database table ZIPCD_MASTER * * @mbggenerated */ @SelectProvider(type=ZipcdMasterSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="CITY_CD", property="cityCd", jdbcType=JdbcType.INTEGER), @Result(column="ZIPCD", property="zipcd", jdbcType=JdbcType.VARCHAR), @Result(column="PREF", property="pref", jdbcType=JdbcType.VARCHAR), @Result(column="CITY", property="city", jdbcType=JdbcType.VARCHAR), @Result(column="ADDR", property="addr", jdbcType=JdbcType.VARCHAR), @Result(column="PREF_KANA", property="prefKana", jdbcType=JdbcType.VARCHAR), @Result(column="CITY_KANA", property="cityKana", jdbcType=JdbcType.VARCHAR), @Result(column="ADDR_KANA", property="addrKana", jdbcType=JdbcType.VARCHAR), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<ZipcdMaster> selectByExample(ZipcdMasterCriteria example);
public MapperAnnotationBuilder(Configuration configuration, Class<?> type) { String resource = type.getName().replace('.', '/') + ".java (best guess)"; this.assistant = new MapperBuilderAssistant(configuration, resource); this.configuration = configuration; this.type = type; sqlAnnotationTypes.add(Select.class); sqlAnnotationTypes.add(Insert.class); sqlAnnotationTypes.add(Update.class); sqlAnnotationTypes.add(Delete.class); sqlProviderAnnotationTypes.add(SelectProvider.class); sqlProviderAnnotationTypes.add(InsertProvider.class); sqlProviderAnnotationTypes.add(UpdateProvider.class); sqlProviderAnnotationTypes.add(DeleteProvider.class); }
private SqlCommandType getSqlCommandType(Method method) { Class<? extends Annotation> type = getSqlAnnotationType(method); if (type == null) { type = getSqlProviderAnnotationType(method); if (type == null) { return SqlCommandType.UNKNOWN; } if (type == SelectProvider.class) { type = Select.class; } else if (type == InsertProvider.class) { type = Insert.class; } else if (type == UpdateProvider.class) { type = Update.class; } else if (type == DeleteProvider.class) { type = Delete.class; } } return SqlCommandType.valueOf(type.getSimpleName().toUpperCase(Locale.ENGLISH)); }
public MybatisMapperAnnotationBuilder(Configuration configuration, Class<?> type) { // 执行父类 super(configuration, type); String resource = type.getName().replace('.', '/') + ".java (best guess)"; this.assistant = new MapperBuilderAssistant(configuration, resource); this.configuration = configuration; this.type = type; sqlAnnotationTypes.add(Select.class); sqlAnnotationTypes.add(Insert.class); sqlAnnotationTypes.add(Update.class); sqlAnnotationTypes.add(Delete.class); sqlProviderAnnotationTypes.add(SelectProvider.class); sqlProviderAnnotationTypes.add(InsertProvider.class); sqlProviderAnnotationTypes.add(UpdateProvider.class); sqlProviderAnnotationTypes.add(DeleteProvider.class); }
/** * This method was generated by MyBatis Generator. * This method corresponds to the database table MAIL_LOG * * @mbggenerated */ @SelectProvider(type=MailLogSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="LAUNCHED_BY", property="launchedBy", jdbcType=JdbcType.VARCHAR), @Result(column="LAUNCHED_AT", property="launchedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="MAIL_STATUS", property="mailStatus", jdbcType=JdbcType.INTEGER), @Result(column="MESSAGE_NAME", property="messageName", jdbcType=JdbcType.VARCHAR), @Result(column="SCHEDULED_AT", property="scheduledAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="SENT_AT", property="sentAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="FROM_ADDR", property="fromAddr", jdbcType=JdbcType.VARCHAR), @Result(column="REPLY_TO_ADDR", property="replyToAddr", jdbcType=JdbcType.VARCHAR), @Result(column="SUBJECT", property="subject", jdbcType=JdbcType.VARCHAR), @Result(column="BODY", property="body", jdbcType=JdbcType.VARCHAR), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<MailLog> selectByExample(MailLogCriteria example);
/** * This method was generated by MyBatis Generator. * This method corresponds to the database table MAIL_LOG * * @mbggenerated */ @SelectProvider(type=MailLogSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="LAUNCHED_BY", property="launchedBy", jdbcType=JdbcType.VARCHAR), @Result(column="LAUNCHED_AT", property="launchedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="MAIL_STATUS", property="mailStatus", jdbcType=JdbcType.INTEGER), @Result(column="MESSAGE_NAME", property="messageName", jdbcType=JdbcType.VARCHAR), @Result(column="SCHEDULED_AT", property="scheduledAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="SENT_AT", property="sentAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="FROM_ADDR", property="fromAddr", jdbcType=JdbcType.VARCHAR), @Result(column="SUBJECT", property="subject", jdbcType=JdbcType.VARCHAR), @Result(column="BODY", property="body", jdbcType=JdbcType.VARCHAR), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<MailLog> selectByExampleWithRowbounds(MailLogCriteria example, RowBounds rowBounds);
/** * This method was generated by MyBatis Generator. * This method corresponds to the database table ASYNC_PROCESS * * @mbggenerated */ @SelectProvider(type=AsyncProcessSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="LAUNCHED_BY", property="launchedBy", jdbcType=JdbcType.VARCHAR), @Result(column="DESCRIPTION", property="description", jdbcType=JdbcType.VARCHAR), @Result(column="ASYNC_TYPE", property="asyncType", jdbcType=JdbcType.VARCHAR), @Result(column="ASYNC_STATUS", property="asyncStatus", jdbcType=JdbcType.VARCHAR), @Result(column="REGISTERED_AT", property="registeredAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LAUNCHED_AT", property="launchedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="STARTED_AT", property="startedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="FINISHED_AT", property="finishedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<AsyncProcess> selectByExampleWithRowbounds(AsyncProcessCriteria example, RowBounds rowBounds);
/** * This method was generated by MyBatis Generator. * This method corresponds to the database table ASYNC_PROCESS_FILE * * @mbggenerated */ @SelectProvider(type=AsyncProcessFileSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="ASYNC_ID", property="asyncId", jdbcType=JdbcType.BIGINT), @Result(column="HANDLER_NAME", property="handlerName", jdbcType=JdbcType.VARCHAR), @Result(column="PARAM_NAME", property="paramName", jdbcType=JdbcType.VARCHAR), @Result(column="ORIGINAL_FILENAME", property="originalFilename", jdbcType=JdbcType.VARCHAR), @Result(column="CONTENT_TYPE", property="contentType", jdbcType=JdbcType.VARCHAR), @Result(column="FILE_SIZE", property="fileSize", jdbcType=JdbcType.BIGINT), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<AsyncProcessFile> selectByExampleWithRowbounds(AsyncProcessFileCriteria example, RowBounds rowBounds);
/** * This method was generated by MyBatis Generator. * This method corresponds to the database table MAIL_LOG * * @mbggenerated */ @SelectProvider(type=MailLogSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="LAUNCHED_BY", property="launchedBy", jdbcType=JdbcType.VARCHAR), @Result(column="LAUNCHED_AT", property="launchedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="MAIL_STATUS", property="mailStatus", jdbcType=JdbcType.INTEGER), @Result(column="MESSAGE_NAME", property="messageName", jdbcType=JdbcType.VARCHAR), @Result(column="SCHEDULED_AT", property="scheduledAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="SENT_AT", property="sentAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="FROM_ADDR", property="fromAddr", jdbcType=JdbcType.VARCHAR), @Result(column="REPLY_TO_ADDR", property="replyToAddr", jdbcType=JdbcType.VARCHAR), @Result(column="SUBJECT", property="subject", jdbcType=JdbcType.VARCHAR), @Result(column="BODY", property="body", jdbcType=JdbcType.VARCHAR), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<MailLog> selectByExampleWithRowbounds(MailLogCriteria example, RowBounds rowBounds);
/** * This method was generated by MyBatis Generator. * This method corresponds to the database table ASYNC_PROCESS * * @mbggenerated */ @SelectProvider(type=AsyncProcessSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="LAUNCHED_BY", property="launchedBy", jdbcType=JdbcType.VARCHAR), @Result(column="DESCRIPTION", property="description", jdbcType=JdbcType.VARCHAR), @Result(column="ASYNC_TYPE", property="asyncType", jdbcType=JdbcType.VARCHAR), @Result(column="ASYNC_STATUS", property="asyncStatus", jdbcType=JdbcType.VARCHAR), @Result(column="REGISTERED_AT", property="registeredAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LAUNCHED_AT", property="launchedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="STARTED_AT", property="startedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="FINISHED_AT", property="finishedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<AsyncProcess> selectByExample(AsyncProcessCriteria example);
/** * This method was generated by MyBatis Generator. * This method corresponds to the database table ZIPCD_MASTER * * @mbggenerated */ @SelectProvider(type=ZipcdMasterSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="CITY_CD", property="cityCd", jdbcType=JdbcType.INTEGER), @Result(column="ZIPCD", property="zipcd", jdbcType=JdbcType.VARCHAR), @Result(column="PREF", property="pref", jdbcType=JdbcType.VARCHAR), @Result(column="CITY", property="city", jdbcType=JdbcType.VARCHAR), @Result(column="ADDR", property="addr", jdbcType=JdbcType.VARCHAR), @Result(column="PREF_KANA", property="prefKana", jdbcType=JdbcType.VARCHAR), @Result(column="CITY_KANA", property="cityKana", jdbcType=JdbcType.VARCHAR), @Result(column="ADDR_KANA", property="addrKana", jdbcType=JdbcType.VARCHAR), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<ZipcdMaster> selectByExampleWithRowbounds(ZipcdMasterCriteria example, RowBounds rowBounds);
/** * This method was generated by MyBatis Generator. * This method corresponds to the database table ASYNC_PROCESS_FILE * * @mbggenerated */ @SelectProvider(type=AsyncProcessFileSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="ASYNC_ID", property="asyncId", jdbcType=JdbcType.BIGINT), @Result(column="HANDLER_NAME", property="handlerName", jdbcType=JdbcType.VARCHAR), @Result(column="PARAM_NAME", property="paramName", jdbcType=JdbcType.VARCHAR), @Result(column="ORIGINAL_FILENAME", property="originalFilename", jdbcType=JdbcType.VARCHAR), @Result(column="CONTENT_TYPE", property="contentType", jdbcType=JdbcType.VARCHAR), @Result(column="FILE_SIZE", property="fileSize", jdbcType=JdbcType.BIGINT), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<AsyncProcessFile> selectByExample(AsyncProcessFileCriteria example);
public MybatisMapperAnnotationBuilder(Configuration configuration, Class<?> type) { // TODO 执行父类 super(configuration, type); String resource = type.getName().replace('.', '/') + ".java (best guess)"; this.assistant = new MapperBuilderAssistant(configuration, resource); this.configuration = configuration; this.type = type; sqlAnnotationTypes.add(Select.class); sqlAnnotationTypes.add(Insert.class); sqlAnnotationTypes.add(Update.class); sqlAnnotationTypes.add(Delete.class); sqlProviderAnnotationTypes.add(SelectProvider.class); sqlProviderAnnotationTypes.add(InsertProvider.class); sqlProviderAnnotationTypes.add(UpdateProvider.class); sqlProviderAnnotationTypes.add(DeleteProvider.class); }
@SelectProvider(type=UserSqlProvider.class, method="selectByExample") @Results({ @Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true), @Result(column="username", property="username", jdbcType=JdbcType.VARCHAR), @Result(column="password", property="password", jdbcType=JdbcType.VARCHAR), @Result(column="role", property="role", jdbcType=JdbcType.INTEGER) }) List<User> selectByExample(UserExample example);
@Test public void methodNotFound() throws NoSuchMethodException { expectedException.expect(BuilderException.class); expectedException.expectMessage(is("Error creating SqlSource for SqlProvider. Method 'methodNotFound' not found in SqlProvider 'org.apache.ibatis.submitted.sqlprovider.SqlProviderTest$ErrorSqlBuilder'.")); new ProviderSqlSource(new Configuration(), ErrorMapper.class.getMethod("methodNotFound").getAnnotation(SelectProvider.class)); }
@Test public void methodOverload() throws NoSuchMethodException { expectedException.expect(BuilderException.class); expectedException.expectMessage(is("Error creating SqlSource for SqlProvider. Method 'overload' is found multiple in SqlProvider 'org.apache.ibatis.submitted.sqlprovider.SqlProviderTest$ErrorSqlBuilder'. Sql provider method can not overload.")); new ProviderSqlSource(new Configuration(), ErrorMapper.class.getMethod("methodOverload", String.class).getAnnotation(SelectProvider.class)); }
@Test public void notSupportParameterObjectOnMultipleArguments() throws NoSuchMethodException { expectedException.expect(BuilderException.class); expectedException.expectMessage(is("Error invoking SqlProvider method (org.apache.ibatis.submitted.sqlprovider.OurSqlBuilder.buildGetUsersByNameQuery). Cannot invoke a method that holds multiple arguments using a specifying parameterObject. In this case, please specify a 'java.util.Map' object.")); new ProviderSqlSource(new Configuration(), Mapper.class.getMethod("getUsersByName", String.class, String.class).getAnnotation(SelectProvider.class)) .getBoundSql(new Object()); }
@Test public void notSupportParameterObjectOnNamedArgument() throws NoSuchMethodException { expectedException.expect(BuilderException.class); expectedException.expectMessage(is("Error invoking SqlProvider method (org.apache.ibatis.submitted.sqlprovider.OurSqlBuilder.buildGetUsersByNameWithParamNameQuery). Cannot invoke a method that holds named argument(@Param) using a specifying parameterObject. In this case, please specify a 'java.util.Map' object.")); new ProviderSqlSource(new Configuration(), Mapper.class.getMethod("getUsersByNameWithParamName", String.class).getAnnotation(SelectProvider.class)) .getBoundSql(new Object()); }
@Test public void invokeError() throws NoSuchMethodException { expectedException.expect(BuilderException.class); expectedException.expectMessage(is("Error invoking SqlProvider method (org.apache.ibatis.submitted.sqlprovider.SqlProviderTest$ErrorSqlBuilder.invokeError). Cause: java.lang.reflect.InvocationTargetException")); new ProviderSqlSource(new Configuration(), ErrorMapper.class.getMethod("invokeError").getAnnotation(SelectProvider.class)) .getBoundSql(new Object()); }
@SelectProvider(type=UserSqlProvider.class, method="selectByExample") @Results({ @Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true), @Result(column="username", property="username", jdbcType=JdbcType.VARCHAR), @Result(column="psw", property="psw", jdbcType=JdbcType.VARCHAR) }) List<User> selectByExample(UserCriteria example);
@SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="gaResults", value={ @Result(property="id", column="id", id=true), @Result(property="firstName", column="first_name"), @Result(property="lastName", column="last_name"), @Result(property="fullName", column="full_name") }) List<GeneratedAlwaysRecord> selectMany(SelectStatementProvider selectStatement);
@SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SimpleTableResult", value= { @Result(column="A_ID", property="id", jdbcType=JdbcType.INTEGER, id=true), @Result(column="first_name", property="firstName", jdbcType=JdbcType.VARCHAR), @Result(column="last_name", property="lastName", jdbcType=JdbcType.VARCHAR, typeHandler=LastNameTypeHandler.class), @Result(column="birth_date", property="birthDate", jdbcType=JdbcType.DATE), @Result(column="employed", property="employed", jdbcType=JdbcType.VARCHAR, typeHandler=YesNoTypeHandler.class), @Result(column="occupation", property="occupation", jdbcType=JdbcType.VARCHAR) }) List<SimpleTableRecord> selectMany(SelectStatementProvider selectStatement);
@SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="AnimalDataResult", value={ @Result(column="id", property="id", id=true), @Result(column="animal_name", property="animalName"), @Result(column="brain_weight", property="brainWeight"), @Result(column="body_weight", property="bodyWeight") }) List<AnimalData> selectMany(SelectStatementProvider selectStatement);
/** * This method was generated by MyBatis Generator. * This method corresponds to the database table BIZDATETIME_MASTER * * @mbggenerated */ @SelectProvider(type=BizdatetimeMasterSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="BIZDATE", property="bizdate", jdbcType=JdbcType.DATE), @Result(column="OFFSET_DAY", property="offsetDay", jdbcType=JdbcType.INTEGER), @Result(column="OFFSET_HOUR", property="offsetHour", jdbcType=JdbcType.INTEGER), @Result(column="OFFSET_MINUTE", property="offsetMinute", jdbcType=JdbcType.INTEGER), @Result(column="OFFSET_SECOND", property="offsetSecond", jdbcType=JdbcType.INTEGER), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<BizdatetimeMaster> selectByExample(BizdatetimeMasterCriteria example);
/** * This method was generated by MyBatis Generator. * This method corresponds to the database table ASYNC_PROCESS_EXCEPTION * * @mbggenerated */ @SelectProvider(type=AsyncProcessExceptionSqlProvider.class, method="selectByExample") @Results({ @Result(column="ID", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="ASYNC_ID", property="asyncId", jdbcType=JdbcType.BIGINT), @Result(column="UPDATED_AT", property="updatedAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="CREATED_AT", property="createdAt", jdbcType=JdbcType.TIMESTAMP), @Result(column="LOCK_VERSION", property="lockVersion", jdbcType=JdbcType.INTEGER), @Result(column="DELETED_FLG", property="deletedFlg", jdbcType=JdbcType.INTEGER) }) List<AsyncProcessException> selectByExample(AsyncProcessExceptionCriteria example);