forked from dyf/fys-Multi-tenant
Merge branch 'main' into dyf-device
This commit is contained in:
@ -11,6 +11,8 @@ import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
@ -70,4 +72,6 @@ public class DeviceRepairRecordsBo extends BaseEntity {
|
||||
@Schema(title = "维修后图片")
|
||||
@JsonIgnore
|
||||
private MultipartFile afterFile;
|
||||
|
||||
private List<Long> imageIds;
|
||||
}
|
||||
|
||||
@ -7,6 +7,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.util.Date;
|
||||
@ -51,8 +52,10 @@ public class DeviceRepairRecordsQueryCriteria extends BaseEntity {
|
||||
private String repairPerson;
|
||||
|
||||
@Schema(title = "维修开始时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date repairBeginTime;
|
||||
@Schema(title = "维修结束时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date repairEndTime;
|
||||
|
||||
@Schema(title = "所属客户")
|
||||
|
||||
Reference in New Issue
Block a user