|
@@ -161,7 +161,7 @@ public class IncrementOrderServiceImpl extends ServiceImpl<IIncrementOrderMapper
|
|
}
|
|
}
|
|
|
|
|
|
IncrementOrder incrementOrderEntity = new IncrementOrder();
|
|
IncrementOrder incrementOrderEntity = new IncrementOrder();
|
|
- PayGoods payGoods = new PayGoods(incrementType.getName(),param.getCount(),incrementType.getValidTimeType());
|
|
|
|
|
|
+ PayGoods payGoods = new PayGoods(incrementType.getName(),param.getCount(),incrementType.getValidTimeType(),param.getMonthQy());
|
|
PayOrderVo payOrderVo = payService.downOrder(total, "incrementOrder",user.getUserName(),user.getNickName(), Arrays.asList(payGoods));
|
|
PayOrderVo payOrderVo = payService.downOrder(total, "incrementOrder",user.getUserName(),user.getNickName(), Arrays.asList(payGoods));
|
|
if(payOrderVo == null){
|
|
if(payOrderVo == null){
|
|
throw new BusinessException(OrderConstant.FAILURE_CODE_8005,OrderConstant.FAILURE_MSG_8005);
|
|
throw new BusinessException(OrderConstant.FAILURE_CODE_8005,OrderConstant.FAILURE_MSG_8005);
|
|
@@ -178,7 +178,7 @@ public class IncrementOrderServiceImpl extends ServiceImpl<IIncrementOrderMapper
|
|
incrementOrderEntity.setRecStatus("A");
|
|
incrementOrderEntity.setRecStatus("A");
|
|
incrementOrderEntity.setCreateTime(DateUserUtil.getDate(new Date()));
|
|
incrementOrderEntity.setCreateTime(DateUserUtil.getDate(new Date()));
|
|
incrementOrderEntity.setUpdateTime(DateUserUtil.getDate(new Date()));
|
|
incrementOrderEntity.setUpdateTime(DateUserUtil.getDate(new Date()));
|
|
- incrementOrderEntity.setIncrementType(param.getIncrementType());
|
|
|
|
|
|
+ incrementOrderEntity.setIncrementType(incrementType.getId());
|
|
incrementOrderEntity.setMonthQy(param.getMonthQy());
|
|
incrementOrderEntity.setMonthQy(param.getMonthQy());
|
|
incrementOrderEntity.setTimeZoneOff(param.getTimeZoneOff());
|
|
incrementOrderEntity.setTimeZoneOff(param.getTimeZoneOff());
|
|
if(incrementType.getValidTimeType() == 0){
|
|
if(incrementType.getValidTimeType() == 0){
|