mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 01:20:15 +08:00
新增 宁夏交投 相关service方法
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.jsowell.pile.dto.ningxiajiaotou;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 宁夏交投查询订单信息DTO
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2023/11/13 15:51:17
|
||||
*/
|
||||
@Data
|
||||
public class NXJTQueryOrdersInfoDTO {
|
||||
private Integer pageNo;
|
||||
|
||||
private Integer pageSize;
|
||||
|
||||
private String licensePlateNumber;
|
||||
|
||||
private String operatorId;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.jsowell.pile.dto.ningxiajiaotou;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 查询充电站信息DTO
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2023/11/13 13:52:41
|
||||
*/
|
||||
@Data
|
||||
public class NXJTQueryStationInfoDTO {
|
||||
|
||||
private String operatorId;
|
||||
|
||||
private Integer pageNo;
|
||||
|
||||
private Integer pageSize;
|
||||
|
||||
private String stationId;
|
||||
|
||||
}
|
||||
@@ -258,4 +258,11 @@ public interface OrderBasicInfoMapper {
|
||||
List<NROrderInfoVO> getNROrderInfoByOrderCode(@Param("dto") NRQueryOrderDTO dto);
|
||||
|
||||
List<OrderPayDetailVO> queryOrderPayDetail(@Param("startTime") String startTime, @Param("endTime") String endTime);
|
||||
|
||||
/**
|
||||
* 根据车牌号查询订单信息(宁夏交投 用)
|
||||
* @param licensePlateNumber
|
||||
* @return
|
||||
*/
|
||||
List<OrderVO> getOrderInfoByLicensePlateNumber(String licensePlateNumber);
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ package com.jsowell.pile.mapper;
|
||||
import com.jsowell.pile.domain.PileStationInfo;
|
||||
import com.jsowell.pile.dto.QueryStationDTO;
|
||||
import com.jsowell.pile.dto.QueryStationInfoDTO;
|
||||
import com.jsowell.pile.dto.ningxiajiaotou.NXJTQueryStationInfoDTO;
|
||||
import com.jsowell.pile.vo.base.ThirdPartyStationInfoVO;
|
||||
import com.jsowell.pile.vo.web.PileStationVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@@ -106,4 +107,11 @@ public interface PileStationInfoMapper {
|
||||
* @return
|
||||
*/
|
||||
List<PileStationVO> getStationSelectList(@Param("dto") QueryStationDTO dto);
|
||||
|
||||
/**
|
||||
* 宁夏交投查询充电站信息
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
List<PileStationInfo> NXJTQueryStationsInfo(NXJTQueryStationInfoDTO dto);
|
||||
}
|
||||
|
||||
@@ -371,4 +371,11 @@ public interface IOrderBasicInfoService {
|
||||
List<NROrderInfoVO> getNROrderInfos(NRQueryOrderDTO dto);
|
||||
|
||||
List<OrderPayDetailVO> queryOrderPayDetail(String startTime, String endTime);
|
||||
|
||||
/**
|
||||
* 根据车牌号查询订单信息(宁夏交投 用)
|
||||
* @param licensePlateNumber
|
||||
* @return
|
||||
*/
|
||||
List<OrderVO> getOrderInfoByLicensePlateNumber(String licensePlateNumber);
|
||||
}
|
||||
|
||||
@@ -6,10 +6,12 @@ import com.jsowell.pile.dto.FastCreateStationDTO;
|
||||
import com.jsowell.pile.dto.QueryStationDTO;
|
||||
import com.jsowell.pile.dto.QueryStationInfoDTO;
|
||||
import com.jsowell.pile.dto.lutongyunting.BindParkingPlatformDTO;
|
||||
import com.jsowell.pile.dto.ningxiajiaotou.NXJTQueryStationInfoDTO;
|
||||
import com.jsowell.pile.vo.base.ThirdPartyStationInfoVO;
|
||||
import com.jsowell.pile.vo.web.PileStationVO;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 充电站信息Service接口
|
||||
@@ -121,4 +123,11 @@ public interface IPileStationInfoService {
|
||||
* 查询充电站下拉列表
|
||||
*/
|
||||
List<PileStationVO> getStationSelectList(QueryStationDTO dto);
|
||||
|
||||
/**
|
||||
* 宁夏交投查询站点信息
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
List<PileStationInfo> NXJTQueryStationsInfo(NXJTQueryStationInfoDTO dto);
|
||||
}
|
||||
|
||||
@@ -3483,4 +3483,14 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
public List<OrderPayDetailVO> queryOrderPayDetail(String startTime, String endTime) {
|
||||
return orderBasicInfoMapper.queryOrderPayDetail(startTime, endTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据车牌号查询订单信息(宁夏交投 用)
|
||||
* @param licensePlateNumber
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<OrderVO> getOrderInfoByLicensePlateNumber(String licensePlateNumber) {
|
||||
return orderBasicInfoMapper.getOrderInfoByLicensePlateNumber(licensePlateNumber);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ import com.jsowell.pile.dto.FastCreateStationDTO;
|
||||
import com.jsowell.pile.dto.QueryStationDTO;
|
||||
import com.jsowell.pile.dto.QueryStationInfoDTO;
|
||||
import com.jsowell.pile.dto.lutongyunting.BindParkingPlatformDTO;
|
||||
import com.jsowell.pile.dto.ningxiajiaotou.NXJTQueryStationInfoDTO;
|
||||
import com.jsowell.pile.mapper.PileStationInfoMapper;
|
||||
import com.jsowell.pile.service.*;
|
||||
import com.jsowell.pile.vo.base.MerchantInfoVO;
|
||||
@@ -568,5 +569,14 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
||||
return pileStationInfoMapper.getStationSelectList(dto);
|
||||
}
|
||||
|
||||
/**
|
||||
* 宁夏交投查询充电站信息
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<PileStationInfo> NXJTQueryStationsInfo(NXJTQueryStationInfoDTO dto) {
|
||||
return pileStationInfoMapper.NXJTQueryStationsInfo(dto);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1216,4 +1216,18 @@
|
||||
and t1.settle_amount > 0.00
|
||||
and t1.pay_mode = '4'
|
||||
</select>
|
||||
|
||||
<select id="getOrderInfoByLicensePlateNumber" resultType="com.jsowell.pile.vo.uniapp.OrderVO">
|
||||
SELECT
|
||||
t1.charge_start_time AS startTime,
|
||||
t1.station_id AS stationId,
|
||||
t2.station_name AS stationName,
|
||||
t1.order_amount AS orderAmount
|
||||
FROM
|
||||
order_basic_info t1
|
||||
JOIN pile_station_info t2 ON t1.station_id = t2.id
|
||||
AND t1.del_flag = '0'
|
||||
where
|
||||
t1.plate_number = #{licensePlateNumber,jdbcType=VARCHAR}
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -536,4 +536,16 @@
|
||||
and public_flag = '1'
|
||||
and amap_flag = '1'
|
||||
</select>
|
||||
|
||||
<select id="NXJTQueryStationsInfo" resultMap="PileStationInfoResult">
|
||||
SELECT
|
||||
id AS stationId,
|
||||
station_name AS stationName,
|
||||
address,
|
||||
station_lng AS stationLng,
|
||||
station_lat AS stationLat,
|
||||
support_order AS supportOrder
|
||||
FROM
|
||||
pile_station_info
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user