|
@@ -26,6 +26,12 @@ public class ExcelRiBaoPrivate {
|
|
private int diarrhea = 0;
|
|
private int diarrhea = 0;
|
|
private int singleRoom = 0;
|
|
private int singleRoom = 0;
|
|
private int scoreRezult = 0;
|
|
private int scoreRezult = 0;
|
|
|
|
+ private int safetyNum = 0;
|
|
|
|
+ private int reportStatus = 0;
|
|
|
|
+ private int sureNum = 0;
|
|
|
|
+ private int singleNum = 0;
|
|
|
|
+ private int suspectedNum = 0;
|
|
|
|
+ private int normalNum = 0;
|
|
private String statusDesp = "";
|
|
private String statusDesp = "";
|
|
private String others = "";
|
|
private String others = "";
|
|
|
|
|
|
@@ -67,19 +73,64 @@ public class ExcelRiBaoPrivate {
|
|
private String phone;
|
|
private String phone;
|
|
|
|
|
|
@ExcelProperty(value = "今日居家人数", index = 5)
|
|
@ExcelProperty(value = "今日居家人数", index = 5)
|
|
- private int safetyNum;
|
|
|
|
|
|
+ private String safetyNumStr = "";
|
|
|
|
+
|
|
|
|
+ public String getSafetyNumStr() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
|
|
+ safetyNumStr = "" + safetyNum;
|
|
|
|
+
|
|
|
|
+ return safetyNumStr;
|
|
|
|
+ }
|
|
|
|
|
|
@ExcelProperty(value = "确诊人数", index = 6)
|
|
@ExcelProperty(value = "确诊人数", index = 6)
|
|
- private int sureNum;
|
|
|
|
|
|
+ private String sureNumStr;
|
|
|
|
+
|
|
|
|
+ public String getSureNumStr() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
|
|
+ sureNumStr = "" + sureNum;
|
|
|
|
+
|
|
|
|
+ return sureNumStr;
|
|
|
|
+ }
|
|
|
|
|
|
@ExcelProperty(value = "隔离人数", index = 7)
|
|
@ExcelProperty(value = "隔离人数", index = 7)
|
|
- private int singleNum;
|
|
|
|
|
|
+ private String singleNumStr;
|
|
|
|
+
|
|
|
|
+ public String getSingleNumStr() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
|
|
+ singleNumStr = "" + singleNum;
|
|
|
|
+
|
|
|
|
+ return singleNumStr;
|
|
|
|
+ }
|
|
|
|
|
|
@ExcelProperty(value = "异常观察人数", index = 8)
|
|
@ExcelProperty(value = "异常观察人数", index = 8)
|
|
- private int suspectedNum;
|
|
|
|
|
|
+ private String suspectedNumStr;
|
|
|
|
+
|
|
|
|
+ public String getSuspectedNumStr() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
|
|
+ suspectedNumStr = "" + suspectedNum;
|
|
|
|
+
|
|
|
|
+ return suspectedNumStr;
|
|
|
|
+ }
|
|
|
|
|
|
@ExcelProperty(value = "身体正常人数", index = 9)
|
|
@ExcelProperty(value = "身体正常人数", index = 9)
|
|
- private int normalNum;
|
|
|
|
|
|
+ private String normalNumStr;
|
|
|
|
+
|
|
|
|
+ public String getNormalNumStr() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
|
|
+ normalNumStr = "" + normalNum;
|
|
|
|
+
|
|
|
|
+ return normalNumStr;
|
|
|
|
+ }
|
|
|
|
|
|
@ExcelProperty(value = "居家人员姓名", index = 10)
|
|
@ExcelProperty(value = "居家人员姓名", index = 10)
|
|
private String userName;
|
|
private String userName;
|
|
@@ -88,6 +139,9 @@ public class ExcelRiBaoPrivate {
|
|
private String grenderStr;
|
|
private String grenderStr;
|
|
|
|
|
|
public String getGrenderStr() {
|
|
public String getGrenderStr() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
if (grender == 1) {
|
|
if (grender == 1) {
|
|
grenderStr = "男";
|
|
grenderStr = "男";
|
|
} else if (grender == 2) {
|
|
} else if (grender == 2) {
|
|
@@ -105,6 +159,9 @@ public class ExcelRiBaoPrivate {
|
|
private String temperatureStr;
|
|
private String temperatureStr;
|
|
|
|
|
|
public String getTemperatureStr() {
|
|
public String getTemperatureStr() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
temperatureStr = temperature.floatValue() > 10 ? temperature + "" : "未填报";
|
|
temperatureStr = temperature.floatValue() > 10 ? temperature + "" : "未填报";
|
|
return temperatureStr;
|
|
return temperatureStr;
|
|
}
|
|
}
|
|
@@ -113,6 +170,9 @@ public class ExcelRiBaoPrivate {
|
|
private String medicalStr;
|
|
private String medicalStr;
|
|
|
|
|
|
public String getMedicalStr() {
|
|
public String getMedicalStr() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
if (medical == 0) {
|
|
if (medical == 0) {
|
|
medicalStr = "否";
|
|
medicalStr = "否";
|
|
} else {
|
|
} else {
|
|
@@ -125,6 +185,9 @@ public class ExcelRiBaoPrivate {
|
|
private String singleRoomStr;
|
|
private String singleRoomStr;
|
|
|
|
|
|
public String getSingleRoomStr() {
|
|
public String getSingleRoomStr() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
if (singleRoom == 0) {
|
|
if (singleRoom == 0) {
|
|
singleRoomStr = "否";
|
|
singleRoomStr = "否";
|
|
} else {
|
|
} else {
|
|
@@ -137,6 +200,9 @@ public class ExcelRiBaoPrivate {
|
|
private String baseDesc = "";
|
|
private String baseDesc = "";
|
|
|
|
|
|
public String getBaseDesc() {
|
|
public String getBaseDesc() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
|
|
|
|
if (Conv.NI(familyStatus.split(",")[0]) == 1) {
|
|
if (Conv.NI(familyStatus.split(",")[0]) == 1) {
|
|
baseDesc += "心血管疾病(服用ARB),";
|
|
baseDesc += "心血管疾病(服用ARB),";
|
|
@@ -166,6 +232,9 @@ public class ExcelRiBaoPrivate {
|
|
private String bingqingDesc = "";
|
|
private String bingqingDesc = "";
|
|
|
|
|
|
public String getBingqingDesc() {
|
|
public String getBingqingDesc() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
|
|
|
|
if (medical == 1) {
|
|
if (medical == 1) {
|
|
bingqingDesc += "已确诊、";
|
|
bingqingDesc += "已确诊、";
|
|
@@ -230,6 +299,9 @@ public class ExcelRiBaoPrivate {
|
|
private String scoreRezultStr;
|
|
private String scoreRezultStr;
|
|
|
|
|
|
public String getScoreRezultStr() {
|
|
public String getScoreRezultStr() {
|
|
|
|
+ if (reportStatus == 0) {
|
|
|
|
+ return "未填报";
|
|
|
|
+ }
|
|
if (scoreRezult == 0) {
|
|
if (scoreRezult == 0) {
|
|
scoreRezultStr = "未评估";
|
|
scoreRezultStr = "未评估";
|
|
} else if (scoreRezult == 1) {
|
|
} else if (scoreRezult == 1) {
|