|
@@ -72,19 +72,19 @@ public class SporadicChargeInfoImpl extends BaseServiceImpl<Integer, SporadicCha
|
|
|
SysUser sysUser = sysUserFeignService.queryUserById(userId);
|
|
|
SporadicChargeInfo info = sporadicChargeInfoDao.get(Integer.parseInt(studentPaymentOrder.getMusicGroupId()));
|
|
|
|
|
|
- try {
|
|
|
- if(Objects.isNull(info.getUserId())){
|
|
|
- contractService.transferProduceContract(userId, null);
|
|
|
- }
|
|
|
- } catch (Exception e) {
|
|
|
- logger.error("产品协议生成失败", e);
|
|
|
- }
|
|
|
-
|
|
|
Map<Integer, String> map = new HashMap();
|
|
|
map.put(userId, sysUser.getPhone());
|
|
|
Map<Integer, String> yimei = new HashMap();
|
|
|
map.put(userId, userId.toString());
|
|
|
if (studentPaymentOrder.getStatus() == DealStatusEnum.SUCCESS) {
|
|
|
+ try {
|
|
|
+ if(Objects.isNull(info.getUserId())){
|
|
|
+ contractService.transferProduceContract(userId, null);
|
|
|
+ }
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error("产品协议生成失败", e);
|
|
|
+ }
|
|
|
+
|
|
|
//福袋活动,增加课程余额
|
|
|
if (info.getChargeType().getCode() == 6) {
|
|
|
sysUserCashAccountService.appendCourseBalance(userId, studentPaymentOrder.getActualAmount(), PlatformCashAccountDetailTypeEnum.SPORADIC, "活动");
|