Skip to content

Commit

Permalink
更新通用接口模块
Browse files Browse the repository at this point in the history
  • Loading branch information
micyo202 committed Dec 7, 2017
1 parent 971702e commit 8d9c7ff
Show file tree
Hide file tree
Showing 26 changed files with 4,105 additions and 2 deletions.
1 change: 1 addition & 0 deletions yan-api/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# yan-api
9 changes: 7 additions & 2 deletions yan-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@

<dependencies>

<!-- 添加 yan-model 依赖包 -->
<dependency>
<groupId>com.yan</groupId>
<artifactId>yan-model</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<!-- 添加 yan-common 依赖包 -->
<dependency>
<groupId>com.yan</groupId>
<artifactId>yan-common</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>

<!-- 添加 spring framework 依赖包 -->
<!-- 添加 spring-framework 依赖包 -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
package com.yan.api.mapper.logging;

import com.yan.model.logging.LoggingEventException;
import com.yan.model.logging.LoggingEventExceptionExample;
import com.yan.model.logging.LoggingEventExceptionKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoggingEventExceptionMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_exception
*
* @mbg.generated Fri Sep 15 16:14:57 CST 2017
*/
long countByExample(LoggingEventExceptionExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_exception
*
* @mbg.generated Fri Sep 15 16:14:57 CST 2017
*/
int deleteByExample(LoggingEventExceptionExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_exception
*
* @mbg.generated Fri Sep 15 16:14:57 CST 2017
*/
int deleteByPrimaryKey(LoggingEventExceptionKey key);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_exception
*
* @mbg.generated Fri Sep 15 16:14:57 CST 2017
*/
int insert(LoggingEventException record);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_exception
*
* @mbg.generated Fri Sep 15 16:14:57 CST 2017
*/
int insertSelective(LoggingEventException record);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_exception
*
* @mbg.generated Fri Sep 15 16:14:57 CST 2017
*/
List<LoggingEventException> selectByExample(LoggingEventExceptionExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_exception
*
* @mbg.generated Fri Sep 15 16:14:57 CST 2017
*/
LoggingEventException selectByPrimaryKey(LoggingEventExceptionKey key);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_exception
*
* @mbg.generated Fri Sep 15 16:14:57 CST 2017
*/
int updateByExampleSelective(@Param("record") LoggingEventException record, @Param("example") LoggingEventExceptionExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_exception
*
* @mbg.generated Fri Sep 15 16:14:57 CST 2017
*/
int updateByExample(@Param("record") LoggingEventException record, @Param("example") LoggingEventExceptionExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_exception
*
* @mbg.generated Fri Sep 15 16:14:57 CST 2017
*/
int updateByPrimaryKeySelective(LoggingEventException record);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_exception
*
* @mbg.generated Fri Sep 15 16:14:57 CST 2017
*/
int updateByPrimaryKey(LoggingEventException record);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
package com.yan.api.mapper.logging;

import com.yan.model.logging.LoggingEvent;
import com.yan.model.logging.LoggingEventExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoggingEventMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
long countByExample(LoggingEventExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
int deleteByExample(LoggingEventExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
int deleteByPrimaryKey(Long eventId);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
int insert(LoggingEvent record);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
int insertSelective(LoggingEvent record);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
List<LoggingEvent> selectByExampleWithBLOBs(LoggingEventExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
List<LoggingEvent> selectByExample(LoggingEventExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
LoggingEvent selectByPrimaryKey(Long eventId);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
int updateByExampleSelective(@Param("record") LoggingEvent record, @Param("example") LoggingEventExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
int updateByExampleWithBLOBs(@Param("record") LoggingEvent record, @Param("example") LoggingEventExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
int updateByExample(@Param("record") LoggingEvent record, @Param("example") LoggingEventExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
int updateByPrimaryKeySelective(LoggingEvent record);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
int updateByPrimaryKeyWithBLOBs(LoggingEvent record);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event
*
* @mbg.generated Wed Sep 13 14:33:21 CST 2017
*/
int updateByPrimaryKey(LoggingEvent record);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
package com.yan.api.mapper.logging;

import com.yan.model.logging.LoggingEventProperty;
import com.yan.model.logging.LoggingEventPropertyExample;
import com.yan.model.logging.LoggingEventPropertyKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoggingEventPropertyMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
long countByExample(LoggingEventPropertyExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
int deleteByExample(LoggingEventPropertyExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
int deleteByPrimaryKey(LoggingEventPropertyKey key);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
int insert(LoggingEventProperty record);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
int insertSelective(LoggingEventProperty record);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
List<LoggingEventProperty> selectByExampleWithBLOBs(LoggingEventPropertyExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
List<LoggingEventProperty> selectByExample(LoggingEventPropertyExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
LoggingEventProperty selectByPrimaryKey(LoggingEventPropertyKey key);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
int updateByExampleSelective(@Param("record") LoggingEventProperty record, @Param("example") LoggingEventPropertyExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
int updateByExampleWithBLOBs(@Param("record") LoggingEventProperty record, @Param("example") LoggingEventPropertyExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
int updateByExample(@Param("record") LoggingEventProperty record, @Param("example") LoggingEventPropertyExample example);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
int updateByPrimaryKeySelective(LoggingEventProperty record);

/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table logging_event_property
*
* @mbg.generated Fri Sep 15 16:14:13 CST 2017
*/
int updateByPrimaryKeyWithBLOBs(LoggingEventProperty record);
}
Loading

0 comments on commit 8d9c7ff

Please sign in to comment.