| | |
| | | } |
| | | |
| | | |
| | | /**判断是否起点系统类型 非标准程序*/ |
| | | Loc loc = null; |
| | | if (task.getTaskType()>=TaskType.TASK_TYPE_OUT.type) { |
| | | loc = locService.getOne(new LambdaQueryWrapper<Loc>().eq(Loc::getCode, task.getOrgLoc())); |
| | | if (Objects.isNull(loc)) { |
| | | throw new CoolException("源库位不存在!!"); |
| | | } |
| | | } |
| | | |
| | | if (!Objects.isNull(loc)) { |
| | | taskParams.setSign(LocStsWcsOrOtherType.getApiType(loc.getAreaId$())); |
| | | } else { |
| | | taskParams.setSign(LocStsWcsOrOtherType.LOC_STS_TYPE_RCS.type); |
| | | } |
| | | |
| | | |
| | | /**判断是否光电站点,非光店站点需管控站点状态*/ |
| | | if (!Objects.isNull(station) && station.getType().equals(StationTypeEnum.STATION_TYPE_NORMAL.type)) { |
| | | if (task.getTaskType() <= TaskType.TASK_TYPE_CHECK_IN.type && !task.getTaskType().equals(TaskType.TASK_TYPE_LOC_MOVE.type)) { |