|
|
@@ -94,20 +94,22 @@ public class TPssrSafetyFlamearresterController extends BaseController {
|
|
|
String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
logger.info("cellValue:" + cellValue);
|
|
|
if (j == 0) {
|
|
|
- entity.setDevNo(cellValue);
|
|
|
+ entity.setUnit(cellValue);
|
|
|
} else if (j == 1) {
|
|
|
- entity.setInstallLocation(cellValue);
|
|
|
+ entity.setDevNo(cellValue);
|
|
|
} else if (j == 2) {
|
|
|
- entity.setUniformFlow(cellValue);
|
|
|
+ entity.setInstallLocation(cellValue);
|
|
|
} else if (j == 3) {
|
|
|
- entity.setCorrosion(cellValue);
|
|
|
+ entity.setUniformFlow(cellValue);
|
|
|
} else if (j == 4) {
|
|
|
- entity.setPutUse(cellValue);
|
|
|
+ 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 == 6) {
|
|
|
+ } else if (j == 7) {
|
|
|
entity.setRemarks(cellValue);
|
|
|
}
|
|
|
}
|