添加sort排序
This commit is contained in:
@@ -21,6 +21,8 @@ public class EleEpdPqdListVO implements Serializable {
|
|||||||
|
|
||||||
private String dataTypeName;
|
private String dataTypeName;
|
||||||
|
|
||||||
|
private Integer sort;
|
||||||
|
|
||||||
private List<EleEpdPqd> eleEpdPqdVOS;
|
private List<EleEpdPqd> eleEpdPqdVOS;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ public class CsStatisticalSetPOServiceImpl extends MppServiceImpl<CsStatisticalS
|
|||||||
dictTreeVOS.forEach(temp -> {
|
dictTreeVOS.forEach(temp -> {
|
||||||
EleEpdPqdListVO vo = new EleEpdPqdListVO();
|
EleEpdPqdListVO vo = new EleEpdPqdListVO();
|
||||||
vo.setDataType(temp.getId());
|
vo.setDataType(temp.getId());
|
||||||
|
vo.setSort(temp.getSort());
|
||||||
List<CsStatisticalSetPO> collect2 = result.stream().filter(csStatisticalSetPO -> Objects.equals(csStatisticalSetPO.getStatisicalId(), temp.getId())).collect(Collectors.toList());
|
List<CsStatisticalSetPO> collect2 = result.stream().filter(csStatisticalSetPO -> Objects.equals(csStatisticalSetPO.getStatisicalId(), temp.getId())).collect(Collectors.toList());
|
||||||
List<EleEpdPqd> eleEpdPqds = new ArrayList<>();
|
List<EleEpdPqd> eleEpdPqds = new ArrayList<>();
|
||||||
if (!CollectionUtil.isEmpty(collect2)) {
|
if (!CollectionUtil.isEmpty(collect2)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user