| | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.zy.acs.framework.common.Cools; |
| | | import com.zy.acs.framework.exception.CoolException; |
| | | import com.zy.acs.manager.common.exception.BusinessException; |
| | | import com.zy.acs.manager.manager.controller.result.MissionVo; |
| | | import com.zy.acs.manager.manager.entity.*; |
| | |
| | | Long recentCode = agvDetail.getRecentCode(); |
| | | String currCode = null; |
| | | if (null != recentCode) { |
| | | currCode = codeService.getCacheById(recentCode).getData(); |
| | | Code cacheById = codeService.getCacheById(recentCode); |
| | | if (cacheById != null) { |
| | | currCode = cacheById.getData(); |
| | | } else { |
| | | throw new CoolException(segment.getAgvId() + "小车还在删除的点位中"); |
| | | } |
| | | |
| | | } |
| | | |
| | | // action ------------------------------- |