fix():补充停机字段备注
This commit is contained in:
@@ -2,6 +2,7 @@ package com.fizz.business.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
@@ -15,30 +16,43 @@ public class ProStoppage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "停机ID")
|
||||
|
||||
private Long stopid;
|
||||
|
||||
@ApiModelProperty(value = "钢卷号")
|
||||
private String coilid;
|
||||
|
||||
@ApiModelProperty(value = "班")
|
||||
private String shift;
|
||||
|
||||
@ApiModelProperty(value = "组")
|
||||
private String crew;
|
||||
|
||||
@ApiModelProperty(value = "区域")
|
||||
private String area;
|
||||
|
||||
@ApiModelProperty(value = "机组")
|
||||
private String unit;
|
||||
|
||||
@ApiModelProperty(value = "设备")
|
||||
private String seton;
|
||||
|
||||
@ApiModelProperty(value = "开始时间")
|
||||
private LocalDateTime startDate;
|
||||
|
||||
@ApiModelProperty(value = "结束时间")
|
||||
private LocalDateTime endDate;
|
||||
|
||||
@ApiModelProperty(value = "停机时长")
|
||||
private Float duration;
|
||||
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private String insdate;
|
||||
|
||||
@ApiModelProperty(value = "停机类型")
|
||||
private String stopType;
|
||||
|
||||
@ApiModelProperty(value = "停机原因")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
|
||||
@@ -19,8 +19,8 @@ public class ProStoppageServiceImpl extends ServiceImpl<ProStoppageMapper, ProSt
|
||||
public List<ProStoppage> listAll(ProStoppageForm form) {
|
||||
QueryWrapper<ProStoppage> queryWrapper = new QueryWrapper<>();
|
||||
|
||||
queryWrapper.ge("start_date", form.getStartDate() + " 00:00:00");
|
||||
queryWrapper.le("start_date", form.getEndDate() + " 23:59:59");
|
||||
queryWrapper.ge("end_date", form.getStartDate() + " 00:00:00");
|
||||
queryWrapper.le("end_date", form.getEndDate() + " 23:59:59");
|
||||
|
||||
return baseMapper.selectList(queryWrapper);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user