修改bug
This commit is contained in:
parent
0cda9f462d
commit
d1566ef1ce
@ -12,6 +12,8 @@ public class PaymentActiveDTO implements Serializable {
|
|||||||
private double amount;
|
private double amount;
|
||||||
//可用油品Id
|
//可用油品Id
|
||||||
private Integer oilId;
|
private Integer oilId;
|
||||||
|
//店铺id
|
||||||
|
private Integer storeId;
|
||||||
//会员等级
|
//会员等级
|
||||||
private Integer mtUserLevel;
|
private Integer mtUserLevel;
|
||||||
}
|
}
|
||||||
|
@ -393,8 +393,7 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService {
|
|||||||
@Override
|
@Override
|
||||||
public PaymentActiveVO paymentActive(PaymentActiveDTO paymentActiveDTO) {
|
public PaymentActiveVO paymentActive(PaymentActiveDTO paymentActiveDTO) {
|
||||||
PaymentActiveVO paymentActiveVO = new PaymentActiveVO();
|
PaymentActiveVO paymentActiveVO = new PaymentActiveVO();
|
||||||
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
Integer storeId = paymentActiveDTO.getStoreId();
|
||||||
Integer storeId = nowAccountInfo.getStoreId();
|
|
||||||
double amount = 0.0;
|
double amount = 0.0;
|
||||||
//折扣
|
//折扣
|
||||||
List<ActiveDiscountPayVO> activeDiscountVOList = oilOrderMapper.selectActiveDiscount(storeId,paymentActiveDTO.getAmount());
|
List<ActiveDiscountPayVO> activeDiscountVOList = oilOrderMapper.selectActiveDiscount(storeId,paymentActiveDTO.getAmount());
|
||||||
|
Loading…
Reference in New Issue
Block a user