|
@@ -115,21 +115,17 @@ public class TPssrOverhaulFilterController 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.setPlant(cellValue);
|
|
|
|
- } else if (j == 1) {
|
|
|
|
entity.setUnit(cellValue);
|
|
entity.setUnit(cellValue);
|
|
- } else if (j == 2) {
|
|
|
|
|
|
+ } else if (j == 1) {
|
|
entity.setStrainerLocation(cellValue);
|
|
entity.setStrainerLocation(cellValue);
|
|
- } else if (j == 3) {
|
|
|
|
|
|
+ } else if (j == 2) {
|
|
entity.setPidNo(cellValue);
|
|
entity.setPidNo(cellValue);
|
|
- } else if (j == 4) {
|
|
|
|
|
|
+ } else if (j == 3) {
|
|
entity.setIsoDwgNo(cellValue);
|
|
entity.setIsoDwgNo(cellValue);
|
|
- } else if (j == 5) {
|
|
|
|
|
|
+ } else if (j == 4) {
|
|
entity.setFlangeSize(cellValue);
|
|
entity.setFlangeSize(cellValue);
|
|
- } else if (j == 6) {
|
|
|
|
- entity.setQtyNum(cellValue);
|
|
|
|
- } else if (j == 7) {
|
|
|
|
- entity.setRemarks(cellValue);
|
|
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setChangeClean(cellValue);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
entity.setCreaterCode(userId.toString());
|
|
entity.setCreaterCode(userId.toString());
|
|
@@ -146,7 +142,7 @@ public class TPssrOverhaulFilterController extends BaseController {
|
|
) {
|
|
) {
|
|
failNum++;
|
|
failNum++;
|
|
try {
|
|
try {
|
|
- tPssrOverhaulFilterService.insertTPssrOverhaulFilter(t);
|
|
|
|
|
|
+ this.add(t);
|
|
successNumber++;
|
|
successNumber++;
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
failNumber++;
|
|
failNumber++;
|