金豆商城bug
This commit is contained in:
@@ -41,7 +41,11 @@ public class UserGoldBeanBillServiceImpl extends ServiceImpl<UserGoldBeanBillMap
|
|||||||
beanBill.setBillType(goldBeanBillType.getBillType());
|
beanBill.setBillType(goldBeanBillType.getBillType());
|
||||||
beanBill.setType(goldBeanBillType.getType());
|
beanBill.setType(goldBeanBillType.getType());
|
||||||
beanBill.setTaskType(taskType);
|
beanBill.setTaskType(taskType);
|
||||||
beanBill.setStandardValue(standardValue.intValue());
|
if (standardValue != null) {
|
||||||
|
beanBill.setStandardValue(standardValue.intValue());
|
||||||
|
} else {
|
||||||
|
beanBill.setStandardValue(0);
|
||||||
|
}
|
||||||
beanBill.setReachNum(reachNum);
|
beanBill.setReachNum(reachNum);
|
||||||
beanBill.setTodayDate(todayDate);
|
beanBill.setTodayDate(todayDate);
|
||||||
beanBill.setUid(uid);
|
beanBill.setUid(uid);
|
||||||
|
@@ -96,7 +96,7 @@ public class UserGoldBeanServiceImpl extends ServiceImpl<UserGoldBeanMapper, Use
|
|||||||
return userGoldBean;
|
return userGoldBean;
|
||||||
});
|
});
|
||||||
|
|
||||||
userGoldBeanBillService.insertBill(uid, goldBeanBillType, goldBean, objId, after, num, null, null, null,null);
|
userGoldBeanBillService.insertBill(uid, goldBeanBillType, goldBean, objId, after, num, null, null, 1L,null);
|
||||||
return after;
|
return after;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user