1
3 天以前 df08ca13ad69fd3908bfcd5f39f05f6c4ffb668a
rsf-server/src/main/java/com/vincent/rsf/server/manager/schedules/TaskSchedules.java
@@ -380,6 +380,22 @@
        }
        /**判断是否起点系统类型  非标准程序*/
        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)) {