余额记录修改
This commit is contained in:
parent
e5b0fe5102
commit
080be5ac18
|
|
@ -88,10 +88,10 @@ public class UShopUserController {
|
|||
*/
|
||||
@GetMapping("/moneyRecord")
|
||||
public CzgResult<Page<ShopUserFlowInfoVO>> getMoneyRecord(@RequestParam Long shopId) {
|
||||
return CzgResult.success(shopUserFlowService.pageAs(PageUtil.buildPage(), new QueryWrapper().eq(ShopUserFlow::getShopId, shopId)
|
||||
return CzgResult.success(shopUserFlowService.pageAs(PageUtil.buildPage(), new MyQueryWrapper().eq(ShopUserFlow::getShopId, shopId)
|
||||
.selectAll(ShopUserFlow.class)
|
||||
.eq(ShopUserFlow::getUserId, StpKit.USER.getLoginIdAsLong()).leftJoin(ShopInfo.class).on(ShopUserFlow::getShopId, ShopInfo::getId)
|
||||
.select(ShopInfo::getShopName)
|
||||
.select(ShopUserFlow::getUserId, ShopUserFlow::getAmount, ShopUserFlow::getBizCode, ShopUserFlow::getRemark)
|
||||
.orderBy(ShopUserFlow::getId, false), ShopUserFlowInfoVO.class));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue