...
This commit is contained in:
parent
c1cd6de9e3
commit
33c2b30a60
|
@ -394,7 +394,6 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
switch (Constant.ProjectPlace.getByFlag(projectPlace)) {
|
||||
case TSINGTAO:
|
||||
case BAOTOU: { // 包头、青岛
|
||||
logger.info("包头、青岛");
|
||||
resultPage = common(resultPage, selectDTOPageSpecilTotal, resourceDTO, orderField, orderType, pageNum, pageSize);
|
||||
}
|
||||
break;
|
||||
|
@ -458,7 +457,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
if (resourceDTO.getInfoList().isEmpty()) {
|
||||
List<ResourceDTO> resourceDTOS;
|
||||
if (orderField.equals("total")) { // 对总体评价特殊处理
|
||||
List<Long> ids = new ArrayList<>();
|
||||
List<Long> ids = new CopyOnWriteArrayList<>();
|
||||
switch (orderType.toUpperCase()) {
|
||||
case "DESC": // total 倒序
|
||||
ids = selectDTOPageSpecilTotal.parallelStream().map(Map.class::cast).sorted(Comparator.comparing(x -> {
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
LEFT JOIN sys_dept sd ON tdr.dept_id = sd.id
|
||||
WHERE 1 = 1
|
||||
AND tdr.del_flag = 0
|
||||
<if test="dto.type != '赋能案例'">
|
||||
<if test="dto.type != null and dto.type != '赋能案例'">
|
||||
AND tdr.type != '赋能案例'
|
||||
</if>
|
||||
<if test="dto.type != null and dto.type != ''">
|
||||
|
|
Loading…
Reference in New Issue