mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
修改接口文档,申请开票接口
This commit is contained in:
@@ -190,4 +190,6 @@ public interface OrderBasicInfoMapper {
|
||||
List<PersonPileConnectorSumInfoVO> getAccumulativeInfo(QueryPersonPileDTO dto);
|
||||
|
||||
List<OrderBasicInfo> getAppointmentOrder(LocalDateTime dateTime);
|
||||
|
||||
List<OrderVO> getListByOrderCodes(@Param("orderCodes") List<String> orderCodes);
|
||||
}
|
||||
|
||||
@@ -200,6 +200,8 @@ public interface IOrderBasicInfoService {
|
||||
*/
|
||||
void closeStartFailedOrder(String startTime, String endTime);
|
||||
|
||||
List<OrderVO> getListByOrderCodes(List<String> orderCodes);
|
||||
|
||||
/**
|
||||
* 个人桩查询充电数据
|
||||
* @param dto
|
||||
|
||||
@@ -1197,6 +1197,11 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
return orderBasicInfoMapper.getListByMemberIdAndOrderStatus(memberId, orderStatusList, dateTime);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<OrderVO> getListByOrderCodes(List<String> orderCodes) {
|
||||
return orderBasicInfoMapper.getListByOrderCodes(orderCodes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 个人桩查询充电数据
|
||||
*
|
||||
|
||||
@@ -895,4 +895,31 @@
|
||||
and order_status = '0'
|
||||
and appointment_time <![CDATA[ <= ]]> #{dateTime,jdbcType=TIMESTAMP}
|
||||
</select>
|
||||
|
||||
<select id="getListByOrderCodes" resultType="com.jsowell.pile.vo.uniapp.OrderVO">
|
||||
SELECT
|
||||
t1.order_code as orderCode,
|
||||
t1.order_status as orderStatus,
|
||||
t1.reason,
|
||||
t1.station_id,
|
||||
t3.station_name as stationName,
|
||||
t1.pile_sn as pileSn,
|
||||
t1.connector_code as connectorCode,
|
||||
t1.pay_status as payStatus,
|
||||
t1.order_amount as orderAmount,
|
||||
t1.pay_amount as payAmount,
|
||||
t2.total_used_electricity as chargingDegree,
|
||||
t1.charge_start_time as startTime,
|
||||
t1.charge_end_time as endTime,
|
||||
t2.total_electricity_amount as totalElectricityAmount,
|
||||
t2.total_service_amount as totalServiceAmount
|
||||
from order_basic_info t1
|
||||
join order_detail t2 on t1.order_code = t2.order_code
|
||||
join pile_station_info t3 on t1.station_id = t3.id
|
||||
where t1.del_flag = '0'
|
||||
and t1.order_code in
|
||||
<foreach collection="orderCodes" item="orderCode" open="(" separator="," close=")">
|
||||
#{orderCode,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user