优化代码
This commit is contained in:
parent
de7aa40751
commit
ea2c07cbc2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user