| | |
| | | package com.zy.asrs.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import com.core.common.Cools; |
| | | import com.core.exception.CoolException; |
| | | import com.zy.asrs.entity.BasDevp; |
| | | import com.zy.asrs.mapper.BasDevpMapper; |
| | |
| | | throw new CoolException(devpNo+"站点不存在"); |
| | | } |
| | | if (put) { |
| | | // 小车工作区 |
| | | if (!Cools.isEmpty(station.getFronting()) && station.getFronting().equals("Y")) { |
| | | |
| | | // 常规站点 |
| | | } else { |
| | | if(station.getAutoing()==null || !station.getAutoing().equals("Y")) { |
| | | throw new CoolException(devpNo+"站点不是自动状态"); |
| | | } |
| | |
| | | throw new CoolException(devpNo+"站点不能同时生成两笔入库工作档"); |
| | | } |
| | | } |
| | | |
| | | } |
| | | return station; |
| | | } |
| | | } |