提交 30b33a7c authored 作者: 马路路's avatar 马路路

配置中心—配置管理—问卷配置WEB端接口--进行中数据排序-1

上级 55fb4971
...@@ -14,6 +14,8 @@ import com.msl.common.dao.impl.BaseDaoImpl; ...@@ -14,6 +14,8 @@ import com.msl.common.dao.impl.BaseDaoImpl;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
import java.util.Objects;
/** /**
* @author kavin * @author kavin
* Date 2024-10-17 * Date 2024-10-17
...@@ -40,6 +42,10 @@ public class CollectDriverTransportIntentionDaoImpl extends BaseDaoImpl<CollectD ...@@ -40,6 +42,10 @@ public class CollectDriverTransportIntentionDaoImpl extends BaseDaoImpl<CollectD
// 启用状态 // 启用状态
query.eq(CollectDriverTransportIntention::getStatus, query.eq(CollectDriverTransportIntention::getStatus,
CollectDriverTransportIntentionEnum.StatusType.STATUS_ENABLE.getCode()); CollectDriverTransportIntentionEnum.StatusType.STATUS_ENABLE.getCode());
if (Objects.nonNull(param.getCollectType())) {
query.eq(CollectDriverTransportIntention::getCollectType, param.getCollectType());
}
// 按照排序编号降序 // 按照排序编号降序
query.orderByDesc(CollectDriverTransportIntention::getSortNo); query.orderByDesc(CollectDriverTransportIntention::getSortNo);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论