燕山石化溯源三维电子沙盘-【后端】-服务
13693261870
2023-06-05 aaa42c070d59c46ff0ed42a1d2748df6dd6a06d7
src/main/java/com/yssh/service/impl/CommonServiceImpl.java
@@ -10,6 +10,8 @@
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;
@@ -25,8 +27,8 @@
@Service
public class CommonServiceImpl implements ICommonService {
   protected final Logger logger = LoggerFactory.getLogger(this.getClass());
   protected final Log logger = LogFactory.getLog(this.getClass());
   private static final String TABLE_SCHEMA = "yssh";
   
@@ -74,8 +76,10 @@
         try {
            z = new Double(Math.round(Integer.parseInt(f2d[2]) * 1.0/10)).intValue();
         } catch (Exception e) {
            System.out.println(e.getStackTrace());
         }
            if (x <= 699 && y <= 699) {
            //if (x <= 699 && y <= 699)
         {
               MonitorPointPosition monitorPointPosition = new MonitorPointPosition();
               monitorPointPosition.setId(x + "_" + y + "_" + z);
                monitorPointPosition.setName("AI-" + (count2d < 10 ? "0" + count2d : count2d + ""));
@@ -103,8 +107,10 @@
         try {
            z = new Double(Math.round(Integer.parseInt(f3d[2]) * 1.0/10)).intValue();
         } catch (Exception e) {
            System.out.println(e.getStackTrace());
         }
            if (x <= 699 && y <= 699) {
         if (count3d > 46) break;
         { //if (x <= 699 && y <= 699) {
                MonitorPointPosition monitorPointPosition = new MonitorPointPosition();
                monitorPointPosition.setId(x + "_" + y + "_" + z);
                 monitorPointPosition.setName("AI-" + (count3d < 10 ? "0" + count3d : count3d + ""));