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