经纪人
This commit is contained in:
parent
c15e84529d
commit
94f14dbfb3
|
@ -72,7 +72,7 @@ public class AppUserMoneyController {
|
|||
@GetMapping("/selectMyMoney")
|
||||
@Login
|
||||
@ApiOperation("我的钱包余额")
|
||||
public Result selectMyMoney(@RequestAttribute Long userId) {
|
||||
public Result selectMyMoney(@RequestAttribute Long userId,Integer userType) {
|
||||
UserMoney userMoney = userMoneyService.selectUserMoneyByUserId(userId);
|
||||
UserMoneyResult userMoneyResult = new UserMoneyResult();
|
||||
userMoneyResult.setUserId(userMoney.getUserId());
|
||||
|
@ -91,7 +91,7 @@ public class AppUserMoneyController {
|
|||
period.setStartFundData(periodDate.getStartFundData());
|
||||
// period.setEndFundData(CurrentPeriod);
|
||||
period.setEndFundData(periodDate.getEndFundData());
|
||||
period.setFundType(2);//技师
|
||||
period.setFundType(userType);//2技师 3商家 4经纪人 5分销商 6业务员 7代理
|
||||
List<UserMoneyDetails> filteredPersons = userMoneyDetailsService.selectIncome(period);
|
||||
//进账
|
||||
double incomeLong= filteredPersons.stream()
|
||||
|
|
Loading…
Reference in New Issue