Merge remote-tracking branch 'origin/master'

This commit is contained in:
Kelvin 2024-12-05 15:42:07 +08:00
commit efc78860bf

View File

@ -125,7 +125,7 @@ public class BomRouteServiceImpl implements IBomRouteService
mbbProduBom.setBomRouteId(bomRouteId); mbbProduBom.setBomRouteId(bomRouteId);
list.add(mbbProduBom); list.add(mbbProduBom);
} }
if (list.size() > 0) if (!list.isEmpty())
{ {
bomRouteMapper.batchMbbProduBom(list); bomRouteMapper.batchMbbProduBom(list);
} }