Commit 913f484c by 吕明尚

日志,充值记录增加当前用户的默认条件

parent e3d95941
...@@ -32,6 +32,8 @@ public class BalanceLogController extends BaseController { ...@@ -32,6 +32,8 @@ public class BalanceLogController extends BaseController {
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(BalanceLogVo balanceLog) { public TableDataInfo list(BalanceLogVo balanceLog) {
startPage(); startPage();
SConsumer user = FrontTokenComponent.getWxSConsumerEntry();
balanceLog.setConsumerId(user.getId());
List<BalanceLogVo> list = balanceLogService.selectBalanceLogList(balanceLog); List<BalanceLogVo> list = balanceLogService.selectBalanceLogList(balanceLog);
return getDataTable(list); return getDataTable(list);
} }
......
...@@ -32,6 +32,8 @@ public class DurationLogController extends BaseController { ...@@ -32,6 +32,8 @@ public class DurationLogController extends BaseController {
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(DurationLogVo durationLog) { public TableDataInfo list(DurationLogVo durationLog) {
startPage(); startPage();
SConsumer user = FrontTokenComponent.getWxSConsumerEntry();
durationLog.setConsumerId(user.getId());
List<DurationLogVo> list = durationLogService.selectDurationLogList(durationLog); List<DurationLogVo> list = durationLogService.selectDurationLogList(durationLog);
return getDataTable(list); return getDataTable(list);
} }
......
...@@ -43,6 +43,8 @@ public class EquityMembersOrderController extends BaseController { ...@@ -43,6 +43,8 @@ public class EquityMembersOrderController extends BaseController {
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(EquityMembersOrderVo equityMembersOrder) { public TableDataInfo list(EquityMembersOrderVo equityMembersOrder) {
startPage(); startPage();
SConsumer user = FrontTokenComponent.getWxSConsumerEntry();
equityMembersOrder.setConsumerId(user.getId());
List<EquityMembersOrderVo> list = equityMembersOrderService.selectEquityMembersOrderList(equityMembersOrder); List<EquityMembersOrderVo> list = equityMembersOrderService.selectEquityMembersOrderList(equityMembersOrder);
return getDataTable(list); return getDataTable(list);
} }
......
...@@ -32,6 +32,8 @@ public class IntegralLogController extends BaseController { ...@@ -32,6 +32,8 @@ public class IntegralLogController extends BaseController {
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(IntegralLogVo integralLog) { public TableDataInfo list(IntegralLogVo integralLog) {
startPage(); startPage();
SConsumer user = FrontTokenComponent.getWxSConsumerEntry();
integralLog.setConsumerId(user.getId());
List<IntegralLogVo> list = integralLogService.selectIntegralLogList(integralLog); List<IntegralLogVo> list = integralLogService.selectIntegralLogList(integralLog);
return getDataTable(list); return getDataTable(list);
} }
......
...@@ -32,6 +32,8 @@ public class MemberProgressLogController extends BaseController { ...@@ -32,6 +32,8 @@ public class MemberProgressLogController extends BaseController {
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(MemberProgressLogVo memberProgressLog) { public TableDataInfo list(MemberProgressLogVo memberProgressLog) {
startPage(); startPage();
SConsumer user = FrontTokenComponent.getWxSConsumerEntry();
memberProgressLog.setConsumerId(user.getId());
List<MemberProgressLogVo> list = memberProgressLogService.selectMemberProgressLogList(memberProgressLog); List<MemberProgressLogVo> list = memberProgressLogService.selectMemberProgressLogList(memberProgressLog);
return getDataTable(list); return getDataTable(list);
} }
......
...@@ -41,6 +41,8 @@ public class RechargeController extends BaseController { ...@@ -41,6 +41,8 @@ public class RechargeController extends BaseController {
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(RechargeVo recharge) { public TableDataInfo list(RechargeVo recharge) {
startPage(); startPage();
SConsumer user = FrontTokenComponent.getWxSConsumerEntry();
recharge.setConsumerId(user.getId());
List<RechargeVo> list = rechargeService.selectRechargeList(recharge); List<RechargeVo> list = rechargeService.selectRechargeList(recharge);
return getDataTable(list); return getDataTable(list);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment