src/main/java/com/zy/core/model/protocol/StaProtocol.java
@@ -8,7 +8,7 @@ * Created by vincent on 2020/8/6 */ @Data public class StaProtocol { public class StaProtocol implements Cloneable { // 站点编号 private Integer siteId; @@ -44,7 +44,7 @@ private boolean pakMk = true; // 台车位置 private Integer position; private Short position; public BasDevp toSqlModel(){ BasDevp basDevp = new BasDevp(); @@ -59,5 +59,14 @@ return basDevp; } @Override public StaProtocol clone() { try { return (StaProtocol) super.clone(); } catch (CloneNotSupportedException e) { e.printStackTrace(); } return null; } }