微调
This commit is contained in:
@@ -1092,7 +1092,10 @@ public class PqDevServiceImpl extends ServiceImpl<PqDevMapper, PqDev> implements
|
||||
public void visualizeProvinceDev(List<PqDev> pqDevs) {
|
||||
pqDevs.forEach(pqDev -> {
|
||||
pqDev.setDevType(devTypeService.getById(pqDev.getDevType()).getName());
|
||||
pqDev.setManufacturer(dictDataService.getDictDataById(pqDev.getManufacturer()).getName());
|
||||
if(StrUtil.isNotBlank(pqDev.getManufacturer())){
|
||||
pqDev.setManufacturer(dictDataService.getDictDataById(pqDev.getManufacturer()).getName());
|
||||
}
|
||||
|
||||
pqDev.setProtocol(dictDataService.getDictDataById(pqDev.getProtocol()).getName());
|
||||
if (StrUtil.isNotBlank(pqDev.getDelegate())) {
|
||||
pqDev.setDelegate(dictDataService.getDictDataById(pqDev.getDelegate()).getName());
|
||||
|
||||
Reference in New Issue
Block a user