法规清单-点击流程状态跳转
This commit is contained in:
+10
-1
@@ -12798,6 +12798,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
||||
}
|
||||
List<SysDictItem> sysDictItems = this.sysDictItemServiceImpl.selectItemsAll();
|
||||
List<SysCategory> categoryList = sysCategoryService.list();
|
||||
List<DictModel> targetMarketList = sysDictService.queryDictItemsByCode(DicCodeEnum.REGION.getCode());
|
||||
|
||||
LambdaQueryWrapper<LawsInventoryPlatformEO> wrapper = new LambdaQueryWrapper<>();
|
||||
wrapper.eq(LawsInventoryPlatformEO::getLawsInventoryId,lawsInventoryId);
|
||||
@@ -12851,7 +12852,15 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
||||
List<ProjectLibraryBase> libraryBaseList = projectLibraryBaseList.stream()
|
||||
.filter(e -> e.getId().equals(projectLawsInventoryEO.getProjectLibraryId())).collect(Collectors.toList());
|
||||
if(ObjectUtils.isNotEmpty(libraryBaseList)){
|
||||
projectLawsInventoryEO.setProjectName(libraryBaseList.get(0).getProjectNameId());
|
||||
//项目名称
|
||||
List<ProjectLibraryBase> projectLibraryBases = libraryBaseList.stream()
|
||||
.filter(e -> e.getId().equals(projectLawsInventoryEO.getProjectLibraryId())).collect(Collectors.toList());
|
||||
Map<String,Object> paramEn = new HashMap<>();
|
||||
paramEn.put("cut",cut);
|
||||
String targetMarket = projectLibraryBaseService.getMarket(paramEn, targetMarketList, projectLibraryBases.get(0));
|
||||
String projectName = projectLibraryBases.get(0).getPlatformType() + "-" + projectLibraryBases.get(0).getPower()
|
||||
+ "-" + projectLibraryBases.get(0).getProducer() + "-" + targetMarket;
|
||||
projectLawsInventoryEO.setProjectName(projectName);
|
||||
}
|
||||
//流程状态
|
||||
String flowStatus = "";
|
||||
|
||||
Reference in New Issue
Block a user