| | |
| | | @Service |
| | | public class MobileServiceImpl implements MobileService { |
| | | |
| | | |
| | | public static final List<Integer> OVER_TORN_STA_NO_LIST = new ArrayList<Integer>() {{ |
| | | add(126);add(131);add(310);add(312); |
| | | }}; |
| | | |
| | | @Autowired |
| | | private MatService matService; |
| | |
| | | wrkMast.setLinkMis("N"); |
| | | wrkMast.setAppeUser(userId); // 操作人员数据 |
| | | wrkMast.setSheetNo("0"); //徐工汉云拆垛标记:0: 初始 1: 未拆 2:已拆 3:已处理可下一步(转历史档) |
| | | if (wrkMast.getStaNo()<118 || wrkMast.getStaNo()>121){ |
| | | wrkMast.setSheetNo("3"); |
| | | if (!OVER_TORN_STA_NO_LIST.contains(staDesc.getStnNo())){ |
| | | wrkMast.setSheetNo("2"); |
| | | } |
| | | wrkMast.setAppeTime(now); |
| | | wrkMast.setModiUser(userId); |