mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 19:29:52 +08:00
update
This commit is contained in:
@@ -96,6 +96,7 @@ public class ConfirmStartChargingRequestHandler extends AbstractHandler{
|
|||||||
startIndex += length;
|
startIndex += length;
|
||||||
length = 8;
|
length = 8;
|
||||||
byte[] cardNumByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
|
byte[] cardNumByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
|
||||||
|
log.info("充电桩主动申请启动充电cardNumByteArr:{}", cardNumByteArr);
|
||||||
String physicsCard = BytesUtil.binary(cardNumByteArr, 16);
|
String physicsCard = BytesUtil.binary(cardNumByteArr, 16);
|
||||||
|
|
||||||
// 输入密码 对用户输入的密码进行16 位MD5 加密,采用小写上传
|
// 输入密码 对用户输入的密码进行16 位MD5 加密,采用小写上传
|
||||||
|
|||||||
@@ -500,7 +500,7 @@ public class TransactionRecordsRequestHandler extends AbstractHandler {
|
|||||||
startIndex += length;
|
startIndex += length;
|
||||||
length = 8;
|
length = 8;
|
||||||
byte[] cardNumByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
|
byte[] cardNumByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
|
||||||
// byte[] logicCardNum = BytesUtil.checkLengthAndBehindAppendZero(cardNumByteArr, 16);
|
log.info("交易记录确认cardNumByteArr:{}", cardNumByteArr);
|
||||||
String logicCard = BytesUtil.binary(cardNumByteArr, 16);
|
String logicCard = BytesUtil.binary(cardNumByteArr, 16);
|
||||||
log.info("桩号:{}, 发送交易记录物理卡号:{}", pileSn, logicCard);
|
log.info("桩号:{}, 发送交易记录物理卡号:{}", pileSn, logicCard);
|
||||||
|
|
||||||
@@ -622,7 +622,7 @@ public class TransactionRecordsRequestHandler extends AbstractHandler {
|
|||||||
AbstractProgramLogic orderLogic = ProgramLogicFactory.getProgramLogic(mode);
|
AbstractProgramLogic orderLogic = ProgramLogicFactory.getProgramLogic(mode);
|
||||||
orderLogic.settleOrder(data, orderBasicInfo);
|
orderLogic.settleOrder(data, orderBasicInfo);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("结算订单发生异常", e);
|
log.error("结算订单发生异常 orderCode:{}", orderBasicInfo.getOrderCode(), e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 异步绑定第三方平台优惠券
|
// 异步绑定第三方平台优惠券
|
||||||
|
|||||||
@@ -374,7 +374,7 @@ public class DelayMerchantProgramLogic extends AbstractProgramLogic {
|
|||||||
OrderDetail orderDetail = returnUpdateOrderDetail(orderBasicInfo, data);
|
OrderDetail orderDetail = returnUpdateOrderDetail(orderBasicInfo, data);
|
||||||
// 计算订单折扣 calculateOrderDiscounts
|
// 计算订单折扣 calculateOrderDiscounts
|
||||||
// calculateOrderDiscounts(orderBasicInfo, orderDetail);
|
// calculateOrderDiscounts(orderBasicInfo, orderDetail);
|
||||||
// calculateOrderDiscountsV2(orderBasicInfo, orderDetail);
|
calculateOrderDiscountsV2(orderBasicInfo, orderDetail);
|
||||||
|
|
||||||
// 更新数据库
|
// 更新数据库
|
||||||
OrderTransactionDTO dto = new OrderTransactionDTO();
|
OrderTransactionDTO dto = new OrderTransactionDTO();
|
||||||
|
|||||||
@@ -389,7 +389,7 @@
|
|||||||
t6.apply_time AS valleyApplyDate
|
t6.apply_time AS valleyApplyDate
|
||||||
FROM
|
FROM
|
||||||
pile_basic_info t1
|
pile_basic_info t1
|
||||||
JOIN pile_billing_template t2 ON t1.station_id = t2.station_id and t2.status = '1'
|
JOIN pile_billing_template t2 ON t1.station_id = t2.station_id and t2.status = '1' and t2.member_flag = '0'
|
||||||
JOIN pile_billing_detail t3 ON t3.template_code = t2.template_code AND t3.time_type = '1'
|
JOIN pile_billing_detail t3 ON t3.template_code = t2.template_code AND t3.time_type = '1'
|
||||||
JOIN pile_billing_detail t4 ON t4.template_code = t2.template_code AND t4.time_type = '2'
|
JOIN pile_billing_detail t4 ON t4.template_code = t2.template_code AND t4.time_type = '2'
|
||||||
JOIN pile_billing_detail t5 ON t5.template_code = t2.template_code AND t5.time_type = '3'
|
JOIN pile_billing_detail t5 ON t5.template_code = t2.template_code AND t5.time_type = '3'
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
// target: `http://localhost:8080`,
|
target: `http://localhost:8080`,
|
||||||
// 更改代理为本地地址
|
// 更改代理为本地地址
|
||||||
// target: `http://192.168.2.6:8080`,
|
// target: `http://192.168.2.6:8080`,
|
||||||
target: `https://api.jsowellcloud.com`,
|
// target: `https://api.jsowellcloud.com`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
["^" + process.env.VUE_APP_BASE_API]: "",
|
["^" + process.env.VUE_APP_BASE_API]: "",
|
||||||
|
|||||||
Reference in New Issue
Block a user