mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
添加开机和停机时间
This commit is contained in:
@@ -15,6 +15,7 @@ import lombok.Data;
|
||||
import org.hibernate.annotations.Comment;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
/** */
|
||||
@@ -25,6 +26,15 @@ public class CreateCoalWashingDailyAnalysisDto extends OrgCommonDto {
|
||||
@Comment("日期")
|
||||
private LocalDate date;
|
||||
|
||||
@Comment("开机时间")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
@Comment("停机时间")
|
||||
private LocalDateTime endTime;
|
||||
|
||||
@Comment("皮带秤设备组")
|
||||
private String pdcDeviceGroup;
|
||||
|
||||
@ElementCollection
|
||||
@CollectionTable(foreignKey = @ForeignKey(ConstraintMode.NO_CONSTRAINT))
|
||||
private List<CoalWashingDailyAnalysisItemVo> inputItems;
|
||||
|
||||
@@ -15,6 +15,7 @@ import lombok.Data;
|
||||
import org.hibernate.annotations.Comment;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
/** */
|
||||
@@ -25,6 +26,15 @@ public class UpdateCoalWashingDailyAnalysisDto extends OrgCommonDto {
|
||||
@Comment("日期")
|
||||
private LocalDate date;
|
||||
|
||||
@Comment("开机时间")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
@Comment("停机时间")
|
||||
private LocalDateTime endTime;
|
||||
|
||||
@Comment("皮带秤设备组")
|
||||
private String pdcDeviceGroup;
|
||||
|
||||
@ElementCollection
|
||||
@CollectionTable(foreignKey = @ForeignKey(ConstraintMode.NO_CONSTRAINT))
|
||||
private List<CoalWashingDailyAnalysisItemVo> inputItems;
|
||||
|
||||
@@ -17,6 +17,7 @@ import org.hibernate.annotations.Fetch;
|
||||
import org.hibernate.annotations.FetchMode;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.LocalTime;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
@@ -35,6 +36,16 @@ public class CoalWashingDailyAnalysisEntity extends OrgCommonEntity {
|
||||
@Comment("日期")
|
||||
private LocalDate date;
|
||||
|
||||
|
||||
@Comment("开机时间")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
@Comment("停机时间")
|
||||
private LocalDateTime endTime;
|
||||
|
||||
@Comment("皮带秤设备组")
|
||||
private String pdcDeviceGroup;
|
||||
|
||||
@ElementCollection()
|
||||
@CollectionTable(foreignKey = @ForeignKey(ConstraintMode.NO_CONSTRAINT))
|
||||
@Fetch(FetchMode.SUBSELECT)
|
||||
|
||||
Reference in New Issue
Block a user