| | |
| | | if (stationS.getType().equals(StationTypeEnum.STATION_TYPE_MUTI.type)) { |
| | | taskParams.setSign(LocStsWcsOrOtherType.LOC_STS_TYPE_WCS.type); |
| | | } else { |
| | | Loc locEnd = locService.getOne(new LambdaQueryWrapper<Loc>().eq(Loc::getCode, task.getTargLoc())); |
| | | if (Objects.isNull(locEnd)) { |
| | | throw new CoolException("源库位不存在!!"); |
| | | } |
| | | String type = LocStsWcsOrOtherType.getApiType(locEnd.getAreaId$()); |
| | | if (type.equals(LocStsWcsOrOtherType.LOC_STS_TYPE_WCS.type)) { |
| | | taskParams.setSignType("2"); |
| | | } |
| | | taskParams.setSign(LocStsWcsOrOtherType.LOC_STS_TYPE_RCS.type); |
| | | } |
| | | } |