新增 宁夏交投Controller

This commit is contained in:
Lemon
2023-11-15 10:08:30 +08:00
parent d58a8c8c7f
commit 501e1b6348
7 changed files with 264 additions and 7 deletions

View File

@@ -10,6 +10,7 @@ import com.jsowell.pile.dto.ningxiajiaotou.NXJTQueryOrdersInfoDTO;
import com.jsowell.pile.service.*;
import com.jsowell.pile.vo.base.ConnectorInfoVO;
import com.jsowell.pile.vo.ningxiajiaotou.NXJTOrderVO;
import com.jsowell.pile.vo.ningxiajiaotou.NXJTStationInfoVO;
import com.jsowell.pile.vo.uniapp.OrderVO;
import com.jsowell.thirdparty.lianlian.dto.CommonParamsDTO;
import com.jsowell.thirdparty.lianlian.service.LianLianService;
@@ -97,8 +98,8 @@ public class NXJTServiceImpl implements NXJTService {
}
// 分页
PageUtils.startPage(pageNo, pageSize);
List<PileStationInfo> stationInfos = pileStationInfoService.NXJTQueryStationsInfo(dto);
PageInfo<PileStationInfo> pageInfo = new PageInfo<>(stationInfos);
List<NXJTStationInfoVO> stationInfos = pileStationInfoService.NXJTQueryStationsInfo(dto);
PageInfo<NXJTStationInfoVO> pageInfo = new PageInfo<>(stationInfos);
Map<String, Object> map = new LinkedHashMap<>();
map.put("pageNo", pageInfo.getPageNum());
@@ -195,7 +196,7 @@ public class NXJTServiceImpl implements NXJTService {
vo = new NXJTOrderVO();
vo.setLicensePlateNumber(orderVO.getLicensePlateNumber());
vo.setOrderAmount(orderVO.getOrderAmount());
vo.setChargeTime(orderVO.getChargingTime());
vo.setChargeTime(orderVO.getStartTime());
vo.setStationName(orderVO.getStationName());
vo.setLicensePlateNumberColor(1);
@@ -232,5 +233,6 @@ public class NXJTServiceImpl implements NXJTService {
// 由于调用的查询方法、拼装的参数均相同,因此直接调用上面方法
// 两个方法仅入参不同
return queryOrdersInfoByPlateNumber(dto);
// return null;
}
}