自动化立体仓库 - WCS系统
#
yxFwq
2024-11-28 519ae5fe0eeef687ec5926c7eab777c387cbe498
src/main/java/com/zy/asrs/task/handler/StaEscalationHandler.java
@@ -5,6 +5,7 @@
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.core.common.Cools;
import com.core.exception.CoolException;
import com.zy.asrs.domain.enums.LedErrorAreaType;
import com.zy.asrs.entity.BasDevp;
import com.zy.asrs.entity.WrkDetl;
import com.zy.asrs.entity.WrkMast;
@@ -12,6 +13,7 @@
import com.zy.asrs.task.AbstractHandler;
import com.zy.asrs.task.core.ReturnT;
import com.zy.asrs.task.escalationParam.StaEscalationParam;
import com.zy.asrs.utils.LedErrorThreadUtil;
import com.zy.common.utils.HttpHandler;
import com.zy.core.cache.SlaveConnection;
import com.zy.core.enums.SlaveType;
@@ -103,12 +105,14 @@
                        basDevp.setReportSign(1);
                        basDevpService.updateById(basDevp);
                        return SUCCESS;
                    }else {
                        log.error("2楼翻转倒料信息上传失败");
                    } else {
                        LedErrorThreadUtil.ledErrorThread("翻转上报erp失败!站点号:"+staNo,4, LedErrorAreaType.ONE_OTHER.getDesc());
                        log.error("2楼翻转倒料信息上传失败!站点号:"+staNo);
                    }
                }
            }
        }catch (Exception e){
            LedErrorThreadUtil.ledErrorThread("翻转上传异常!站点号:"+staNo,4, LedErrorAreaType.ONE_OTHER.getDesc());
            log.error("异常4!!!"+e);
            return FAIL;
        }