File tree Expand file tree Collapse file tree
core/src/main/java/info/xiaomo/core/base Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030@ Data
3131@ AllArgsConstructor
3232@ NoArgsConstructor
33- public abstract class BaseModel implements Serializable {
33+ public abstract class BaseModel implements Serializable {
3434
3535 @ Id
3636 @ GeneratedValue (strategy = GenerationType .AUTO )
3737 @ Column (name = "Id" )
38- private long id ;
38+ private Long id ;
3939
4040 @ Column (name = "Name" )
4141 private String name ;
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ public interface BaseService<T> {
1818
1919 Page <T > findAll (int start , int pageSize );
2020
21- boolean delById (Long id );
21+ Boolean delById (Long id );
2222
23- boolean delByName (String name );
23+ Boolean delByName (String name );
2424
25- boolean add (T model );
25+ Boolean add (T model );
2626
27- boolean update (T model );
27+ Boolean update (T model );
2828
29- boolean delByIds (List <Long > ids );
29+ Boolean delByIds (List <Long > ids );
3030}
You can’t perform that action at this time.
0 commit comments