异常心率列表
This commit is contained in:
+41
@@ -0,0 +1,41 @@
|
||||
package com.renkang.watch.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@Schema(title = "新疆大屏异常数据列表请求参数")
|
||||
public class XjScreenAbnormalParam {
|
||||
@Schema(title = "分页参数")
|
||||
private Integer pageNo = 0;
|
||||
@Schema(title = "分页参数")
|
||||
private Integer pageSize = 10;
|
||||
@Schema(title = "用户姓名")
|
||||
private String realName;
|
||||
@Schema(title = "开始时间")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date startTime;
|
||||
@Schema(title = "结束时间")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endTime;
|
||||
@Schema(title = "部门编码")
|
||||
private String orgCode;
|
||||
@Schema(title = "业务类型(1:心率 ,2:血氧 3:压力 5: 体温 7 :步数)")
|
||||
private Integer type = 1;
|
||||
/**
|
||||
* PS: 因五个模块的数据共用了同一套接口,该参数所代表的意义也不同 时间紧没有拆分接口 , 先这样写吧
|
||||
* 当type=1时(0-异常,1-正常)
|
||||
* 当type=2时(0-异常,1-正常)
|
||||
* 当type=3时(0-偏高,1-中等,2-正常,3-放松)
|
||||
* 当type=5时(0-大于38,1-37.2-38,2-小于37.2)
|
||||
* 当type=7时(0:小于5000,1:5000-10000,2:10000-15000,3:15000-20000,4大于20000)
|
||||
*/
|
||||
@Schema(title = "查询条件(业务类型不同 查询条件数据代表的意义不同)")
|
||||
private Integer search = 0;
|
||||
}
|
||||
@@ -31,12 +31,12 @@ public class BigScreenVo {
|
||||
* 目前只有大屏监测数据中的心率使用
|
||||
*/
|
||||
@Parameter(description = "最大值")
|
||||
private Integer maxValue;
|
||||
private Integer maxData;
|
||||
/**
|
||||
* 目前只有大屏监测数据中的心率使用
|
||||
*/
|
||||
@Parameter(description = "最小值")
|
||||
private Integer minValue;
|
||||
private Integer minData;
|
||||
|
||||
public Integer getWarnCount() {
|
||||
if(null != warnCount){
|
||||
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
package com.renkang.watch.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.aspect.annotation.Dict;
|
||||
import org.jeecg.common.desensitization.annotation.SensitiveField;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author feng
|
||||
* @date 新疆大屏心血管数据监测大屏异常数据展示
|
||||
*/
|
||||
@Data
|
||||
@Schema(title = "新疆大屏心血管数据监测大屏异常数据展示")
|
||||
public class XjScreenAbnormalVO {
|
||||
private String id;
|
||||
|
||||
@Schema(title = "员工ID")
|
||||
private String userId;
|
||||
|
||||
@Schema(title = "员工姓名")
|
||||
private String realName;
|
||||
|
||||
@Schema(title = "员工编号")
|
||||
private String workNo;
|
||||
|
||||
@Schema(title = "电话")
|
||||
private String phone;
|
||||
|
||||
@Schema(title = "年龄")
|
||||
private Integer age;
|
||||
|
||||
@Schema(title = "性别")
|
||||
@Dict(dicCode = "sex2")
|
||||
private Integer sex;
|
||||
|
||||
@Schema(title = "二级部门Code(单位)")
|
||||
private String secondDeptCode;
|
||||
|
||||
@Schema(title = "二级部门名称(单位)")
|
||||
private String secondDeptName;
|
||||
|
||||
@Schema(title = "三级部门Code(部门)")
|
||||
private String thirdDeptCode;
|
||||
|
||||
@Schema(title = "三级部门名称(部门)")
|
||||
private String thirdDeptName;
|
||||
|
||||
@Schema(title = "数据值")
|
||||
private String dataValue;
|
||||
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(title = "时间戳")
|
||||
private java.util.Date dateTime;
|
||||
}
|
||||
Reference in New Issue
Block a user