sonar代码异味修改
This commit is contained in:
parent
5734099add
commit
c100796028
|
|
@ -67,7 +67,7 @@ public class BmProjectLotServiceImpl implements BmProjectLotService {
|
|||
@Transactional
|
||||
public String importBmProjectLot(List<BmProjectLotImport> bmProjectLotImportList) {
|
||||
log.info("BmProjectLotServiceImpl importBmProjectLot 导入开始------");
|
||||
if (StringUtils.isNull(bmProjectLotImportList) || bmProjectLotImportList.size() == 0)
|
||||
if (bmProjectLotImportList.isEmpty())
|
||||
{
|
||||
throw new ServiceException("导入项目管理数据不能为空!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue