|
@@ -21,8 +21,6 @@ import org.springframework.stereotype.Service;
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
import javax.servlet.ServletOutputStream;
|
|
import javax.servlet.ServletOutputStream;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
-import javax.validation.constraints.Min;
|
|
|
|
-import javax.validation.constraints.NotNull;
|
|
|
|
import java.io.FileNotFoundException;
|
|
import java.io.FileNotFoundException;
|
|
import java.time.LocalDate;
|
|
import java.time.LocalDate;
|
|
import java.time.LocalDateTime;
|
|
import java.time.LocalDateTime;
|
|
@@ -117,7 +115,7 @@ public class AttendanceService extends ServiceImpl<AttendanceMapper, Attendance>
|
|
int type = ValuePool.nullable(attendance.getType(), 0);
|
|
int type = ValuePool.nullable(attendance.getType(), 0);
|
|
Long userId = attendance.getUserId();
|
|
Long userId = attendance.getUserId();
|
|
int dayOfMonth = attendance.getCreateDate().getDayOfMonth();
|
|
int dayOfMonth = attendance.getCreateDate().getDayOfMonth();
|
|
- String attendanceTime = String.format("%tT", attendance.getCreateDate()) + " " + attendance.getStatusDesc();
|
|
|
|
|
|
+ String attendanceTime = String.format("%tT", attendance.getCreateDate()) + " " + attendance.getStatusDesc()+" "+attendance.getAddress();
|
|
switch (type) {
|
|
switch (type) {
|
|
case 1:
|
|
case 1:
|
|
case 11:
|
|
case 11:
|