mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
配置充电停车优惠
This commit is contained in:
@@ -11,7 +11,6 @@ import com.jsowell.common.exception.BusinessException;
|
||||
import com.jsowell.common.util.DateUtils;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
import com.jsowell.common.util.sign.MD5Util;
|
||||
import com.jsowell.pile.domain.CarCouponRecord;
|
||||
import com.jsowell.pile.domain.OrderBasicInfo;
|
||||
import com.jsowell.pile.domain.ThirdpartyParkingConfig;
|
||||
import com.jsowell.pile.dto.lutongyunting.BindCouponDTO;
|
||||
@@ -26,7 +25,8 @@ import org.springframework.stereotype.Service;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.URLEncoder;
|
||||
import java.util.*;
|
||||
import java.util.Locale;
|
||||
import java.util.TreeMap;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
@@ -144,14 +144,14 @@ public class LTYTServiceImpl implements LTYTService {
|
||||
String msg = resultJson.getString("msg");
|
||||
|
||||
// 将下发优惠券信息存入表
|
||||
CarCouponRecord carCouponRecord = new CarCouponRecord();
|
||||
carCouponRecord.setOrderCode(orderBasicInfo.getOrderCode());
|
||||
carCouponRecord.setReturnCode(String.valueOf(resultJson.get("code")));
|
||||
carCouponRecord.setReturnMsg(msg);
|
||||
carCouponRecord.setPlateNumber(dto.getPlateNumber());
|
||||
carCouponRecord.setStationId(Long.parseLong(orderBasicInfo.getStationId()));
|
||||
|
||||
carCouponRecordService.insertCarCouponRecord(carCouponRecord);
|
||||
// CarCouponRecord carCouponRecord = new CarCouponRecord();
|
||||
// carCouponRecord.setOrderCode(orderBasicInfo.getOrderCode());
|
||||
// carCouponRecord.setReturnCode(String.valueOf(resultJson.get("code")));
|
||||
// carCouponRecord.setReturnMsg(msg);
|
||||
// carCouponRecord.setPlateNumber(dto.getPlateNumber());
|
||||
// carCouponRecord.setStationId(Long.parseLong(orderBasicInfo.getStationId()));
|
||||
//
|
||||
// carCouponRecordService.insertCarCouponRecord(carCouponRecord);
|
||||
|
||||
return msg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user