bug修改异形板数2

This commit is contained in:
lym
2024-06-24 10:19:02 +08:00
parent 2c581694ad
commit 51a7144d21
@@ -232,13 +232,15 @@ public class ExcelTypeRealize {
}); });
orderGroupDO.setPlateNum(plateCountByCombination[0].intValue()); orderGroupDO.setPlateNum(plateCountByCombination[0].intValue());
if (orderGroupDO.getName() != null && orderGroupDO.getName().trim().isEmpty()) { if (orderGroupDO.getName() != null && !orderGroupDO.getName().trim().isEmpty()) {
orderGroupDOS.add(orderGroupDO); orderGroupDOS.add(orderGroupDO);
} }
}); });
}); });
orderBodyDO.setPlateNum(Integer.valueOf(plateCountByCabinetName[0].intValue())); orderBodyDO.setPlateNum(Integer.valueOf(plateCountByCabinetName[0].intValue()));
orderBodyDOS.add(orderBodyDO); if (orderBodyDO.getName() != null && !orderBodyDO.getName().trim().isEmpty()) {
orderBodyDOS.add(orderBodyDO);
}
}); });
}); });