修改获取网络地址逻辑
This commit is contained in:
parent
c3fe34b0b1
commit
98a569b174
|
|
@ -40,7 +40,7 @@ public class NuConfigMaterialPackageServiceImpl extends ServiceImpl<NuConfigMate
|
|||
QueryWrapper<MaterialInfoEntity> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("a.nu_id", materialInfoEntityDto.getNuId());
|
||||
queryWrapper.apply(StringUtils.isNotBlank(materialInfoEntityDto.getWlParamInfo()),"( b.material_name like '%"+materialInfoEntityDto.getWlParamInfo()+"%' or b.material_no like '%"+materialInfoEntityDto.getWlParamInfo()+"%' or b.pinyin like '%"+materialInfoEntityDto.getWlParamInfo()+"%' or b.specification_model like '%"+materialInfoEntityDto.getWlParamInfo()+"%' ) ");
|
||||
|
||||
getOpeMediaAddress();
|
||||
Page<MaterialInfoEntity> page = new Page<>(pageNo, pageSize);
|
||||
IPage<MaterialInfoEntity> pageList = baseMapper.queryPackageList(page, queryWrapper);
|
||||
pageList.getRecords().forEach(info -> {
|
||||
|
|
@ -76,7 +76,7 @@ public class NuConfigMaterialPackageServiceImpl extends ServiceImpl<NuConfigMate
|
|||
queryWrapper.apply(" (a.nu_id IS NULL OR a.nu_id <> '"+materialInfoEntityDto.getNuId()+"') ");
|
||||
queryWrapper.eq("b.del_flag","0");
|
||||
queryWrapper.apply(StringUtils.isNotBlank(materialInfoEntityDto.getWlParamInfo()),"( b.material_name like '%"+materialInfoEntityDto.getWlParamInfo()+"%' or b.material_no like '%"+materialInfoEntityDto.getWlParamInfo()+"%' or b.pinyin like '%"+materialInfoEntityDto.getWlParamInfo()+"%' or b.specification_model like '%"+materialInfoEntityDto.getWlParamInfo()+"%' ) ");
|
||||
|
||||
getOpeMediaAddress();
|
||||
Page<MaterialInfoEntity> page = new Page<>(pageNo, pageSize);
|
||||
IPage<MaterialInfoEntity> pageList = baseMapper.queryWuliaoList(page, queryWrapper);
|
||||
pageList.getRecords().forEach(info -> {
|
||||
|
|
@ -108,7 +108,7 @@ public class NuConfigMaterialPackageServiceImpl extends ServiceImpl<NuConfigMate
|
|||
}
|
||||
|
||||
private String getImageNetUrl(String imageUrl) {
|
||||
getOpeMediaAddress();
|
||||
|
||||
return serverNetUrl + imageUrl;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue