src/main/java/com/zy/asrs/entity/WrkMastSta.java
@@ -122,7 +122,7 @@ this.wrkStart = wrkMast.getSourceStaNo(); this.wrkEnd = wrkMast.getStaNo(); this.staStart = basDevp.getDevNo(); this.staEnd = wrkMast.getStaNo(); this.staEnd = getStaEnd(wrkMast.getStaNo()); this.createTime = now; this.updateTime = now; this.wrkSts = 0; @@ -180,5 +180,18 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.bignTime); } public Integer getStaEnd(Integer souSta){ switch (souSta){ case 100: case 103: case 106: case 109: case 112: case 115: return souSta+1; default:return souSta; } } }