|
@@ -0,0 +1,1253 @@
|
|
|
|
+package com.ruoyi.project.production.controller;
|
|
|
|
+
|
|
|
|
+import com.ruoyi.common.utils.DateUtils;
|
|
|
|
+import com.ruoyi.common.utils.file.ExcelUtils;
|
|
|
|
+import com.ruoyi.framework.web.controller.BaseController;
|
|
|
|
+import com.ruoyi.framework.web.domain.AjaxResult;
|
|
|
|
+import com.ruoyi.project.production.domain.*;
|
|
|
|
+import com.ruoyi.project.production.service.*;
|
|
|
|
+import com.ruoyi.project.system.service.ISysDeptService;
|
|
|
|
+import com.ruoyi.project.system.service.ISysDictTypeService;
|
|
|
|
+import com.ruoyi.project.system.service.ISysUserService;
|
|
|
|
+import org.apache.poi.ss.usermodel.*;
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
+import org.springframework.web.multipart.MultipartFile;
|
|
|
|
+
|
|
|
|
+import java.io.IOException;
|
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
|
+import java.util.ArrayList;
|
|
|
|
+import java.util.List;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * 质量月报Controller
|
|
|
|
+ *
|
|
|
|
+ * @author ruoyi
|
|
|
|
+ * @date 2023-10-27
|
|
|
|
+ */
|
|
|
|
+@RestController
|
|
|
|
+@RequestMapping("/production/quality")
|
|
|
|
+public class TMonthlyQualityReportController extends BaseController
|
|
|
|
+{
|
|
|
|
+ @Autowired
|
|
|
|
+ private ISysUserService userService;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ISysDictTypeService iSysDictTypeService;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ISysDeptService iSysDeptService;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS0501Service tMonthlyQualityReportS0501Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS1301Service tMonthlyQualityReportS1301Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS2002Service tMonthlyQualityReportS2002Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS2005Service tMonthlyQualityReportS2005Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS2007Service tMonthlyQualityReportS2007Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS2011Service tMonthlyQualityReportS2011Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS2400Service tMonthlyQualityReportS2400Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS3004Service tMonthlyQualityReportS3004Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS3009Service tMonthlyQualityReportS3009Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS3010Service tMonthlyQualityReportS3010Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS3011Service tMonthlyQualityReportS3011Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS3012Service tMonthlyQualityReportS3012Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS3022Service tMonthlyQualityReportS3022Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS4012Service tMonthlyQualityReportS4012Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS4013Service tMonthlyQualityReportS4013Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS4501Service tMonthlyQualityReportS4501Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS5001Service tMonthlyQualityReportS5001Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS5003Service tMonthlyQualityReportS5003Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS5010Service tMonthlyQualityReportS5010Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS5012Service tMonthlyQualityReportS5012Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS6101Service tMonthlyQualityReportS6101Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS6107Service tMonthlyQualityReportS6107Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportS6301Service tMonthlyQualityReportS6301Service;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private ITMonthlyQualityReportZ404Service tMonthlyQualityReportZ404Service;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 批量导入质量月报
|
|
|
|
+ */
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('production:quality:add')")
|
|
|
|
+ @PostMapping("/importData")
|
|
|
|
+ public AjaxResult importData(@RequestParam("file") MultipartFile file) throws IOException
|
|
|
|
+ {
|
|
|
|
+ //获取操作人员ID
|
|
|
|
+ Long userId = getUserId();
|
|
|
|
+ Workbook workbook = ExcelUtils.getWorkBook(file);
|
|
|
|
+ Sheet sheet = workbook.getSheetAt(0);
|
|
|
|
+ List<Row> listS0501 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS1301 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS2002 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS2005 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS2007 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS2011 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS2400 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS3004 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS3009 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS3010 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS3011 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS3012 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS3022 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS4012 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS4013 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS4501 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS5001 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS5003 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS5010 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS5012 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS6101 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS6107 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listS6301 = new ArrayList<Row>();
|
|
|
|
+ List<Row> listZ404 = new ArrayList<Row>();
|
|
|
|
+ int rowNum = sheet.getPhysicalNumberOfRows();
|
|
|
|
+ for (int i = 0; i <= rowNum + 100; i++) {
|
|
|
|
+ try {
|
|
|
|
+ Row row = sheet.getRow(i);
|
|
|
|
+ Cell cell = row.getCell(1);
|
|
|
|
+ cell.setCellType(CellType.STRING);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if ("S-0501".equals(cellValue)) {
|
|
|
|
+ listS0501.add(row);
|
|
|
|
+ } else if ("S-2002".equals(cellValue)) {
|
|
|
|
+ listS2002.add(row);
|
|
|
|
+ } else if ("S-2005".equals(cellValue)) {
|
|
|
|
+ listS2005.add(row);
|
|
|
|
+ } else if ("S-2007".equals(cellValue)) {
|
|
|
|
+ listS2007.add(row);
|
|
|
|
+ } else if ("S-2011".equals(cellValue)) {
|
|
|
|
+ listS2011.add(row);
|
|
|
|
+ } else if ("S-2400".equals(cellValue)) {
|
|
|
|
+ listS2400.add(row);
|
|
|
|
+ } else if ("S-3004".equals(cellValue)) {
|
|
|
|
+ listS3004.add(row);
|
|
|
|
+ } else if ("S-3009".equals(cellValue)) {
|
|
|
|
+ listS3009.add(row);
|
|
|
|
+ } else if ("S-3010".equals(cellValue)) {
|
|
|
|
+ listS3010.add(row);
|
|
|
|
+ } else if ("S-3011".equals(cellValue)) {
|
|
|
|
+ listS3011.add(row);
|
|
|
|
+ } else if ("S-3012".equals(cellValue)) {
|
|
|
|
+ listS3012.add(row);
|
|
|
|
+ } else if ("S-3022".equals(cellValue)) {
|
|
|
|
+ listS3022.add(row);
|
|
|
|
+ } else if ("S-4012".equals(cellValue)) {
|
|
|
|
+ listS4012.add(row);
|
|
|
|
+ } else if ("S-4013".equals(cellValue)) {
|
|
|
|
+ listS4013.add(row);
|
|
|
|
+ } else if ("S-5001".equals(cellValue)) {
|
|
|
|
+ listS5001.add(row);
|
|
|
|
+ } else if ("S-5003".equals(cellValue)) {
|
|
|
|
+ listS5003.add(row);
|
|
|
|
+ } else if ("S-5010".equals(cellValue)) {
|
|
|
|
+ listS5010.add(row);
|
|
|
|
+ } else if ("S-5012".equals(cellValue)) {
|
|
|
|
+ listS5012.add(row);
|
|
|
|
+ } else if ("S-6107".equals(cellValue)) {
|
|
|
|
+ listS6107.add(row);
|
|
|
|
+ } else if ("S1301".equals(cellValue)) {
|
|
|
|
+ listS1301.add(row);
|
|
|
|
+ } else if ("S4501".equals(cellValue)) {
|
|
|
|
+ listS4501.add(row);
|
|
|
|
+ } else if ("S6101".equals(cellValue)) {
|
|
|
|
+ listS6101.add(row);
|
|
|
|
+ } else if ("S6301".equals(cellValue)) {
|
|
|
|
+ listS6301.add(row);
|
|
|
|
+ } else if ("Z-404".equals(cellValue)) {
|
|
|
|
+ listZ404.add(row);
|
|
|
|
+ }
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ int successNumber = 0;
|
|
|
|
+ for (Row row : listS0501) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS0501 entity = new TMonthlyQualityReportS0501();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 51) {
|
|
|
|
+ entity.setP(cellValue);
|
|
|
|
+ } else if (j == 52) {
|
|
|
|
+ entity.setI(cellValue);
|
|
|
|
+ } else if (j == 53) {
|
|
|
|
+ entity.setO(cellValue);
|
|
|
|
+ } else if (j == 54) {
|
|
|
|
+ entity.setN(cellValue);
|
|
|
|
+ } else if (j == 55) {
|
|
|
|
+ entity.setA(cellValue);
|
|
|
|
+ } else if (j == 56) {
|
|
|
|
+ entity.setPI(cellValue);
|
|
|
|
+ } else if (j == 81) {
|
|
|
|
+ entity.setDensity2(cellValue);
|
|
|
|
+ } else if (j == 82) {
|
|
|
|
+ entity.setIbp(cellValue);
|
|
|
|
+ } else if (j == 83) {
|
|
|
|
+ entity.setFive(cellValue);
|
|
|
|
+ } else if (j == 84) {
|
|
|
|
+ entity.setTen(cellValue);
|
|
|
|
+ } else if (j == 85) {
|
|
|
|
+ entity.setThrity(cellValue);
|
|
|
|
+ } else if (j == 86) {
|
|
|
|
+ entity.setFifty(cellValue);
|
|
|
|
+ } else if (j == 87) {
|
|
|
|
+ entity.setSeventy(cellValue);
|
|
|
|
+ } else if (j == 88) {
|
|
|
|
+ entity.setNinety(cellValue);
|
|
|
|
+ } else if (j == 89) {
|
|
|
|
+ entity.setNinetyFive(cellValue);
|
|
|
|
+ } else if (j == 90) {
|
|
|
|
+ entity.setFbp(cellValue);
|
|
|
|
+ } else if (j == 92) {
|
|
|
|
+ entity.setTotalSulfur(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS0501Service.insertTMonthlyQualityReportS0501(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS1301) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS1301 entity = new TMonthlyQualityReportS1301();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setNa(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setBenzene(cellValue);
|
|
|
|
+ } else if (j == 6) {
|
|
|
|
+ entity.setToluene(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setEthylbenzene(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setpXylene(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setmXylene(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setoXylene(cellValue);
|
|
|
|
+ } else if (j == 11) {
|
|
|
|
+ entity.setStyrene(cellValue);
|
|
|
|
+ } else if (j == 12) {
|
|
|
|
+ entity.setPhenylacetylene(cellValue);
|
|
|
|
+ } else if (j == 15) {
|
|
|
|
+ entity.setTotalAromatics(cellValue);
|
|
|
|
+ } else if (j == 16) {
|
|
|
|
+ entity.setBrNumber(cellValue);
|
|
|
|
+ } else if (j == 27) {
|
|
|
|
+ entity.setDieneValue(cellValue);
|
|
|
|
+ } else if (j == 28) {
|
|
|
|
+ entity.setTotalNitrogen(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS1301Service.insertTMonthlyQualityReportS1301(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS2002) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS2002 entity = new TMonthlyQualityReportS2002();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setCod(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setPh(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS2002Service.insertTMonthlyQualityReportS2002(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS2005) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS2005 entity = new TMonthlyQualityReportS2005();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setPh(cellValue);
|
|
|
|
+ } else if (j == 13) {
|
|
|
|
+ entity.setOilRatio(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS2005Service.insertTMonthlyQualityReportS2005(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS2007) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS2007 entity = new TMonthlyQualityReportS2007();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setViscosity(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS2007Service.insertTMonthlyQualityReportS2007(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS2011) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS2011 entity = new TMonthlyQualityReportS2011();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setDensity1(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setIbp(cellValue);
|
|
|
|
+ } else if (j == 13) {
|
|
|
|
+ entity.setFbp(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS2011Service.insertTMonthlyQualityReportS2011(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS2400) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS2400 entity = new TMonthlyQualityReportS2400();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setCod(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setPh(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS2400Service.insertTMonthlyQualityReportS2400(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS3004) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS3004 entity = new TMonthlyQualityReportS3004();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setNaOh(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setNa2Co3(cellValue);
|
|
|
|
+ } else if (j == 6) {
|
|
|
|
+ entity.setNa2S(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS3004Service.insertTMonthlyQualityReportS3004(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS3009) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS3009 entity = new TMonthlyQualityReportS3009();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setCarbonMonoxide(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setMethane(cellValue);
|
|
|
|
+ } else if (j == 6) {
|
|
|
|
+ entity.setEthane(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setEthylene(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setPropane(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setCycPropane(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setPropylene(cellValue);
|
|
|
|
+ } else if (j == 11) {
|
|
|
|
+ entity.setPropadiene(cellValue);
|
|
|
|
+ } else if (j == 12) {
|
|
|
|
+ entity.setAcetylene(cellValue);
|
|
|
|
+ } else if (j == 21) {
|
|
|
|
+ entity.setHydrogen(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS3009Service.insertTMonthlyQualityReportS3009(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS3010) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS3010 entity = new TMonthlyQualityReportS3010();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setAcetylene(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setCarbonMonoxide(cellValue);
|
|
|
|
+ } else if (j == 6) {
|
|
|
|
+ entity.setMethane(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setEthane(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setEthylene(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setPropane(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setCycPropane(cellValue);
|
|
|
|
+ } else if (j == 11) {
|
|
|
|
+ entity.setPropylene(cellValue);
|
|
|
|
+ } else if (j == 12) {
|
|
|
|
+ entity.setPropadiene(cellValue);
|
|
|
|
+ } else if (j == 22) {
|
|
|
|
+ entity.setHydrogen(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS3010Service.insertTMonthlyQualityReportS3010(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS3011) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS3011 entity = new TMonthlyQualityReportS3011();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setCarbonMonoxide(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setMethane(cellValue);
|
|
|
|
+ } else if (j == 6) {
|
|
|
|
+ entity.setEthane(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setEthylene(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setPropane(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setCycPropane(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setPropylene(cellValue);
|
|
|
|
+ } else if (j == 11) {
|
|
|
|
+ entity.setPropadiene(cellValue);
|
|
|
|
+ } else if (j == 12) {
|
|
|
|
+ entity.setAcetylene(cellValue);
|
|
|
|
+ } else if (j == 21) {
|
|
|
|
+ entity.setHydrogen(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS3011Service.insertTMonthlyQualityReportS3011(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS3012) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS3012 entity = new TMonthlyQualityReportS3012();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setAcetylene(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setCarbonMonoxide(cellValue);
|
|
|
|
+ } else if (j == 6) {
|
|
|
|
+ entity.setMethane(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setEthane(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setEthylene(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setPropane(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setCycPropane(cellValue);
|
|
|
|
+ } else if (j == 11) {
|
|
|
|
+ entity.setPropylene(cellValue);
|
|
|
|
+ } else if (j == 12) {
|
|
|
|
+ entity.setPropadiene(cellValue);
|
|
|
|
+ } else if (j == 22) {
|
|
|
|
+ entity.setHydrogen(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS3012Service.insertTMonthlyQualityReportS3012(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS3022) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS3022 entity = new TMonthlyQualityReportS3022();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setNaoh(cellValue);
|
|
|
|
+ } else if (j == 6) {
|
|
|
|
+ entity.setNa2co3(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setNa2s(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS3022Service.insertTMonthlyQualityReportS3022(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS4012) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS4012 entity = new TMonthlyQualityReportS4012();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setMethane(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setEthane(cellValue);
|
|
|
|
+ } else if (j == 6) {
|
|
|
|
+ entity.setEthylene(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setPropane(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setPropylene(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS4012Service.insertTMonthlyQualityReportS4012(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS4013) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS4013 entity = new TMonthlyQualityReportS4013();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setEthane(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setMethaneEthane(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setEthylene(cellValue);
|
|
|
|
+ } else if (j == 11) {
|
|
|
|
+ entity.setAcetylene(cellValue);
|
|
|
|
+ } else if (j == 12) {
|
|
|
|
+ entity.setCarbonMonoxide(cellValue);
|
|
|
|
+ } else if (j == 13) {
|
|
|
|
+ entity.setCarbonDioxide(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS4013Service.insertTMonthlyQualityReportS4013(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS4501) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS4501 entity = new TMonthlyQualityReportS4501();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setBenzene(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setToluene(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setEthylbenzene(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setmXylene(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setoXylene(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setpXylene(cellValue);
|
|
|
|
+ } else if (j == 13) {
|
|
|
|
+ entity.setC5Na(cellValue);
|
|
|
|
+ } else if (j == 14) {
|
|
|
|
+ entity.setC6Na(cellValue);
|
|
|
|
+ } else if (j == 15) {
|
|
|
|
+ entity.setC7Na(cellValue);
|
|
|
|
+ } else if (j == 16) {
|
|
|
|
+ entity.setC8Na(cellValue);
|
|
|
|
+ } else if (j == 17) {
|
|
|
|
+ entity.setC9(cellValue);
|
|
|
|
+ } else if (j == 18) {
|
|
|
|
+ entity.setC8A(cellValue);
|
|
|
|
+ } else if (j == 19) {
|
|
|
|
+ entity.setC4C5Na(cellValue);
|
|
|
|
+ } else if (j == 20) {
|
|
|
|
+ entity.setC6C8Na(cellValue);
|
|
|
|
+ } else if (j == 21) {
|
|
|
|
+ entity.setC4C8Na(cellValue);
|
|
|
|
+ } else if (j == 22) {
|
|
|
|
+ entity.setBrIndex(cellValue);
|
|
|
|
+ } else if (j == 24) {
|
|
|
|
+ entity.setTotalSulfur(cellValue);
|
|
|
|
+ } else if (j == 25) {
|
|
|
|
+ entity.setTotalNitrogen(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS4501Service.insertTMonthlyQualityReportS4501(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS5001) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS5001 entity = new TMonthlyQualityReportS5001();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setPropane(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setCycPropane(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setPropylene(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setPropadiene(cellValue);
|
|
|
|
+ } else if (j == 14) {
|
|
|
|
+ entity.setMethylacetylene(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS5001Service.insertTMonthlyQualityReportS5001(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS5003) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS5003 entity = new TMonthlyQualityReportS5003();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setMethane(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setEthane(cellValue);
|
|
|
|
+ } else if (j == 6) {
|
|
|
|
+ entity.setEthylene(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setPropane(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setPropadiene(cellValue);
|
|
|
|
+ } else if (j == 11) {
|
|
|
|
+ entity.setMethylacetylene(cellValue);
|
|
|
|
+ } else if (j == 15) {
|
|
|
|
+ entity.setButeneButadiene(cellValue);
|
|
|
|
+ } else if (j == 16) {
|
|
|
|
+ entity.setPropadieneMethylacetylene(cellValue);
|
|
|
|
+ } else if (j == 17) {
|
|
|
|
+ entity.setTotals(cellValue);
|
|
|
|
+ } else if (j == 18) {
|
|
|
|
+ entity.setParaffine(cellValue);
|
|
|
|
+ } else if (j == 19) {
|
|
|
|
+ entity.setPropylene(cellValue);
|
|
|
|
+ } else if (j == 20) {
|
|
|
|
+ entity.setMethanol(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS5003Service.insertTMonthlyQualityReportS5003(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS5010) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS5010 entity = new TMonthlyQualityReportS5010();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setPropylene(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setPropadiene(cellValue);
|
|
|
|
+ } else if (j == 11) {
|
|
|
|
+ entity.setAcetylene(cellValue);
|
|
|
|
+ } else if (j == 12) {
|
|
|
|
+ entity.setButadiene12(cellValue);
|
|
|
|
+ } else if (j == 13) {
|
|
|
|
+ entity.setButadiene13(cellValue);
|
|
|
|
+ } else if (j == 14) {
|
|
|
|
+ entity.setMethylacetylene(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS5010Service.insertTMonthlyQualityReportS5010(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS5012) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS5012 entity = new TMonthlyQualityReportS5012();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setPropylene(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setPropadiene(cellValue);
|
|
|
|
+ } else if (j == 11) {
|
|
|
|
+ entity.setAcetylene(cellValue);
|
|
|
|
+ } else if (j == 12) {
|
|
|
|
+ entity.setButadiene12(cellValue);
|
|
|
|
+ } else if (j == 13) {
|
|
|
|
+ entity.setButadiene13(cellValue);
|
|
|
|
+ } else if (j == 14) {
|
|
|
|
+ entity.setMethylacetylene(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS5012Service.insertTMonthlyQualityReportS5012(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS6101) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS6101 entity = new TMonthlyQualityReportS6101();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setBenzene(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setToluene(cellValue);
|
|
|
|
+ } else if (j == 6) {
|
|
|
|
+ entity.setDcpd(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setEthylbenzene(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setmXylene(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setoXylene(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setpXylene(cellValue);
|
|
|
|
+ } else if (j == 11) {
|
|
|
|
+ entity.setStyrene(cellValue);
|
|
|
|
+ } else if (j == 13) {
|
|
|
|
+ entity.setC5Na(cellValue);
|
|
|
|
+ } else if (j == 14) {
|
|
|
|
+ entity.setC6Na(cellValue);
|
|
|
|
+ } else if (j == 15) {
|
|
|
|
+ entity.setC7Na(cellValue);
|
|
|
|
+ } else if (j == 16) {
|
|
|
|
+ entity.setC8Na(cellValue);
|
|
|
|
+ } else if (j == 17) {
|
|
|
|
+ entity.setC9(cellValue);
|
|
|
|
+ } else if (j == 18) {
|
|
|
|
+ entity.setC8A(cellValue);
|
|
|
|
+ } else if (j == 19) {
|
|
|
|
+ entity.setC4C5Na(cellValue);
|
|
|
|
+ } else if (j == 20) {
|
|
|
|
+ entity.setC6C8Na(cellValue);
|
|
|
|
+ } else if (j == 21) {
|
|
|
|
+ entity.setC4C8Na(cellValue);
|
|
|
|
+ } else if (j == 22) {
|
|
|
|
+ entity.setDensity1(cellValue);
|
|
|
|
+ } else if (j == 23) {
|
|
|
|
+ entity.setBrNumber(cellValue);
|
|
|
|
+ } else if (j == 35) {
|
|
|
|
+ entity.setTotalSulfur(cellValue);
|
|
|
|
+ } else if (j == 36) {
|
|
|
|
+ entity.setTotalNitrogen(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS6101Service.insertTMonthlyQualityReportS6101(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS6107) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS6107 entity = new TMonthlyQualityReportS6107();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setCod(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setPh(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS6107Service.insertTMonthlyQualityReportS6107(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listS6301) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportS6301 entity = new TMonthlyQualityReportS6301();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setIc5(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setDcpd(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setC5(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setC5ConjugatedDienesDcpd30(cellValue);
|
|
|
|
+ } else if (j == 11) {
|
|
|
|
+ entity.setPentadieneCycc5(cellValue);
|
|
|
|
+ } else if (j == 14) {
|
|
|
|
+ entity.setC5ConjugatedDienesDcpd40(cellValue);
|
|
|
|
+ } else if (j == 17) {
|
|
|
|
+ entity.setTotalSulfur(cellValue);
|
|
|
|
+ } else if (j == 18) {
|
|
|
|
+ entity.setTotalSulfur150(cellValue);
|
|
|
|
+ } else if (j == 19) {
|
|
|
|
+ entity.setSilicon(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportS6301Service.insertTMonthlyQualityReportS6301(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ for (Row row : listZ404) {
|
|
|
|
+ try {
|
|
|
|
+ int cellNum = row.getPhysicalNumberOfCells();
|
|
|
|
+ TMonthlyQualityReportZ404 entity = new TMonthlyQualityReportZ404();
|
|
|
|
+ entity.setDelFlag("0");
|
|
|
|
+ entity.setDeptId(userService.selectUserById(userId).getDeptId());
|
|
|
|
+ entity.setCreateBy(userId.toString());
|
|
|
|
+ for (int j = 0; j < cellNum; j++) {
|
|
|
|
+ Cell cell = row.getCell(j);
|
|
|
|
+ String cellValue = ExcelUtils.getCellValue(cell);
|
|
|
|
+ if (j == 0) {
|
|
|
|
+ entity.setLocationName(cellValue);
|
|
|
|
+ } else if (j == 1) {
|
|
|
|
+ entity.setSamplePoint(cellValue);
|
|
|
|
+ } else if (j == 2) {
|
|
|
|
+ if (cellValue.length() > 3) {
|
|
|
|
+ entity.setSampleDate(new SimpleDateFormat(DateUtils.getDateFormat(cellValue)).parse(cellValue));
|
|
|
|
+ }
|
|
|
|
+ } else if (j == 3) {
|
|
|
|
+ entity.setSampleName(cellValue);
|
|
|
|
+ } else if (j == 4) {
|
|
|
|
+ entity.setMethane(cellValue);
|
|
|
|
+ } else if (j == 5) {
|
|
|
|
+ entity.setEthane(cellValue);
|
|
|
|
+ } else if (j == 6) {
|
|
|
|
+ entity.setEthylene(cellValue);
|
|
|
|
+ } else if (j == 7) {
|
|
|
|
+ entity.setPropane(cellValue);
|
|
|
|
+ } else if (j == 8) {
|
|
|
|
+ entity.setPropylene(cellValue);
|
|
|
|
+ } else if (j == 9) {
|
|
|
|
+ entity.setUnknown(cellValue);
|
|
|
|
+ } else if (j == 10) {
|
|
|
|
+ entity.setHydrogen(cellValue);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ tMonthlyQualityReportZ404Service.insertTMonthlyQualityReportZ404(entity);
|
|
|
|
+ successNumber++;
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ logger.info("e:" + e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ logger.info("successNumber:" +String.valueOf(successNumber));
|
|
|
|
+ return AjaxResult.success(String.valueOf(successNumber));
|
|
|
|
+ }
|
|
|
|
+}
|