mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-02-27 17:03:42 +08:00
feat: 报表模型列表查询修改,新增分类名称
This commit is contained in:
parent
3addd112a0
commit
b2af1c47aa
4 changed files with 31 additions and 0 deletions
|
@ -20,6 +20,7 @@ import org.springframework.beans.factory.annotation.Value;
|
|||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @ClassName: ReportBgImageServiceImpl
|
||||
|
@ -36,6 +37,13 @@ public class ReportBgImageServiceImpl extends SkyeyeBusinessServiceImpl<ReportBg
|
|||
@Value("${IMAGES_PATH}")
|
||||
private String tPath;
|
||||
|
||||
@Override
|
||||
public List<Map<String, Object>> queryPageDataList(InputObject inputObject) {
|
||||
List<Map<String, Object>> beans = super.queryPageDataList(inputObject);
|
||||
iSysDictDataService.setNameForMap(beans, "typeId", "typeName");
|
||||
return beans;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deletePostpose(BgImage entity) {
|
||||
String basePath = tPath.replace("images", StrUtil.EMPTY);
|
||||
|
|
|
@ -17,6 +17,7 @@ import com.skyeye.dom.service.DomModelService;
|
|||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @ClassName: DomModelServiceImpl
|
||||
|
@ -30,6 +31,13 @@ import java.util.List;
|
|||
@SkyeyeService(name = "DOM模型管理", groupName = "DOM模型管理")
|
||||
public class DomModelServiceImpl extends SkyeyeBusinessServiceImpl<DomModelDao, DomModel> implements DomModelService {
|
||||
|
||||
@Override
|
||||
public List<Map<String, Object>> queryPageDataList(InputObject inputObject) {
|
||||
List<Map<String, Object>> beans = super.queryPageDataList(inputObject);
|
||||
iSysDictDataService.setNameForMap(beans, "typeId", "typeName");
|
||||
return beans;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void queryAllEnabledDomModelList(InputObject inputObject, OutputObject outputObject) {
|
||||
QueryWrapper<DomModel> queryWrapper = new QueryWrapper<>();
|
||||
|
|
|
@ -17,6 +17,7 @@ import com.skyeye.img.service.ReportImgModelService;
|
|||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @ClassName: ReportImgModelServiceImpl
|
||||
|
@ -30,6 +31,13 @@ import java.util.List;
|
|||
@SkyeyeService(name = "图片模型管理", groupName = "图片模型管理")
|
||||
public class ReportImgModelServiceImpl extends SkyeyeBusinessServiceImpl<ReportImgModelDao, ImgModel> implements ReportImgModelService {
|
||||
|
||||
@Override
|
||||
public List<Map<String, Object>> queryPageDataList(InputObject inputObject) {
|
||||
List<Map<String, Object>> beans = super.queryPageDataList(inputObject);
|
||||
iSysDictDataService.setNameForMap(beans, "typeId", "typeName");
|
||||
return beans;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void queryAllEnabledImgModelList(InputObject inputObject, OutputObject outputObject) {
|
||||
QueryWrapper<ImgModel> queryWrapper = new QueryWrapper<>();
|
||||
|
|
|
@ -50,6 +50,13 @@ public class ReportWordModelServiceImpl extends SkyeyeBusinessServiceImpl<Report
|
|||
@Value("${IMAGES_PATH}")
|
||||
private String tPath;
|
||||
|
||||
@Override
|
||||
public List<Map<String, Object>> queryPageDataList(InputObject inputObject) {
|
||||
List<Map<String, Object>> beans = super.queryPageDataList(inputObject);
|
||||
iSysDictDataService.setNameForMap(beans, "typeId", "typeName");
|
||||
return beans;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writePostpose(WordModel entity, String userId) {
|
||||
super.writePostpose(entity, userId);
|
||||
|
|
Loading…
Reference in a new issue