| | |
| | | package com.zy.asrs.task; |
| | | |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.core.common.Cools; |
| | | import com.zy.asrs.entity.RgvOneSign; |
| | | import com.zy.asrs.mapper.RgvOneSignMapper; |
| | | import com.zy.asrs.task.core.ReturnT; |
| | | import com.zy.asrs.task.handler.ScaleEscalationHandler; |
| | | import com.zy.asrs.task.handler.StaEscalationHandler; |
| | |
| | | } |
| | | } |
| | | |
| | | @Scheduled(cron = "0/3 * * * * ? ") |
| | | private void executeOverturn(){//2楼翻转倒料后回库标记清除 |
| | | int[] staNos =new int[]{126,131,310,312}; |
| | | for (int staNo : staNos){ |
| | | try{ |
| | | ReturnT<String> result = scaleEscalationHandler.start2(staNo); |
| | | if (result.getCode()==200){ |
| | | break; |
| | | } |
| | | }catch (Exception e){ |
| | | log.error("站点"+staNo+"2楼翻转倒料信息上传处理失败,异常信息:"+e); |
| | | } |
| | | } |
| | | } |
| | | |
| | | } |