Explorar o código

PSSR导入功能修改

wangggziwen hai 5 meses
pai
achega
fdecf423cc

+ 0 - 18
master/src/main/java/com/ruoyi/project/pssr/controller/TPssrSafetyBrustController.java

@@ -106,24 +106,6 @@ public class TPssrSafetyBrustController extends BaseController {
                         entity.setSafetyDev(cellValue);
                     } else if (j == 3) {
                         entity.setInstallLocation(cellValue);
-                    } else if (j == 4) {
-                        entity.setInstallAccuracy(cellValue);
-                    } else if (j == 5) {
-                        entity.setRightDirection(cellValue);
-                    } else if (j == 6) {
-                        entity.setPutUse(cellValue);
-                    } else if (j == 7) {
-                        entity.setSetPressure(cellValue);
-                    } else if (j == 8) {
-                        entity.setUniformPressure(cellValue);
-                    } else if (j == 9) {
-                        entity.setIs0kpa(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());

+ 0 - 12
master/src/main/java/com/ruoyi/project/pssr/controller/TPssrSafetyFlamearresterController.java

@@ -104,18 +104,6 @@ public class TPssrSafetyFlamearresterController extends BaseController {
                         entity.setDevNo(cellValue);
                     } else if (j == 2) {
                         entity.setInstallLocation(cellValue);
-                    } else if (j == 3) {
-                        entity.setUniformFlow(cellValue);
-                    } else if (j == 4) {
-                        entity.setCorrosion(cellValue);
-                    } else if (j == 5) {
-                        entity.setPutUse(cellValue);
-                    } else if (j == 6) {
-                        if (cellValue.length() > 3) {
-                            entity.setConfirmationTime(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
-                        }
-                    } else if (j == 7) {
-                        entity.setRemarks(cellValue);
                     }
                 }
                 entity.setCreaterCode(userId.toString());

BIN=BIN
master/src/main/resources/static/template/pssr/safetyBrust.xlsx


BIN=BIN
master/src/main/resources/static/template/pssr/safetyFlamearrester.xlsx