|
@@ -175,7 +175,7 @@ public class SysImgServiceImpl implements ISysImgService {
|
|
|
types.setTypeC("0"); // 图片类型
|
|
types.setTypeC("0"); // 图片类型
|
|
|
if("0".equals(bo.getImgType()) && StringUtils.isNotEmpty(bo.getPositionId())){
|
|
if("0".equals(bo.getImgType()) && StringUtils.isNotEmpty(bo.getPositionId())){
|
|
|
types.setTypeId(bo.getPositionId());
|
|
types.setTypeId(bo.getPositionId());
|
|
|
- types.setTypeC("0"); // 图片类型
|
|
|
|
|
|
|
+ types.setTypeC("6"); // 图片类型
|
|
|
}
|
|
}
|
|
|
imgTypeService.insertByBo(types);
|
|
imgTypeService.insertByBo(types);
|
|
|
}
|
|
}
|
|
@@ -241,6 +241,7 @@ public class SysImgServiceImpl implements ISysImgService {
|
|
|
public List<SysImgVo> selectByList(String positionId) {
|
|
public List<SysImgVo> selectByList(String positionId) {
|
|
|
ImgTypeBo vo = new ImgTypeBo();
|
|
ImgTypeBo vo = new ImgTypeBo();
|
|
|
vo.setTypeId(positionId);
|
|
vo.setTypeId(positionId);
|
|
|
|
|
+ vo.setTypeC("6");
|
|
|
List<ImgTypeVo> imgVo =imgTypeServiceImpl.queryList(vo);
|
|
List<ImgTypeVo> imgVo =imgTypeServiceImpl.queryList(vo);
|
|
|
if(imgVo != null && imgVo.size() > 0){
|
|
if(imgVo != null && imgVo.size() > 0){
|
|
|
List<String> imgIds = imgVo.stream().map(ImgTypeVo:: getImgId).collect(Collectors.toList());
|
|
List<String> imgIds = imgVo.stream().map(ImgTypeVo:: getImgId).collect(Collectors.toList());
|