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
437e4715
Commit
437e4715
authored
Sep 13, 2024
by
YG8429
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改小程序接口
parent
5c98c300
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
2 deletions
+22
-2
EquityFundLogController.java
.../share/web/controller/system/EquityFundLogController.java
+12
-2
EquityFundLogService.java
.../main/java/share/system/service/EquityFundLogService.java
+2
-0
EquityFundLogServiceImpl.java
...a/share/system/service/impl/EquityFundLogServiceImpl.java
+8
-0
No files found.
share-front/src/main/java/share/web/controller/system/EquityFundLogController.java
View file @
437e4715
...
@@ -30,8 +30,7 @@ public class EquityFundLogController extends BaseController {
...
@@ -30,8 +30,7 @@ public class EquityFundLogController extends BaseController {
/**
/**
* 查询权益金记录列表
* 查询权益金记录列表
*/
*/
@PreAuthorize
(
"@ss.hasPermi('system:equityFundLog:list')"
)
@PostMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
EquityFundLog
equityFundLog
)
{
public
TableDataInfo
list
(
EquityFundLog
equityFundLog
)
{
startPage
();
startPage
();
List
<
EquityFundLog
>
list
=
equityFundLogService
.
selectEquityFundLogList
(
equityFundLog
);
List
<
EquityFundLog
>
list
=
equityFundLogService
.
selectEquityFundLogList
(
equityFundLog
);
...
@@ -46,4 +45,15 @@ public class EquityFundLogController extends BaseController {
...
@@ -46,4 +45,15 @@ public class EquityFundLogController extends BaseController {
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
equityFundLogService
.
selectEquityFundLogById
(
id
));
return
success
(
equityFundLogService
.
selectEquityFundLogById
(
id
));
}
}
/**
* 查询权益金记录列表
*/
// @PreAuthorize("@ss.hasPermi('system:equityFundLog:listUid')")
@GetMapping
(
"/listUid"
)
public
TableDataInfo
equityFundLogListByUid
(
@PathVariable
(
"uid"
)
Long
uid
)
{
startPage
();
List
<
EquityFundLog
>
list
=
equityFundLogService
.
selectEquityFundLogByUid
(
uid
);
return
getDataTable
(
list
);
}
}
}
share-system/src/main/java/share/system/service/EquityFundLogService.java
View file @
437e4715
...
@@ -59,4 +59,6 @@ public interface EquityFundLogService extends IService<EquityFundLog>
...
@@ -59,4 +59,6 @@ public interface EquityFundLogService extends IService<EquityFundLog>
* @return 结果
* @return 结果
*/
*/
public
int
deleteEquityFundLogById
(
Long
id
);
public
int
deleteEquityFundLogById
(
Long
id
);
List
<
EquityFundLog
>
selectEquityFundLogByUid
(
Long
uid
);
}
}
share-system/src/main/java/share/system/service/impl/EquityFundLogServiceImpl.java
View file @
437e4715
package
share
.
system
.
service
.
impl
;
package
share
.
system
.
service
.
impl
;
import
java.util.List
;
import
java.util.List
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
share.common.utils.DateUtils
;
import
share.common.utils.DateUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -94,4 +96,10 @@ public class EquityFundLogServiceImpl extends ServiceImpl<EquityFundLogMapper, E
...
@@ -94,4 +96,10 @@ public class EquityFundLogServiceImpl extends ServiceImpl<EquityFundLogMapper, E
{
{
return
equityFundLogMapper
.
deleteEquityFundLogById
(
id
);
return
equityFundLogMapper
.
deleteEquityFundLogById
(
id
);
}
}
@Override
public
List
<
EquityFundLog
>
selectEquityFundLogByUid
(
Long
id
)
{
return
equityFundLogMapper
.
selectList
(
new
LambdaQueryWrapper
<
EquityFundLog
>().
eq
(
EquityFundLog:
:
getUid
,
id
));
}
}
}
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