| | |
| | | |
| | | import com.java110.core.log.LoggerFactory; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.apache.ibatis.executor.Executor; |
| | | import org.apache.ibatis.mapping.BoundSql; |
| | | import org.apache.ibatis.mapping.MappedStatement; |
| | | import org.apache.ibatis.mapping.ParameterMapping; |
| | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Properties; |
| | | import java.util.concurrent.Executor; |
| | | |
| | | @Intercepts |
| | | ({ |
| | | @Signature(type = Executor.class, method = "query", args = {MappedStatement.class, Object.class, RowBounds.class, ResultHandler.class}), |
| | | @Signature(type = Executor.class, method = "update", args = {MappedStatement.class, Object.class}) |
| | | }) |
| | | |
| | | public class Java110TraceSqlInterceptor implements Interceptor { |
| | | |
| | | private static final DateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |