金豆商城bug

This commit is contained in:
2025-09-08 16:35:08 +08:00
parent 22cc5bcd78
commit c055ce34f3
2 changed files with 6 additions and 2 deletions

View File

@@ -41,7 +41,11 @@ public class UserGoldBeanBillServiceImpl extends ServiceImpl<UserGoldBeanBillMap
beanBill.setBillType(goldBeanBillType.getBillType());
beanBill.setType(goldBeanBillType.getType());
beanBill.setTaskType(taskType);
beanBill.setStandardValue(standardValue.intValue());
if (standardValue != null) {
beanBill.setStandardValue(standardValue.intValue());
} else {
beanBill.setStandardValue(0);
}
beanBill.setReachNum(reachNum);
beanBill.setTodayDate(todayDate);
beanBill.setUid(uid);

View File

@@ -96,7 +96,7 @@ public class UserGoldBeanServiceImpl extends ServiceImpl<UserGoldBeanMapper, Use
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;
}