| | |
| | | throw new CoolException(devpNo+"站点不存在"); |
| | | } |
| | | if (pakin) { |
| | | if(station.getAutoing()==null || !station.getAutoing().equals("Y")) { |
| | | throw new CoolException(devpNo+"站点不是自动状态"); |
| | | } |
| | | if(station.getLoading()==null || !station.getLoading().equals("Y")) { |
| | | throw new CoolException(devpNo+"站点无物"); |
| | | } |
| | | // if(station.getAutoing()==null || !station.getAutoing().equals("Y")) { |
| | | // throw new CoolException(devpNo+"站点不是自动状态"); |
| | | // } |
| | | // if(station.getLoading()==null || !station.getLoading().equals("Y")) { |
| | | // throw new CoolException(devpNo+"站点无物"); |
| | | // } |
| | | |
| | | if(station.getWrkNo()!=null && station.getWrkNo()>0 && station.getWrkNo() < 9990) { |
| | | WrkMast wrkMast = wrkMastService.selectById(station.getWrkNo()); |