From aa2c3d4deba76ade0958ff3ced88396e226a4964 Mon Sep 17 00:00:00 2001 From: duhuizhe <271000472@qq.com> Date: 星期三, 15 五月 2024 19:57:40 +0800 Subject: [PATCH] 项目启动失败问题解决 --- ecosphere/ecosphere-four-payment/src/main/java/com/nuvole/four/controller/pc/ChannelOrgConfigController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ecosphere/ecosphere-four-payment/src/main/java/com/nuvole/four/controller/pc/ChannelOrgConfigController.java b/ecosphere/ecosphere-four-payment/src/main/java/com/nuvole/four/controller/pc/ChannelOrgConfigController.java index e9fad97..7de501f 100644 --- a/ecosphere/ecosphere-four-payment/src/main/java/com/nuvole/four/controller/pc/ChannelOrgConfigController.java +++ b/ecosphere/ecosphere-four-payment/src/main/java/com/nuvole/four/controller/pc/ChannelOrgConfigController.java @@ -1,5 +1,6 @@ package com.nuvole.four.controller.pc; +import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.nuvole.base.domain.SysUser; import com.nuvole.common.domain.emnu.CommonResultEmnu; @@ -16,7 +17,6 @@ import com.nuvole.util.PageUtils; import io.swagger.annotations.*; import lombok.extern.slf4j.Slf4j; -import org.apache.commons.lang.StringUtils; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; @@ -54,7 +54,7 @@ @ApiParam(name = "sortName", value = "鎺掑簭鍚嶇О") String sortName, @ApiParam(name = "sortOrder", value = "鎺掑簭鏂瑰紡") String sortOrder ) { - if (StringUtils.isNotBlank(sortName) && StringUtils.isNotBlank(sortOrder)) { + if (StrUtil.isNotBlank(sortName) && StrUtil.isNotBlank(sortOrder)) { PageHelper.orderBy(PageUtils.orderParser(sortName, sortOrder)); } -- Gitblit v1.9.1