File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
core-web/src/main/java/lazy/fast/code/core/web
demo/src/main/java/lazy/fast/code/demo/core Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ public abstract class BaseUnCheckException extends RuntimeException {
15
15
/**
16
16
* http状态码, ResultMsg中的code可以与此相同
17
17
*/
18
- private HttpStatus httpStatus ;
18
+ private final HttpStatus httpStatus ;
19
19
20
- private ResultMsg resultMsg ;
20
+ private final ResultMsg resultMsg ;
21
21
22
22
public BaseUnCheckException (HttpStatus httpStatus , ResultMsg resultMsg ) {
23
23
super (resultMsg .toString ());
Original file line number Diff line number Diff line change 11
11
*/
12
12
public abstract class BaseController <T extends BaseEntity > {
13
13
14
- private BaseService <T > baseService ;
14
+ private final BaseService <T > baseService ;
15
15
16
16
public BaseController (BaseService <T > baseService ) {
17
17
if (null == baseService ) {
Original file line number Diff line number Diff line change 16
16
*/
17
17
public abstract class BaseServiceImpl <T extends BaseEntity > implements BaseService <T > {
18
18
19
- private BaseRepository <T > baseRepository ;
19
+ private final BaseRepository <T > baseRepository ;
20
20
21
21
public BaseServiceImpl (BaseRepository <T > baseRepository ) {
22
22
if (null == baseRepository ) {
Original file line number Diff line number Diff line change 18
18
@ MappedSuperclass
19
19
@ Setter
20
20
@ Getter
21
- public abstract class BaseEntity extends lazy .fast .code .core .web .orm .BaseEntity {
21
+ public abstract class BaseEntity extends lazy .fast .code .core .web .orm .BaseEntity < String > {
22
22
23
23
/**
24
24
* 数据主键 - 自定义生成策略
You can’t perform that action at this time.
0 commit comments