|
|
@ -200,11 +200,11 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
|
List<String> vehicleCodeList = Arrays.stream(schBasePoint.getVehicle_code().split(",")).collect(Collectors.toList()); |
|
|
|
//组盘全部解绑
|
|
|
|
for (String vehicleCode : vehicleCodeList) { |
|
|
|
SchBaseVehiclematerialgroup groupEntity = vehiclematerialgroupService.getOne(new LambdaQueryWrapper<SchBaseVehiclematerialgroup>() |
|
|
|
List<SchBaseVehiclematerialgroup> schBaseVehiclematerialgroupList=vehiclematerialgroupService.list(new LambdaQueryWrapper<SchBaseVehiclematerialgroup>() |
|
|
|
.eq(SchBaseVehiclematerialgroup::getVehicle_code, vehicleCode) |
|
|
|
.eq(SchBaseVehiclematerialgroup::getGroup_bind_material_status, |
|
|
|
GroupBindMaterialStatusEnum.BOUND.getValue())); |
|
|
|
if (ObjectUtil.isNotEmpty(groupEntity)) { |
|
|
|
for(SchBaseVehiclematerialgroup groupEntity:schBaseVehiclematerialgroupList){ |
|
|
|
groupEntity.setGroup_bind_material_status(GroupBindMaterialStatusEnum.UNBOUND.getValue()); |
|
|
|
groupEntity.setUpdate_id(GeneralDefinition.ACS_ID); |
|
|
|
groupEntity.setUpdate_name(GeneralDefinition.ACS_NAME); |
|
|
|