|
|
|
|
@ -380,6 +380,41 @@ public class BaseBarcodesOutServiceImpl extends ServiceImpl<BaseBarcodesOutMappe |
|
|
|
|
return this.baseMapper.getOutEmptyInfo(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 启动或停止越库 |
|
|
|
|
* start 启动越库 |
|
|
|
|
* stop 不启动越库 |
|
|
|
|
* @param status |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public Result<Boolean> handOskipOverWareStatus(String status) { |
|
|
|
|
try { |
|
|
|
|
redisTemplate.opsForValue().set(RedisConstant.redisSkipOverWare,status); |
|
|
|
|
return Result.ok().msg("设置越库成功"); |
|
|
|
|
}catch (Exception e){ |
|
|
|
|
return Result.err().msg("设置越库成功"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 是否启动/或暂停出库 |
|
|
|
|
* stop 停止出库 |
|
|
|
|
* start 启动出库 |
|
|
|
|
* @param status |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public Result<Boolean> handStartStopOutboundStatus(String status) { |
|
|
|
|
try { |
|
|
|
|
redisTemplate.opsForValue().set(RedisConstant.redisStartStopOutbound,status); |
|
|
|
|
return Result.ok().msg("设置启动/停止出库成功"); |
|
|
|
|
}catch (Exception e){ |
|
|
|
|
return Result.err().msg("设置启动/停止出库成功"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 手动下发出库任务-恢复 :暂停 ,已取消是否是作废,不可恢复 ; 2出库中 给堆垛机下发命令成功,更改状态 |
|
|
|
|
|