| | |
| | | package com.yssh.service.impl; |
| | | |
| | | |
| | | import java.io.BufferedInputStream; |
| | | import java.io.BufferedReader; |
| | | import java.io.File; |
| | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import org.apache.commons.logging.Log; |
| | | import org.apache.commons.logging.LogFactory; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.yssh.config.CsvFilePathConfig; |
| | |
| | | import com.yssh.utils.CalculateUtils; |
| | | import com.yssh.utils.StringUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | @Service |
| | | public class CommonServiceImpl implements ICommonService { |
| | | |
| | | protected final Log logger = LogFactory.getLog(this.getClass()); |
| | | protected final Logger logger = LoggerFactory.getLogger(this.getClass()); |
| | | |
| | | private static final String TABLE_SCHEMA = "yssh"; |
| | | |
| | | private List<MonitorPointPosition> checkPoints2d = new ArrayList<MonitorPointPosition>(); |
| | | private List<MonitorPointPosition> checkPoints3d = new ArrayList<MonitorPointPosition>(); |
| | | private List<MonitorPointPosition> checkPoints2d = new ArrayList<>(); |
| | | |
| | | private List<MonitorPointPosition> checkPoints3d = new ArrayList<>(); |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private CommonMapper commonMapper; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | protected DatFilePathConfig datFilePathConfig; |
| | | |
| | | @Autowired |
| | | private CsvFilePathConfig csvFilePathConfig; |
| | | |
| | | |
| | | /** |
| | | * 检查表是否存在 |
| | | */ |