Commit f811279e authored by fangxinjiang's avatar fangxinjiang

菜单接口调整

parent 669ce9dd
......@@ -26,6 +26,7 @@ import com.yifu.cloud.plus.v1.yifu.admin.api.dto.SysLogDTO;
import com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysLog;
import com.yifu.cloud.plus.v1.yifu.admin.mapper.SysLogMapper;
import com.yifu.cloud.plus.v1.yifu.admin.service.SysLogService;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import org.springframework.stereotype.Service;
import java.util.List;
......@@ -73,6 +74,7 @@ public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> impleme
wrapper.ge(SysLog::getCreateTime, sysLog.getCreateTime()[0]).le(SysLog::getCreateTime,
sysLog.getCreateTime()[1]);
}
wrapper.orderByDesc(BaseEntity::getCreateTime);
return wrapper;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment