Compare commits
2 Commits
feature/me
...
5215fded9c
Author | SHA1 | Date | |
---|---|---|---|
5215fded9c | |||
c30cca8f6a |
@@ -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");
|
||||||
|
@@ -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}
|
||||||
* 的查询方法,
|
* 的查询方法,
|
||||||
|
Reference in New Issue
Block a user