Spaces:
Configuration error

QPAT commited on
Commit
7bd0c6c
·
1 Parent(s): e02ad39

Refactoring code

Browse files
src/main/java/com/attendenceSystem/module/attendance/dto/response/LeaveDetailResponse.java CHANGED
@@ -1,6 +1,5 @@
1
  package com.attendenceSystem.module.attendance.dto.response;
2
 
3
- import java.time.Instant;
4
  import java.time.LocalDate;
5
  import java.time.LocalDateTime;
6
 
 
1
  package com.attendenceSystem.module.attendance.dto.response;
2
 
 
3
  import java.time.LocalDate;
4
  import java.time.LocalDateTime;
5
 
src/main/java/com/attendenceSystem/module/attendance/mapper/response/AttendanceResponseMapper.java CHANGED
@@ -1,8 +1,5 @@
1
  package com.attendenceSystem.module.attendance.mapper.response;
2
 
3
- import java.time.LocalDateTime;
4
- import java.time.ZoneId;
5
-
6
  import org.springframework.stereotype.Component;
7
 
8
  import com.attendenceSystem.module.attendance.dto.response.AttendanceResponse;
 
1
  package com.attendenceSystem.module.attendance.mapper.response;
2
 
 
 
 
3
  import org.springframework.stereotype.Component;
4
 
5
  import com.attendenceSystem.module.attendance.dto.response.AttendanceResponse;
src/main/java/com/attendenceSystem/module/schedule/controller/ScheduleController.java CHANGED
@@ -8,7 +8,6 @@ import com.attendenceSystem.constant.Routes;
8
 
9
  import lombok.RequiredArgsConstructor;
10
  import org.springframework.web.bind.annotation.GetMapping;
11
- import org.springframework.web.bind.annotation.RequestParam;
12
 
13
 
14
  @RequiredArgsConstructor
 
8
 
9
  import lombok.RequiredArgsConstructor;
10
  import org.springframework.web.bind.annotation.GetMapping;
 
11
 
12
 
13
  @RequiredArgsConstructor
src/main/resources/application.properties CHANGED
@@ -23,14 +23,14 @@ spring.devtools.livereload.enabled=true
23
  server.servlet.jsp.init-parameters.development=true
24
 
25
  # DataSource Configuration for SQL Server
26
- # spring.datasource.url=jdbc:mariadb://localhost:3306/ATTENDANCE
27
- # spring.datasource.username=root
28
- # spring.datasource.password=QQQewqwqa401!
29
- # spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
30
-
31
- spring.datasource.url=jdbc:mysql://localhost:3306/attendance
32
  spring.datasource.username=root
33
- spring.datasource.password=annguyenthanh2k5
 
 
 
 
 
34
 
35
 
36
  # SMPT EMAIL
 
23
  server.servlet.jsp.init-parameters.development=true
24
 
25
  # DataSource Configuration for SQL Server
26
+ spring.datasource.url=jdbc:mariadb://localhost:3306/ATTENDANCE
 
 
 
 
 
27
  spring.datasource.username=root
28
+ spring.datasource.password=QQQewqwqa401!
29
+ spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
30
+
31
+ # spring.datasource.url=jdbc:mysql://localhost:3306/attendance
32
+ # spring.datasource.username=root
33
+ # spring.datasource.password=annguyenthanh2k5
34
 
35
 
36
  # SMPT EMAIL