File tree Expand file tree Collapse file tree 4 files changed +0
-12
lines changed
src/main/java/com/misicode/eggnews Expand file tree Collapse file tree 4 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -103,15 +103,7 @@ public String getCreatedAt() {
103103 return createdAt .format (DateTimeFormatter .ofPattern ("dd-MM-yyyy" ));
104104 }
105105
106- public void setCreatedAt (LocalDateTime createdAt ) {
107- this .createdAt = createdAt ;
108- }
109-
110106 public String getCreatedAtWithTime () {
111107 return createdAt .format (DateTimeFormatter .ofPattern ("dd-MM-yyyy hh:mm a" ));
112108 }
113-
114- public void setUpdatedAt (LocalDateTime updatedAt ) {
115- this .updatedAt = updatedAt ;
116- }
117109}
Original file line number Diff line number Diff line change 44import com .misicode .eggnews .domain .User ;
55import com .misicode .eggnews .repositories .NewsRepository ;
66import org .springframework .stereotype .Service ;
7- import org .springframework .transaction .annotation .Transactional ;
87
98import java .util .List ;
109
Original file line number Diff line number Diff line change 55import com .misicode .eggnews .repositories .RoleRepository ;
66import org .springframework .stereotype .Service ;
77
8- import java .util .Optional ;
9-
108@ Service
119public class RoleServiceImpl implements IRoleService {
1210 private RoleRepository roleRepository ;
Original file line number Diff line number Diff line change 55import com .misicode .eggnews .repositories .UserRepository ;
66import org .springframework .security .crypto .password .PasswordEncoder ;
77import org .springframework .stereotype .Service ;
8- import org .springframework .transaction .annotation .Transactional ;
98
109@ Service
1110public class UserServiceImpl implements IUserService {
You can’t perform that action at this time.
0 commit comments