|
@@ -115,23 +115,17 @@ public class TPssrOverhaulValveController extends BaseController {
|
|
String cellValue = ExcelUtils.getCellValue(cell);
|
|
String cellValue = ExcelUtils.getCellValue(cell);
|
|
logger.info("cellValue:" + cellValue);
|
|
logger.info("cellValue:" + cellValue);
|
|
if (j == 0) {
|
|
if (j == 0) {
|
|
- entity.setChangeType(cellValue);
|
|
|
|
- } else if (j == 1) {
|
|
|
|
- entity.setItem(cellValue);
|
|
|
|
- } else if (j == 2) {
|
|
|
|
- entity.setPlant(cellValue);
|
|
|
|
- } else if (j == 3) {
|
|
|
|
entity.setValvePosition(cellValue);
|
|
entity.setValvePosition(cellValue);
|
|
- } else if (j == 4) {
|
|
|
|
|
|
+ } else if (j == 1) {
|
|
entity.setType(cellValue);
|
|
entity.setType(cellValue);
|
|
- } else if (j == 5) {
|
|
|
|
|
|
+ } else if (j == 2) {
|
|
entity.setPipeSize(cellValue);
|
|
entity.setPipeSize(cellValue);
|
|
- } else if (j == 6) {
|
|
|
|
|
|
+ } else if (j == 3) {
|
|
entity.setValveClass(cellValue);
|
|
entity.setValveClass(cellValue);
|
|
- } else if (j == 7) {
|
|
|
|
|
|
+ } else if (j == 4) {
|
|
entity.setPidNo(cellValue);
|
|
entity.setPidNo(cellValue);
|
|
- } else if (j == 8) {
|
|
|
|
- entity.setRemarks(cellValue);
|
|
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setChangeType(cellValue);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
entity.setCreaterCode(userId.toString());
|
|
entity.setCreaterCode(userId.toString());
|