mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-11 10:49:52 +08:00
bugfix 修复电池充电报告发送信息缺少参数
This commit is contained in:
@@ -263,6 +263,7 @@ batteryChargeReport:
|
|||||||
getTaskIdApi: /api/docking/api/evaluate
|
getTaskIdApi: /api/docking/api/evaluate
|
||||||
apiPrefix: /api/docking/report/
|
apiPrefix: /api/docking/report/
|
||||||
token: MTc0NzcyMjgwMzg0NC1xNmFucG96cHR4aQ==
|
token: MTc0NzcyMjgwMzg0NC1xNmFucG96cHR4aQ==
|
||||||
|
mfrID: mfr8944567890598756
|
||||||
|
|
||||||
# dubbo配置
|
# dubbo配置
|
||||||
dubbo:
|
dubbo:
|
||||||
|
|||||||
@@ -258,6 +258,7 @@ batteryChargeReport:
|
|||||||
getTaskIdApi: /api/docking/api/evaluate
|
getTaskIdApi: /api/docking/api/evaluate
|
||||||
apiPrefix: /api/docking/report/
|
apiPrefix: /api/docking/report/
|
||||||
token: MTc0NzcyMjgwMzg0NC1xNmFucG96cHR4aQ==
|
token: MTc0NzcyMjgwMzg0NC1xNmFucG96cHR4aQ==
|
||||||
|
mfrID: mfr8944567890598756
|
||||||
|
|
||||||
# dubbo配置
|
# dubbo配置
|
||||||
dubbo:
|
dubbo:
|
||||||
|
|||||||
@@ -281,6 +281,7 @@ batteryChargeReport:
|
|||||||
getTaskIdApi: /api/docking/api/evaluate
|
getTaskIdApi: /api/docking/api/evaluate
|
||||||
apiPrefix: /api/docking/report/
|
apiPrefix: /api/docking/report/
|
||||||
token: MTc0NzcyMjgwMzg0NC1xNmFucG96cHR4aQ==
|
token: MTc0NzcyMjgwMzg0NC1xNmFucG96cHR4aQ==
|
||||||
|
mfrID: mfr8944567890598756
|
||||||
|
|
||||||
# dubbo配置
|
# dubbo配置
|
||||||
dubbo:
|
dubbo:
|
||||||
|
|||||||
@@ -256,6 +256,7 @@ batteryChargeReport:
|
|||||||
getTaskIdApi: /api/docking/api/evaluate
|
getTaskIdApi: /api/docking/api/evaluate
|
||||||
apiPrefix: /api/docking/report/
|
apiPrefix: /api/docking/report/
|
||||||
token: MTc0NzcyMjgwMzg0NC1xNmFucG96cHR4aQ==
|
token: MTc0NzcyMjgwMzg0NC1xNmFucG96cHR4aQ==
|
||||||
|
mfrID: mfr8944567890598756
|
||||||
|
|
||||||
# dubbo配置
|
# dubbo配置
|
||||||
dubbo:
|
dubbo:
|
||||||
|
|||||||
@@ -157,6 +157,7 @@ batteryChargeReport:
|
|||||||
getTaskIdApi: /api/docking/api/evaluate
|
getTaskIdApi: /api/docking/api/evaluate
|
||||||
apiPrefix: /api/docking/report/
|
apiPrefix: /api/docking/report/
|
||||||
token: MTc0NzcyMjgwMzg0NC1xNmFucG96cHR4aQ==
|
token: MTc0NzcyMjgwMzg0NC1xNmFucG96cHR4aQ==
|
||||||
|
mfrID: mfr8944567890598756
|
||||||
|
|
||||||
# sms4j
|
# sms4j
|
||||||
sms:
|
sms:
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ public class OrderVO {
|
|||||||
/**
|
/**
|
||||||
* 结算时间
|
* 结算时间
|
||||||
*/
|
*/
|
||||||
private String settlemetTime;
|
private String settlementTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 结算金额(指实际产生的消费,包括本金支付,微信支付等)
|
* 结算金额(指实际产生的消费,包括本金支付,微信支付等)
|
||||||
@@ -156,4 +156,6 @@ public class OrderVO {
|
|||||||
* 会员id
|
* 会员id
|
||||||
*/
|
*/
|
||||||
private String memberId;
|
private String memberId;
|
||||||
|
|
||||||
|
private String phoneNumber;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3245,9 +3245,10 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getChargeOrderInfoByOrderCode" resultType="com.jsowell.pile.vo.uniapp.customer.OrderVO">
|
<select id="getChargeOrderInfoByOrderCode" resultType="com.jsowell.pile.vo.uniapp.customer.OrderVO">
|
||||||
SELECT t1.merchant_id as mercahntId,
|
SELECT t1.merchant_id as merchantId,
|
||||||
t3.organization_code as organizationCode,
|
t3.organization_code as organizationCode,
|
||||||
t1.order_code AS orderCode,
|
t1.order_code AS orderCode,
|
||||||
|
t4.mobile_number as phoneNumber,
|
||||||
t1.transaction_code AS transactionCode,
|
t1.transaction_code AS transactionCode,
|
||||||
t1.order_status AS orderStatus,
|
t1.order_status AS orderStatus,
|
||||||
t1.station_id AS stationId,
|
t1.station_id AS stationId,
|
||||||
@@ -3259,9 +3260,9 @@
|
|||||||
t1.pay_amount AS payAmount,
|
t1.pay_amount AS payAmount,
|
||||||
t1.pay_time AS payTime,
|
t1.pay_time AS payTime,
|
||||||
t1.order_amount AS orderAmount,
|
t1.order_amount AS orderAmount,
|
||||||
t1.plate_number AS plateNumber,
|
t1.plate_number AS licensePlateNumber,
|
||||||
t1.discount_amount AS discountAmount,
|
t1.discount_amount AS discountAmount,
|
||||||
t1.settlement_time as settlemetTime,
|
t1.settlement_time as settlementTime,
|
||||||
t1.settle_amount AS settleAmount,
|
t1.settle_amount AS settleAmount,
|
||||||
t1.create_time as createTime,
|
t1.create_time as createTime,
|
||||||
t1.charge_start_time AS startTime,
|
t1.charge_start_time AS startTime,
|
||||||
@@ -3277,6 +3278,8 @@
|
|||||||
order_detail t2 ON t1.order_code = t2.order_code
|
order_detail t2 ON t1.order_code = t2.order_code
|
||||||
join
|
join
|
||||||
pile_merchant_info t3 on t1.merchant_id = t3.id
|
pile_merchant_info t3 on t1.merchant_id = t3.id
|
||||||
|
join
|
||||||
|
member_basic_info t4 on t1.member_id = t4.id
|
||||||
WHERE t1.del_flag = '0'
|
WHERE t1.del_flag = '0'
|
||||||
AND t1.order_code = #{orderCode,jdbcType=VARCHAR}
|
AND t1.order_code = #{orderCode,jdbcType=VARCHAR}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
@@ -53,6 +53,9 @@ public class BatteryChargeReportService {
|
|||||||
@Value("${batteryChargeReport.token}")
|
@Value("${batteryChargeReport.token}")
|
||||||
private String token;
|
private String token;
|
||||||
|
|
||||||
|
@Value("${batteryChargeReport.mfrID}")
|
||||||
|
private String mfrID;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private RedisCache redisCache;
|
private RedisCache redisCache;
|
||||||
|
|
||||||
@@ -211,7 +214,7 @@ public class BatteryChargeReportService {
|
|||||||
.collect(Collectors.toSet());
|
.collect(Collectors.toSet());
|
||||||
|
|
||||||
BatteryChargeReportData data = BatteryChargeReportData.builder()
|
BatteryChargeReportData data = BatteryChargeReportData.builder()
|
||||||
.mfrID("")
|
.mfrID(mfrID)
|
||||||
.siteName(stationVO.getStationName())
|
.siteName(stationVO.getStationName())
|
||||||
.siteAddress(stationVO.getAddress())
|
.siteAddress(stationVO.getAddress())
|
||||||
.siteLongitude(stationVO.getStationLng())
|
.siteLongitude(stationVO.getStationLng())
|
||||||
@@ -221,7 +224,7 @@ public class BatteryChargeReportService {
|
|||||||
.businessStatus(Constants.ZERO) // 营业状态 0-正常; 1-停运
|
.businessStatus(Constants.ZERO) // 营业状态 0-正常; 1-停运
|
||||||
.sitePileNumber(snList.size()) // 桩数量
|
.sitePileNumber(snList.size()) // 桩数量
|
||||||
.siteGunNumber(pileConnectorInfoVOS.size())
|
.siteGunNumber(pileConnectorInfoVOS.size())
|
||||||
.phone("") // 用户手机号码
|
.phone(orderVO.getPhoneNumber()) // 用户手机号码
|
||||||
.siteCode(stationVO.getId())
|
.siteCode(stationVO.getId())
|
||||||
.pileCode(orderVO.getPileSn())
|
.pileCode(orderVO.getPileSn())
|
||||||
.gunNo(orderVO.getConnectorCode())
|
.gunNo(orderVO.getConnectorCode())
|
||||||
|
|||||||
Reference in New Issue
Block a user