优化代码

This commit is contained in:
刘名喜 2024-12-05 10:10:22 +08:00
parent de7aa40751
commit ea2c07cbc2

View File

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