资金管理
parent
4b3d77b152
commit
959a4a9059
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue