资金管理

localizer
ljw 2025-10-15 10:32:22 +08:00
parent 4b3d77b152
commit 959a4a9059
2 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@ public class MoneyAccountController {
*/ */
@GetMapping("/paging") @GetMapping("/paging")
public R<PageResult<MoneyAccountResult>> paging(PageParam pageParam, MoneyAccountEntity moneyAccountEntity) { public R<PageResult<MoneyAccountResult>> paging(PageParam pageParam, MoneyAccountEntity moneyAccountEntity) {
moneyAccountEntity.setMoneyType(2);
return R.success(moneyAccountService.paging(pageParam, moneyAccountEntity)); return R.success(moneyAccountService.paging(pageParam, moneyAccountEntity));
} }

View File

@ -34,7 +34,7 @@ public class MoneyAccountService extends ServiceImpl<MoneyAccountMapper, MoneyAc
* *
*/ */
public void add(MoneyAccountEntity moneyAccountEntity) { public void add(MoneyAccountEntity moneyAccountEntity) {
moneyAccountEntity.setUserId(SecurityUtil.currentUserId()); // moneyAccountEntity.setUserId(SecurityUtil.currentUserId());
this.save(moneyAccountEntity); this.save(moneyAccountEntity);
} }