Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_ht
Commits
16e4736a
Commit
16e4736a
authored
Sep 14, 2024
by
YG8429
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改小程序查询本人权益记录和上级用户权益记录
parent
ed0873bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
26 deletions
+13
-26
EquityFundLogController.java
.../share/web/controller/system/EquityFundLogController.java
+13
-26
No files found.
share-front/src/main/java/share/web/controller/system/EquityFundLogController.java
View file @
16e4736a
...
...
@@ -10,6 +10,9 @@ import share.common.core.page.TableDataInfo;
import
share.common.enums.BusinessType
;
import
share.common.utils.poi.ExcelUtil
;
import
share.system.domain.EquityFundLog
;
import
share.system.domain.SConsumer
;
import
share.system.domain.vo.DurationLogVo
;
import
share.system.domain.vo.FrontTokenComponent
;
import
share.system.service.EquityFundLogService
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -28,40 +31,24 @@ public class EquityFundLogController extends BaseController {
private
EquityFundLogService
equityFundLogService
;
/**
* 查询权益金记录列表
* 查询
本人
权益金记录列表
*/
@
Pos
tMapping
(
"/list"
)
@
Ge
tMapping
(
"/list"
)
public
TableDataInfo
list
(
EquityFundLog
equityFundLog
)
{
startPage
();
SConsumer
user
=
FrontTokenComponent
.
getWxSConsumerEntry
();
equityFundLog
.
setUid
(
user
.
getId
());
List
<
EquityFundLog
>
list
=
equityFundLogService
.
selectEquityFundLogList
(
equityFundLog
);
return
getDataTable
(
list
);
}
/**
* 获取权益金记录详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:equityFundLog:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
equityFundLogService
.
selectEquityFundLogById
(
id
));
}
/**
* 查询权益金记录列表
*/
// @PreAuthorize("@ss.hasPermi('system:equityFundLog:listUid')")
@GetMapping
(
"/listUid/{uid}"
)
public
TableDataInfo
equityFundLogListByUid
(
@PathVariable
(
"uid"
)
Long
uid
)
{
startPage
();
List
<
EquityFundLog
>
list
=
equityFundLogService
.
selectEquityFundLogByUid
(
uid
);
return
getDataTable
(
list
);
@GetMapping
(
"/query"
)
public
AjaxResult
query
(
EquityFundLog
equityFundLog
)
{
SConsumer
user
=
FrontTokenComponent
.
getWxSConsumerEntry
();
equityFundLog
.
setNewUid
(
user
.
getId
());
List
<
EquityFundLog
>
list
=
equityFundLogService
.
selectEquityFundLogList
(
equityFundLog
);
return
success
(
list
);
}
@GetMapping
(
"/listNewUid/{id}"
)
public
TableDataInfo
equityFundLogListByNewUid
(
@PathVariable
(
"id"
)
Long
id
)
{
startPage
();
List
<
EquityFundLog
>
list
=
equityFundLogService
.
selectEquityFundLogByNewUid
(
id
);
return
getDataTable
(
list
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment