|
@@ -97,6 +97,10 @@ public class IndicatorServiceImpl extends ServiceImpl<IndicatorMapper, Indicator
|
|
|
public IPage<Indicator> list2(Integer pageNum, Integer pageSize, String id, String indicatorName, String indicatorCode, String binSection, String binStage, String dept, String company) {
|
|
|
Page<Indicator> page = new Page<>(pageNum, pageSize);
|
|
|
IPage<Indicator> list = baseMapper.seleclistPage(page, id, indicatorName, indicatorCode, binSection, binStage, dept, company);
|
|
|
+ List<Indicator> records = list.getRecords();
|
|
|
+ records.stream().forEach(r ->{
|
|
|
+ r.setDeptName(CacheContext.ddNameMap.get(r.getDept()));
|
|
|
+ });
|
|
|
return list;
|
|
|
}
|
|
|
|