|
|
|
@ -471,14 +471,15 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
|
throw new BadRequestException("Partner not exists");
|
|
|
|
|
}
|
|
|
|
|
JSONObject couponAccuessLog = new JSONObject();
|
|
|
|
|
Date date = new Date();
|
|
|
|
|
couponAccuessLog.put("client_id", client_id);
|
|
|
|
|
couponAccuessLog.put("order_id", "非平台订单");
|
|
|
|
|
couponAccuessLog.put("coupon_id", coupon_id);
|
|
|
|
|
couponAccuessLog.put("customer_openid", "非平台订单");
|
|
|
|
|
couponAccuessLog.put("coupon_deal_amount", 0);
|
|
|
|
|
couponAccuessLog.put("currency", "AUD");
|
|
|
|
|
couponAccuessLog.put("creation_date", new Date());
|
|
|
|
|
couponAccuessLog.put("last_update_date", new Date());
|
|
|
|
|
couponAccuessLog.put("creation_date", date);
|
|
|
|
|
couponAccuessLog.put("last_update_date", date);
|
|
|
|
|
couponAccuessLog.put("is_valid", 1);
|
|
|
|
|
couponAccuessLogMapper.save(couponAccuessLog);
|
|
|
|
|
}
|
|
|
|
|