Compare commits
3 Commits
39d8eac578
...
92896a0345
Author | SHA1 | Date | |
---|---|---|---|
92896a0345 | |||
ac3fdae2d0 | |||
8dcf8eadac |
@@ -21,7 +21,7 @@ public final class EntityStatus extends Enumeration<EntityStatus> {
|
||||
public static final EntityStatus AVAILABLE = new EntityStatus(0, "正常");
|
||||
public static final EntityStatus DISABLED = new EntityStatus(1, "禁用");
|
||||
|
||||
private static final ValueSet<EntityStatus> VALUE_SET = new ValueSet<>(
|
||||
private static final ValueSet<EntityStatus> VALUE_SET = ValueSet.of(
|
||||
AVAILABLE, DISABLED);
|
||||
|
||||
public static EntityStatus of(int id) {
|
||||
|
@@ -7,8 +7,7 @@ import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
|
||||
import xyz.zhouxy.plusone.spring.SpringContextHolder;
|
||||
|
||||
/**
|
||||
* 全局单例,由 Spring 装配好的对象。
|
||||
* 可通过静态方法获取 Spring 容器中的 {@link JdbcTemplate} 和
|
||||
* 通过静态方法获取 Spring 容器中的 {@link JdbcTemplate} 和
|
||||
* {@link NamedParameterJdbcTemplate} 对象。
|
||||
*
|
||||
* @author <a href="https://gitee.com/zhouxy108">ZhouXY</a>
|
||||
|
Reference in New Issue
Block a user