Przeglądaj źródła

PSSR导入功能修改

wangggziwen 5 miesięcy temu
rodzic
commit
1a9fbe9e62

+ 1 - 17
master/src/main/java/com/ruoyi/project/pssr/controller/TPssrSafetyBleedController.java

@@ -105,25 +105,9 @@ public class TPssrSafetyBleedController extends BaseController {
                     } else if (j == 2) {
                         entity.setDevNo(cellValue);
                     } else if (j == 3) {
-                        entity.setVerify(cellValue);
-                    } else if (j == 4) {
-                        entity.setInValidity(cellValue);
-                    } else if (j == 5) {
                         entity.setInstallLocation(cellValue);
-                    } else if (j == 6) {
-                        entity.setInstallAccuracy(cellValue);
-                    } else if (j == 7) {
-                        entity.setPutUse(cellValue);
-                    } else if (j == 8) {
+                    } else if (j == 4) {
                         entity.setSetPressure(cellValue);
-                    } else if (j == 9) {
-                        entity.setUniformPressure(cellValue);
-                    } else if (j == 10) {
-                        if (cellValue.length() > 3) {
-                            entity.setConfirmationTime(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
-                        }
-                    } else if (j == 11) {
-                        entity.setRemarks(cellValue);
                     }
                 }
                 entity.setCreaterCode(userId.toString());

+ 1 - 17
master/src/main/java/com/ruoyi/project/pssr/controller/TPssrSafetyBreathController.java

@@ -105,25 +105,9 @@ public class TPssrSafetyBreathController extends BaseController {
                     } else if (j == 2) {
                         entity.setDevNo(cellValue);
                     } else if (j == 3) {
-                        entity.setVerify(cellValue);
-                    } else if (j == 4) {
-                        entity.setInValidity(cellValue);
-                    } else if (j == 5) {
                         entity.setInstallLocation(cellValue);
-                    } else if (j == 6) {
-                        entity.setInstallAccuracy(cellValue);
-                    } else if (j == 7) {
-                        entity.setPutUse(cellValue);
-                    } else if (j == 8) {
+                    } else if (j == 4) {
                         entity.setSetPressure(cellValue);
-                    } else if (j == 9) {
-                        entity.setUniformPressure(cellValue);
-                    } else if (j == 10) {
-                        if (cellValue.length() > 3) {
-                            entity.setConfirmationTime(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
-                        }
-                    } else if (j == 11) {
-                        entity.setRemarks(cellValue);
                     }
                 }
                 entity.setCreaterCode(userId.toString());

BIN
master/src/main/resources/static/template/pssr/safetyBleed.xlsx


BIN
master/src/main/resources/static/template/pssr/safetyBreath.xlsx