Prechádzať zdrojové kódy

凌云集团更改公司

peiguo 5 rokov pred
rodič
commit
2e27afab35

+ 63 - 1
whepi-web/src/main/java/com/bofeng/entity/ExcelRiBaoLYBM4.java

@@ -66,7 +66,9 @@ public class ExcelRiBaoLYBM4 {
     private String linkman;
 
     @ExcelProperty(value = "联系电话", index = 2)
-    private String phone; String safetyNumStr = "";
+    private String phone;
+
+    private String safetyNumStr = "";
 
     public String getSafetyNumStr() {
         if (reportStatus == 0) {
@@ -122,6 +124,23 @@ public class ExcelRiBaoLYBM4 {
     }
 
     private String userName;
+//
+//    @ExcelProperty(value = "性别", index = 10)
+//    private String grenderStr;
+
+//    public String getGrenderStr() {
+//        if (grender == 1) {
+//            grenderStr = "男";
+//        } else if (grender == 2) {
+//            grenderStr = "女";
+//        } else {
+//            grenderStr = "未知";
+//        }
+//        return grenderStr;
+//    }
+
+//    @ExcelProperty(value = "年龄", index = 11)
+//    private String age;
 
 
     private String temperatureStr;
@@ -261,4 +280,47 @@ public class ExcelRiBaoLYBM4 {
         }
         return bingqingDesc;
     }
+
+    private String workLoalDesc = "";
+
+    public String getWorkLoalDesc() {
+        if (workLocal == 1) {
+            workLoalDesc = "武汉";
+        } else if (workLocal == 2) {
+            workLoalDesc = "宜昌";
+        } else if (workLocal == 3) {
+            workLoalDesc = "当阳";
+        }else if (workLocal == 4) {
+            workLoalDesc = workLocalOther;
+        }
+        return workLoalDesc;
+    }
+    private String todayLoalDesc = "";
+
+    public String getTodayLoalDesc() {
+        if (todayLocal == 1) {
+            todayLoalDesc = "武汉";
+        } else if (todayLocal == 2) {
+            todayLoalDesc = "宜昌";
+        } else if (todayLocal == 3) {
+            todayLoalDesc = "当阳";
+        } else if (todayLocal == 4) {
+            todayLoalDesc = todayLocalOther;
+        }
+        return workLoalDesc;
+    }
+
+    private String isTripDesc = "";
+
+    public String getIsTripDesc() {
+        if (isTrip == 1) {
+            isTripDesc = "是";
+        } else if (isTrip == 0) {
+            isTripDesc = "否";
+        }
+        return isTripDesc;
+    }
+
+    private String tripDetDesc = "";
+
 }