ZhouXY108 2023-04-15 12:26:02 +08:00
commit 6335fa03b1
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@ package xyz.zhouxy.plusone.constant;
public class ErrorCodeConsts { public class ErrorCodeConsts {
public static final int DEFAULT_ERROR_CODE = 9999999; public static final int DEFAULT_ERROR_CODE = 9999999;
public static final int DEFAULT_SYS_ERROR_CODE = 5000000;
public static final int DEFAULT_BIZ_ERROR_CODE = 4000000;
private ErrorCodeConsts() { private ErrorCodeConsts() {
throw new IllegalStateException("Utility class"); throw new IllegalStateException("Utility class");

View File

@ -8,7 +8,7 @@ import java.sql.SQLException;
* *
* <p> * <p>
* {@link #map(ResultSet)} {@link ResultSet} * {@link #map(ResultSet)} {@link ResultSet}
* {@link #rowMapper(ResultSet, int)} * {@link #rowMapper(ResultSet, int)}
* {@link org.springframework.jdbc.core.RowMapper} * {@link org.springframework.jdbc.core.RowMapper}
* {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate} * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
* *