打印日志

This commit is contained in:
2023-08-18 16:56:53 +08:00
parent 858a3ea6bf
commit acf5c8bd31
2 changed files with 2 additions and 3 deletions

View File

@@ -29,9 +29,6 @@ import java.util.List;
@RequestMapping("/uniapp/pile") @RequestMapping("/uniapp/pile")
public class PileController extends BaseController { public class PileController extends BaseController {
@Autowired
private YKCPushCommandService ykcPushCommandService;
@Autowired @Autowired
private IPileStationInfoService pileStationInfoService; private IPileStationInfoService pileStationInfoService;

View File

@@ -1,6 +1,7 @@
package com.jsowell.pile.service.impl; package com.jsowell.pile.service.impl;
import cn.hutool.core.util.PageUtil; import cn.hutool.core.util.PageUtil;
import com.alibaba.fastjson2.JSON;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import com.jsowell.common.constant.CacheConstants; import com.jsowell.common.constant.CacheConstants;
import com.jsowell.common.constant.Constants; import com.jsowell.common.constant.Constants;
@@ -381,6 +382,7 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
// 小程序站点列表页只展示对外开放的站点 // 小程序站点列表页只展示对外开放的站点
dto.setPublicFlag(Constants.ONE); dto.setPublicFlag(Constants.ONE);
// 根据前台参数分页 // 根据前台参数分页
log.info("uniApp查询充电站信息并通过经纬度排序dto:{}", JSON.toJSONString(dto));
List<PileStationVO> list = pileStationInfoMapper.queryStationInfos(dto); List<PileStationVO> list = pileStationInfoMapper.queryStationInfos(dto);
List<StationInfoVO> stationVOList = Lists.newArrayList(); List<StationInfoVO> stationVOList = Lists.newArrayList();