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
71a9eee6
Commit
71a9eee6
authored
Jul 04, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志增加用户信息
parent
4e69ec0f
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
243 additions
and
84 deletions
+243
-84
BalanceLogController.java
...ava/share/web/controller/system/BalanceLogController.java
+6
-5
DurationLogController.java
...va/share/web/controller/system/DurationLogController.java
+6
-5
IntegralLogController.java
...va/share/web/controller/system/IntegralLogController.java
+6
-5
MemberProgressLogController.java
...re/web/controller/system/MemberProgressLogController.java
+6
-5
BalanceLogController.java
...ava/share/web/controller/system/BalanceLogController.java
+6
-5
DurationLogController.java
...va/share/web/controller/system/DurationLogController.java
+6
-5
EquityMembersOrderController.java
...e/web/controller/system/EquityMembersOrderController.java
+0
-1
IntegralLogController.java
...va/share/web/controller/system/IntegralLogController.java
+6
-5
RechargeController.java
.../java/share/web/controller/system/RechargeController.java
+0
-1
DurationLog.java
...system/src/main/java/share/system/domain/DurationLog.java
+2
-0
BalanceLogVo.java
...em/src/main/java/share/system/domain/vo/BalanceLogVo.java
+13
-0
DurationLogVo.java
...m/src/main/java/share/system/domain/vo/DurationLogVo.java
+13
-0
IntegralLogVo.java
...m/src/main/java/share/system/domain/vo/IntegralLogVo.java
+13
-0
MemberProgressLogVo.java
...main/java/share/system/domain/vo/MemberProgressLogVo.java
+13
-0
BalanceLogMapper.java
...m/src/main/java/share/system/mapper/BalanceLogMapper.java
+2
-1
DurationLogMapper.java
.../src/main/java/share/system/mapper/DurationLogMapper.java
+2
-1
IntegralLogMapper.java
.../src/main/java/share/system/mapper/IntegralLogMapper.java
+2
-1
MemberProgressLogMapper.java
...ain/java/share/system/mapper/MemberProgressLogMapper.java
+2
-1
BalanceLogService.java
...src/main/java/share/system/service/BalanceLogService.java
+2
-1
DurationLogService.java
...rc/main/java/share/system/service/DurationLogService.java
+2
-1
IntegralLogService.java
...rc/main/java/share/system/service/IntegralLogService.java
+2
-1
MemberProgressLogService.java
...n/java/share/system/service/MemberProgressLogService.java
+2
-1
BalanceLogServiceImpl.java
...java/share/system/service/impl/BalanceLogServiceImpl.java
+2
-1
DurationLogServiceImpl.java
...ava/share/system/service/impl/DurationLogServiceImpl.java
+2
-1
IntegralLogServiceImpl.java
...ava/share/system/service/impl/IntegralLogServiceImpl.java
+2
-1
MemberProgressLogServiceImpl.java
...are/system/service/impl/MemberProgressLogServiceImpl.java
+2
-1
BalanceLogMapper.xml
...tem/src/main/resources/mapper/system/BalanceLogMapper.xml
+31
-9
DurationLogMapper.xml
...em/src/main/resources/mapper/system/DurationLogMapper.xml
+31
-9
IntegralLogMapper.xml
...em/src/main/resources/mapper/system/IntegralLogMapper.xml
+30
-8
MemberProgressLogMapper.xml
.../main/resources/mapper/system/MemberProgressLogMapper.xml
+31
-9
No files found.
share-admin/src/main/java/share/web/controller/system/BalanceLogController.java
View file @
71a9eee6
...
...
@@ -10,6 +10,7 @@ import share.common.core.page.TableDataInfo;
import
share.common.enums.BusinessType
;
import
share.common.utils.poi.ExcelUtil
;
import
share.system.domain.BalanceLog
;
import
share.system.domain.vo.BalanceLogVo
;
import
share.system.service.BalanceLogService
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -32,9 +33,9 @@ public class BalanceLogController extends BaseController {
*/
@PreAuthorize
(
"@ss.hasPermi('system:balanceLog:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
BalanceLog
balanceLog
)
{
public
TableDataInfo
list
(
BalanceLog
Vo
balanceLog
)
{
startPage
();
List
<
BalanceLog
>
list
=
balanceLogService
.
selectBalanceLogList
(
balanceLog
);
List
<
BalanceLog
Vo
>
list
=
balanceLogService
.
selectBalanceLogList
(
balanceLog
);
return
getDataTable
(
list
);
}
...
...
@@ -44,9 +45,9 @@ public class BalanceLogController extends BaseController {
@PreAuthorize
(
"@ss.hasPermi('system:balanceLog:export')"
)
@Log
(
title
=
"余额日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
BalanceLog
balanceLog
)
{
List
<
BalanceLog
>
list
=
balanceLogService
.
selectBalanceLogList
(
balanceLog
);
ExcelUtil
<
BalanceLog
>
util
=
new
ExcelUtil
<
BalanceLog
>(
BalanceLog
.
class
);
public
void
export
(
HttpServletResponse
response
,
BalanceLog
Vo
balanceLog
)
{
List
<
BalanceLog
Vo
>
list
=
balanceLogService
.
selectBalanceLogList
(
balanceLog
);
ExcelUtil
<
BalanceLog
Vo
>
util
=
new
ExcelUtil
<
BalanceLogVo
>(
BalanceLogVo
.
class
);
util
.
exportExcel
(
response
,
list
,
"余额日志数据"
);
}
...
...
share-admin/src/main/java/share/web/controller/system/DurationLogController.java
View file @
71a9eee6
...
...
@@ -10,6 +10,7 @@ import share.common.core.page.TableDataInfo;
import
share.common.enums.BusinessType
;
import
share.common.utils.poi.ExcelUtil
;
import
share.system.domain.DurationLog
;
import
share.system.domain.vo.DurationLogVo
;
import
share.system.service.DurationLogService
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -32,9 +33,9 @@ public class DurationLogController extends BaseController {
*/
@PreAuthorize
(
"@ss.hasPermi('system:durationLog:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
DurationLog
durationLog
)
{
public
TableDataInfo
list
(
DurationLog
Vo
durationLog
)
{
startPage
();
List
<
DurationLog
>
list
=
durationLogService
.
selectDurationLogList
(
durationLog
);
List
<
DurationLog
Vo
>
list
=
durationLogService
.
selectDurationLogList
(
durationLog
);
return
getDataTable
(
list
);
}
...
...
@@ -44,9 +45,9 @@ public class DurationLogController extends BaseController {
@PreAuthorize
(
"@ss.hasPermi('system:durationLog:export')"
)
@Log
(
title
=
"时长日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
DurationLog
durationLog
)
{
List
<
DurationLog
>
list
=
durationLogService
.
selectDurationLogList
(
durationLog
);
ExcelUtil
<
DurationLog
>
util
=
new
ExcelUtil
<
DurationLog
>(
DurationLog
.
class
);
public
void
export
(
HttpServletResponse
response
,
DurationLog
Vo
durationLog
)
{
List
<
DurationLog
Vo
>
list
=
durationLogService
.
selectDurationLogList
(
durationLog
);
ExcelUtil
<
DurationLog
Vo
>
util
=
new
ExcelUtil
<
DurationLogVo
>(
DurationLogVo
.
class
);
util
.
exportExcel
(
response
,
list
,
"时长日志数据"
);
}
...
...
share-admin/src/main/java/share/web/controller/system/IntegralLogController.java
View file @
71a9eee6
...
...
@@ -10,6 +10,7 @@ import share.common.core.page.TableDataInfo;
import
share.common.enums.BusinessType
;
import
share.common.utils.poi.ExcelUtil
;
import
share.system.domain.IntegralLog
;
import
share.system.domain.vo.IntegralLogVo
;
import
share.system.service.IntegralLogService
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -32,9 +33,9 @@ public class IntegralLogController extends BaseController {
*/
@PreAuthorize
(
"@ss.hasPermi('system:integralLog:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
IntegralLog
integralLog
)
{
public
TableDataInfo
list
(
IntegralLog
Vo
integralLog
)
{
startPage
();
List
<
IntegralLog
>
list
=
integralLogService
.
selectIntegralLogList
(
integralLog
);
List
<
IntegralLog
Vo
>
list
=
integralLogService
.
selectIntegralLogList
(
integralLog
);
return
getDataTable
(
list
);
}
...
...
@@ -44,9 +45,9 @@ public class IntegralLogController extends BaseController {
@PreAuthorize
(
"@ss.hasPermi('system:integralLog:export')"
)
@Log
(
title
=
"积分日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
IntegralLog
integralLog
)
{
List
<
IntegralLog
>
list
=
integralLogService
.
selectIntegralLogList
(
integralLog
);
ExcelUtil
<
IntegralLog
>
util
=
new
ExcelUtil
<
IntegralLog
>(
IntegralLog
.
class
);
public
void
export
(
HttpServletResponse
response
,
IntegralLog
Vo
integralLog
)
{
List
<
IntegralLog
Vo
>
list
=
integralLogService
.
selectIntegralLogList
(
integralLog
);
ExcelUtil
<
IntegralLog
Vo
>
util
=
new
ExcelUtil
<
IntegralLogVo
>(
IntegralLogVo
.
class
);
util
.
exportExcel
(
response
,
list
,
"积分日志数据"
);
}
...
...
share-admin/src/main/java/share/web/controller/system/MemberProgressLogController.java
View file @
71a9eee6
...
...
@@ -10,6 +10,7 @@ import share.common.core.page.TableDataInfo;
import
share.common.enums.BusinessType
;
import
share.common.utils.poi.ExcelUtil
;
import
share.system.domain.MemberProgressLog
;
import
share.system.domain.vo.MemberProgressLogVo
;
import
share.system.service.MemberProgressLogService
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -32,9 +33,9 @@ public class MemberProgressLogController extends BaseController {
*/
@PreAuthorize
(
"@ss.hasPermi('system:memberProgressLog:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
MemberProgressLog
memberProgressLog
)
{
public
TableDataInfo
list
(
MemberProgressLog
Vo
memberProgressLog
)
{
startPage
();
List
<
MemberProgressLog
>
list
=
memberProgressLogService
.
selectMemberProgressLogList
(
memberProgressLog
);
List
<
MemberProgressLog
Vo
>
list
=
memberProgressLogService
.
selectMemberProgressLogList
(
memberProgressLog
);
return
getDataTable
(
list
);
}
...
...
@@ -44,9 +45,9 @@ public class MemberProgressLogController extends BaseController {
@PreAuthorize
(
"@ss.hasPermi('system:memberProgressLog:export')"
)
@Log
(
title
=
"会员进度日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
MemberProgressLog
memberProgressLog
)
{
List
<
MemberProgressLog
>
list
=
memberProgressLogService
.
selectMemberProgressLogList
(
memberProgressLog
);
ExcelUtil
<
MemberProgressLog
>
util
=
new
ExcelUtil
<
MemberProgressLog
>(
MemberProgressLog
.
class
);
public
void
export
(
HttpServletResponse
response
,
MemberProgressLog
Vo
memberProgressLog
)
{
List
<
MemberProgressLog
Vo
>
list
=
memberProgressLogService
.
selectMemberProgressLogList
(
memberProgressLog
);
ExcelUtil
<
MemberProgressLog
Vo
>
util
=
new
ExcelUtil
<
MemberProgressLogVo
>(
MemberProgressLogVo
.
class
);
util
.
exportExcel
(
response
,
list
,
"会员进度日志数据"
);
}
...
...
share-front/src/main/java/share/web/controller/system/BalanceLogController.java
View file @
71a9eee6
...
...
@@ -9,6 +9,7 @@ import share.common.core.page.TableDataInfo;
import
share.common.enums.BusinessType
;
import
share.common.utils.poi.ExcelUtil
;
import
share.system.domain.BalanceLog
;
import
share.system.domain.vo.BalanceLogVo
;
import
share.system.service.BalanceLogService
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -30,9 +31,9 @@ public class BalanceLogController extends BaseController {
* 查询余额日志列表
*/
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
BalanceLog
balanceLog
)
{
public
TableDataInfo
list
(
BalanceLog
Vo
balanceLog
)
{
startPage
();
List
<
BalanceLog
>
list
=
balanceLogService
.
selectBalanceLogList
(
balanceLog
);
List
<
BalanceLog
Vo
>
list
=
balanceLogService
.
selectBalanceLogList
(
balanceLog
);
return
getDataTable
(
list
);
}
...
...
@@ -41,9 +42,9 @@ public class BalanceLogController extends BaseController {
*/
@Log
(
title
=
"余额日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
BalanceLog
balanceLog
)
{
List
<
BalanceLog
>
list
=
balanceLogService
.
selectBalanceLogList
(
balanceLog
);
ExcelUtil
<
BalanceLog
>
util
=
new
ExcelUtil
<
BalanceLog
>(
BalanceLog
.
class
);
public
void
export
(
HttpServletResponse
response
,
BalanceLog
Vo
balanceLog
)
{
List
<
BalanceLog
Vo
>
list
=
balanceLogService
.
selectBalanceLogList
(
balanceLog
);
ExcelUtil
<
BalanceLog
Vo
>
util
=
new
ExcelUtil
<
BalanceLogVo
>(
BalanceLogVo
.
class
);
util
.
exportExcel
(
response
,
list
,
"余额日志数据"
);
}
...
...
share-front/src/main/java/share/web/controller/system/DurationLogController.java
View file @
71a9eee6
...
...
@@ -9,6 +9,7 @@ import share.common.core.page.TableDataInfo;
import
share.common.enums.BusinessType
;
import
share.common.utils.poi.ExcelUtil
;
import
share.system.domain.DurationLog
;
import
share.system.domain.vo.DurationLogVo
;
import
share.system.service.DurationLogService
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -30,9 +31,9 @@ public class DurationLogController extends BaseController {
* 查询时长日志列表
*/
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
DurationLog
durationLog
)
{
public
TableDataInfo
list
(
DurationLog
Vo
durationLog
)
{
startPage
();
List
<
DurationLog
>
list
=
durationLogService
.
selectDurationLogList
(
durationLog
);
List
<
DurationLog
Vo
>
list
=
durationLogService
.
selectDurationLogList
(
durationLog
);
return
getDataTable
(
list
);
}
...
...
@@ -41,9 +42,9 @@ public class DurationLogController extends BaseController {
*/
@Log
(
title
=
"时长日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
DurationLog
durationLog
)
{
List
<
DurationLog
>
list
=
durationLogService
.
selectDurationLogList
(
durationLog
);
ExcelUtil
<
DurationLog
>
util
=
new
ExcelUtil
<
DurationLog
>(
DurationLog
.
class
);
public
void
export
(
HttpServletResponse
response
,
DurationLog
Vo
durationLog
)
{
List
<
DurationLog
Vo
>
list
=
durationLogService
.
selectDurationLogList
(
durationLog
);
ExcelUtil
<
DurationLog
Vo
>
util
=
new
ExcelUtil
<
DurationLogVo
>(
DurationLogVo
.
class
);
util
.
exportExcel
(
response
,
list
,
"时长日志数据"
);
}
...
...
share-front/src/main/java/share/web/controller/system/EquityMembersOrderController.java
View file @
71a9eee6
...
...
@@ -93,7 +93,6 @@ public class EquityMembersOrderController extends BaseController {
return
toAjax
(
equityMembersOrderService
.
deleteEquityMembersOrderByIds
(
ids
));
}
@Log
(
title
=
"权益会员下单"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
(
"/createEquityMembers"
)
public
R
<
RechargePayResultResponse
>
createOrder
(
@RequestBody
@Validated
CreateEquityMembersRequest
request
)
{
if
(
"1"
.
equals
(
redisUtil
.
frontInOutLogSwitch
()))
{
...
...
share-front/src/main/java/share/web/controller/system/IntegralLogController.java
View file @
71a9eee6
...
...
@@ -9,6 +9,7 @@ import share.common.core.page.TableDataInfo;
import
share.common.enums.BusinessType
;
import
share.common.utils.poi.ExcelUtil
;
import
share.system.domain.IntegralLog
;
import
share.system.domain.vo.IntegralLogVo
;
import
share.system.service.IntegralLogService
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -30,9 +31,9 @@ public class IntegralLogController extends BaseController {
* 查询积分日志列表
*/
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
IntegralLog
integralLog
)
{
public
TableDataInfo
list
(
IntegralLog
Vo
integralLog
)
{
startPage
();
List
<
IntegralLog
>
list
=
integralLogService
.
selectIntegralLogList
(
integralLog
);
List
<
IntegralLog
Vo
>
list
=
integralLogService
.
selectIntegralLogList
(
integralLog
);
return
getDataTable
(
list
);
}
...
...
@@ -41,9 +42,9 @@ public class IntegralLogController extends BaseController {
*/
@Log
(
title
=
"积分日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
IntegralLog
integralLog
)
{
List
<
IntegralLog
>
list
=
integralLogService
.
selectIntegralLogList
(
integralLog
);
ExcelUtil
<
IntegralLog
>
util
=
new
ExcelUtil
<
IntegralLog
>(
IntegralLog
.
class
);
public
void
export
(
HttpServletResponse
response
,
IntegralLog
Vo
integralLog
)
{
List
<
IntegralLog
Vo
>
list
=
integralLogService
.
selectIntegralLogList
(
integralLog
);
ExcelUtil
<
IntegralLog
Vo
>
util
=
new
ExcelUtil
<
IntegralLogVo
>(
IntegralLogVo
.
class
);
util
.
exportExcel
(
response
,
list
,
"积分日志数据"
);
}
...
...
share-front/src/main/java/share/web/controller/system/RechargeController.java
View file @
71a9eee6
...
...
@@ -92,7 +92,6 @@ public class RechargeController extends BaseController {
return
toAjax
(
rechargeService
.
deleteRechargeByIds
(
ids
));
}
@Log
(
title
=
"充值下单"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
(
"/createRecharge"
)
public
R
<
RechargePayResultResponse
>
createOrder
(
@RequestBody
@Validated
CreateRechargeRequest
request
)
{
if
(
"1"
.
equals
(
redisUtil
.
frontInOutLogSwitch
()))
{
...
...
share-system/src/main/java/share/system/domain/DurationLog.java
View file @
71a9eee6
...
...
@@ -2,6 +2,7 @@ package share.system.domain;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
...
...
@@ -19,6 +20,7 @@ import java.util.Date;
* @date 2024-06-24
*/
@Data
@TableName
(
value
=
"s_duration_log"
)
public
class
DurationLog
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
share-system/src/main/java/share/system/domain/vo/BalanceLogVo.java
0 → 100644
View file @
71a9eee6
package
share
.
system
.
domain
.
vo
;
import
lombok.Data
;
import
share.system.domain.BalanceLog
;
@Data
public
class
BalanceLogVo
extends
BalanceLog
{
private
String
nickName
;
private
String
avatar
;
private
String
phone
;
}
share-system/src/main/java/share/system/domain/vo/DurationLogVo.java
0 → 100644
View file @
71a9eee6
package
share
.
system
.
domain
.
vo
;
import
lombok.Data
;
import
share.system.domain.DurationLog
;
@Data
public
class
DurationLogVo
extends
DurationLog
{
private
String
nickName
;
private
String
avatar
;
private
String
phone
;
}
share-system/src/main/java/share/system/domain/vo/IntegralLogVo.java
0 → 100644
View file @
71a9eee6
package
share
.
system
.
domain
.
vo
;
import
lombok.Data
;
import
share.system.domain.IntegralLog
;
@Data
public
class
IntegralLogVo
extends
IntegralLog
{
private
String
nickName
;
private
String
avatar
;
private
String
phone
;
}
share-system/src/main/java/share/system/domain/vo/MemberProgressLogVo.java
0 → 100644
View file @
71a9eee6
package
share
.
system
.
domain
.
vo
;
import
lombok.Data
;
import
share.system.domain.MemberProgressLog
;
@Data
public
class
MemberProgressLogVo
extends
MemberProgressLog
{
private
String
nickName
;
private
String
avatar
;
private
String
phone
;
}
share-system/src/main/java/share/system/mapper/BalanceLogMapper.java
View file @
71a9eee6
...
...
@@ -2,6 +2,7 @@ package share.system.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
share.system.domain.BalanceLog
;
import
share.system.domain.vo.BalanceLogVo
;
import
java.util.List
;
...
...
@@ -26,7 +27,7 @@ public interface BalanceLogMapper extends BaseMapper<BalanceLog> {
* @param balanceLog 余额日志
* @return 余额日志集合
*/
public
List
<
BalanceLog
>
selectBalanceLogList
(
BalanceLog
balanceLog
);
public
List
<
BalanceLog
Vo
>
selectBalanceLogList
(
BalanceLogVo
balanceLog
);
/**
* 新增余额日志
...
...
share-system/src/main/java/share/system/mapper/DurationLogMapper.java
View file @
71a9eee6
...
...
@@ -2,6 +2,7 @@ package share.system.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
share.system.domain.DurationLog
;
import
share.system.domain.vo.DurationLogVo
;
import
java.util.List
;
...
...
@@ -26,7 +27,7 @@ public interface DurationLogMapper extends BaseMapper<DurationLog> {
* @param durationLog 时长日志
* @return 时长日志集合
*/
public
List
<
DurationLog
>
selectDurationLogList
(
DurationLog
durationLog
);
public
List
<
DurationLog
Vo
>
selectDurationLogList
(
DurationLogVo
durationLog
);
/**
* 新增时长日志
...
...
share-system/src/main/java/share/system/mapper/IntegralLogMapper.java
View file @
71a9eee6
...
...
@@ -2,6 +2,7 @@ package share.system.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
share.system.domain.IntegralLog
;
import
share.system.domain.vo.IntegralLogVo
;
import
java.util.List
;
...
...
@@ -26,7 +27,7 @@ public interface IntegralLogMapper extends BaseMapper<IntegralLog> {
* @param integralLog 积分日志
* @return 积分日志集合
*/
public
List
<
IntegralLog
>
selectIntegralLogList
(
IntegralLog
integralLog
);
public
List
<
IntegralLog
Vo
>
selectIntegralLogList
(
IntegralLogVo
integralLog
);
/**
* 新增积分日志
...
...
share-system/src/main/java/share/system/mapper/MemberProgressLogMapper.java
View file @
71a9eee6
...
...
@@ -2,6 +2,7 @@ package share.system.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
share.system.domain.MemberProgressLog
;
import
share.system.domain.vo.MemberProgressLogVo
;
import
java.util.List
;
...
...
@@ -26,7 +27,7 @@ public interface MemberProgressLogMapper extends BaseMapper<MemberProgressLog> {
* @param memberProgressLog 会员进度日志
* @return 会员进度日志集合
*/
public
List
<
MemberProgressLog
>
selectMemberProgressLogList
(
MemberProgressLog
memberProgressLog
);
public
List
<
MemberProgressLog
Vo
>
selectMemberProgressLogList
(
MemberProgressLogVo
memberProgressLog
);
/**
* 新增会员进度日志
...
...
share-system/src/main/java/share/system/service/BalanceLogService.java
View file @
71a9eee6
...
...
@@ -2,6 +2,7 @@ package share.system.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
share.system.domain.BalanceLog
;
import
share.system.domain.vo.BalanceLogVo
;
import
java.util.List
;
...
...
@@ -26,7 +27,7 @@ public interface BalanceLogService extends IService<BalanceLog> {
* @param balanceLog 余额日志
* @return 余额日志集合
*/
public
List
<
BalanceLog
>
selectBalanceLogList
(
BalanceLog
balanceLog
);
public
List
<
BalanceLog
Vo
>
selectBalanceLogList
(
BalanceLogVo
balanceLog
);
/**
* 新增余额日志
...
...
share-system/src/main/java/share/system/service/DurationLogService.java
View file @
71a9eee6
...
...
@@ -2,6 +2,7 @@ package share.system.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
share.system.domain.DurationLog
;
import
share.system.domain.vo.DurationLogVo
;
import
java.util.List
;
...
...
@@ -26,7 +27,7 @@ public interface DurationLogService extends IService<DurationLog> {
* @param durationLog 时长日志
* @return 时长日志集合
*/
public
List
<
DurationLog
>
selectDurationLogList
(
DurationLog
durationLog
);
public
List
<
DurationLog
Vo
>
selectDurationLogList
(
DurationLogVo
durationLog
);
/**
* 新增时长日志
...
...
share-system/src/main/java/share/system/service/IntegralLogService.java
View file @
71a9eee6
...
...
@@ -2,6 +2,7 @@ package share.system.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
share.system.domain.IntegralLog
;
import
share.system.domain.vo.IntegralLogVo
;
import
java.util.List
;
...
...
@@ -26,7 +27,7 @@ public interface IntegralLogService extends IService<IntegralLog> {
* @param integralLog 积分日志
* @return 积分日志集合
*/
public
List
<
IntegralLog
>
selectIntegralLogList
(
IntegralLog
integralLog
);
public
List
<
IntegralLog
Vo
>
selectIntegralLogList
(
IntegralLogVo
integralLog
);
/**
* 新增积分日志
...
...
share-system/src/main/java/share/system/service/MemberProgressLogService.java
View file @
71a9eee6
...
...
@@ -2,6 +2,7 @@ package share.system.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
share.system.domain.MemberProgressLog
;
import
share.system.domain.vo.MemberProgressLogVo
;
import
java.util.List
;
...
...
@@ -26,7 +27,7 @@ public interface MemberProgressLogService extends IService<MemberProgressLog> {
* @param memberProgressLog 会员进度日志
* @return 会员进度日志集合
*/
public
List
<
MemberProgressLog
>
selectMemberProgressLogList
(
MemberProgressLog
memberProgressLog
);
public
List
<
MemberProgressLog
Vo
>
selectMemberProgressLogList
(
MemberProgressLogVo
memberProgressLog
);
/**
* 新增会员进度日志
...
...
share-system/src/main/java/share/system/service/impl/BalanceLogServiceImpl.java
View file @
71a9eee6
...
...
@@ -5,6 +5,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
share.common.utils.DateUtils
;
import
share.system.domain.BalanceLog
;
import
share.system.domain.vo.BalanceLogVo
;
import
share.system.mapper.BalanceLogMapper
;
import
share.system.service.BalanceLogService
;
...
...
@@ -39,7 +40,7 @@ public class BalanceLogServiceImpl extends ServiceImpl<BalanceLogMapper, Balance
* @return 余额日志
*/
@Override
public
List
<
BalanceLog
>
selectBalanceLogList
(
BalanceLog
balanceLog
)
{
public
List
<
BalanceLog
Vo
>
selectBalanceLogList
(
BalanceLogVo
balanceLog
)
{
return
balanceLogMapper
.
selectBalanceLogList
(
balanceLog
);
}
...
...
share-system/src/main/java/share/system/service/impl/DurationLogServiceImpl.java
View file @
71a9eee6
...
...
@@ -5,6 +5,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
share.common.utils.DateUtils
;
import
share.system.domain.DurationLog
;
import
share.system.domain.vo.DurationLogVo
;
import
share.system.mapper.DurationLogMapper
;
import
share.system.service.DurationLogService
;
...
...
@@ -39,7 +40,7 @@ public class DurationLogServiceImpl extends ServiceImpl<DurationLogMapper, Durat
* @return 时长日志
*/
@Override
public
List
<
DurationLog
>
selectDurationLogList
(
DurationLog
durationLog
)
{
public
List
<
DurationLog
Vo
>
selectDurationLogList
(
DurationLogVo
durationLog
)
{
return
durationLogMapper
.
selectDurationLogList
(
durationLog
);
}
...
...
share-system/src/main/java/share/system/service/impl/IntegralLogServiceImpl.java
View file @
71a9eee6
...
...
@@ -5,6 +5,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
share.common.utils.DateUtils
;
import
share.system.domain.IntegralLog
;
import
share.system.domain.vo.IntegralLogVo
;
import
share.system.mapper.IntegralLogMapper
;
import
share.system.service.IntegralLogService
;
...
...
@@ -39,7 +40,7 @@ public class IntegralLogServiceImpl extends ServiceImpl<IntegralLogMapper, Integ
* @return 积分日志
*/
@Override
public
List
<
IntegralLog
>
selectIntegralLogList
(
IntegralLog
integralLog
)
{
public
List
<
IntegralLog
Vo
>
selectIntegralLogList
(
IntegralLogVo
integralLog
)
{
return
integralLogMapper
.
selectIntegralLogList
(
integralLog
);
}
...
...
share-system/src/main/java/share/system/service/impl/MemberProgressLogServiceImpl.java
View file @
71a9eee6
...
...
@@ -5,6 +5,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
share.common.utils.DateUtils
;
import
share.system.domain.MemberProgressLog
;
import
share.system.domain.vo.MemberProgressLogVo
;
import
share.system.mapper.MemberProgressLogMapper
;
import
share.system.service.MemberProgressLogService
;
...
...
@@ -39,7 +40,7 @@ public class MemberProgressLogServiceImpl extends ServiceImpl<MemberProgressLogM
* @return 会员进度日志
*/
@Override
public
List
<
MemberProgressLog
>
selectMemberProgressLogList
(
MemberProgressLog
memberProgressLog
)
{
public
List
<
MemberProgressLog
Vo
>
selectMemberProgressLogList
(
MemberProgressLogVo
memberProgressLog
)
{
return
memberProgressLogMapper
.
selectMemberProgressLogList
(
memberProgressLog
);
}
...
...
share-system/src/main/resources/mapper/system/BalanceLogMapper.xml
View file @
71a9eee6
...
...
@@ -4,9 +4,12 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"share.system.mapper.BalanceLogMapper"
>
<resultMap
type=
"BalanceLog"
id=
"BalanceLogResult"
>
<resultMap
type=
"BalanceLog
Vo
"
id=
"BalanceLogResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"consumerId"
column=
"consumer_id"
/>
<result
property=
"nickName"
column=
"nick_name"
/>
<result
property=
"phone"
column=
"phone"
/>
<result
property=
"avatar"
column=
"avatar"
/>
<result
property=
"variableAmount"
column=
"variable_amount"
/>
<result
property=
"currentBalance"
column=
"current_balance"
/>
<result
property=
"operationType"
column=
"operation_type"
/>
...
...
@@ -35,15 +38,34 @@
from s_balance_log
</sql>
<select
id=
"selectBalanceLogList"
parameterType=
"BalanceLog"
resultMap=
"BalanceLogResult"
>
<include
refid=
"selectBalanceLogVo"
/>
<select
id=
"selectBalanceLogList"
parameterType=
"BalanceLogVo"
resultMap=
"BalanceLogResult"
>
select b.id,
b.consumer_id,
c.nick_name,
c.phone,
c.avatar,
b.variable_amount,
b.current_balance,
b.operation_type,
b.operation_time,
b. is_delete,
b. create_by,
b. create_time,
b. update_by,
b.update_time,
b. remark
from s_balance_log b join s_consumer c on b.consumer_id = c.id
<where>
<if
test=
"consumerId != null "
>
and consumer_id = #{consumerId}
</if>
<if
test=
"variableAmount != null "
>
and variable_amount = #{variableAmount}
</if>
<if
test=
"currentBalance != null "
>
and current_balance = #{currentBalance}
</if>
<if
test=
"operationType != null "
>
and operation_type = #{operationType}
</if>
<if
test=
"operationTime != null "
>
and operation_time = #{operationTime}
</if>
<if
test=
"isDelete != null "
>
and is_delete = #{isDelete}
</if>
<if
test=
"nickName != null and nickName != ''"
>
and c.nick_name like concat('%', #{nickName},'%')
</if>
<if
test=
"phone != null and phone != ''"
>
and c.phone like concat('%', #{phone},'%')
</if>
<if
test=
"consumerId != null "
>
and b.consumer_id = #{consumerId}
</if>
<if
test=
"variableAmount != null "
>
and b.variable_amount = #{variableAmount}
</if>
<if
test=
"currentBalance != null "
>
and b.current_balance = #{currentBalance}
</if>
<if
test=
"operationType != null "
>
and b.operation_type = #{operationType}
</if>
<if
test=
"operationTime != null "
>
and b.operation_time = #{operationTime}
</if>
<if
test=
"isDelete != null "
>
and b.is_delete = #{isDelete}
</if>
</where>
</select>
...
...
share-system/src/main/resources/mapper/system/DurationLogMapper.xml
View file @
71a9eee6
...
...
@@ -4,9 +4,12 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"share.system.mapper.DurationLogMapper"
>
<resultMap
type=
"DurationLog"
id=
"DurationLogResult"
>
<resultMap
type=
"DurationLog
Vo
"
id=
"DurationLogResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"consumerId"
column=
"consumer_id"
/>
<result
property=
"nickName"
column=
"nick_name"
/>
<result
property=
"phone"
column=
"phone"
/>
<result
property=
"avatar"
column=
"avatar"
/>
<result
property=
"variableDuration"
column=
"variable_duration"
/>
<result
property=
"currentDuration"
column=
"current_duration"
/>
<result
property=
"operationType"
column=
"operation_type"
/>
...
...
@@ -35,15 +38,34 @@
from s_duration_log
</sql>
<select
id=
"selectDurationLogList"
parameterType=
"DurationLog"
resultMap=
"DurationLogResult"
>
<include
refid=
"selectDurationLogVo"
/>
<select
id=
"selectDurationLogList"
parameterType=
"DurationLogVo"
resultMap=
"DurationLogResult"
>
select d.id,
d.consumer_id,
c.nick_name,
c.phone,
c.avatar,
d.variable_duration,
d.current_duration,
d.operation_type,
d.operation_time,
d.is_delete,
d.create_by,
d.create_time,
d.update_by,
d.update_time,
d.remark
from s_duration_log d join s_consumer c on d.consumer_id = c.id
<where>
<if
test=
"consumerId != null "
>
and consumer_id = #{consumerId}
</if>
<if
test=
"variableDuration != null "
>
and variable_duration = #{variableDuration}
</if>
<if
test=
"currentDuration != null "
>
and current_duration = #{currentDuration}
</if>
<if
test=
"operationType != null "
>
and operation_type = #{operationType}
</if>
<if
test=
"operationTime != null "
>
and operation_time = #{operationTime}
</if>
<if
test=
"isDelete != null "
>
and is_delete = #{isDelete}
</if>
<if
test=
"nickName != null and nickName != ''"
>
and c.nick_name like concat('%', #{nickName},'%')
</if>
<if
test=
"phone != null and phone != ''"
>
and c.phone like concat('%', #{phone},'%')
</if>
<if
test=
"consumerId != null "
>
and d.consumer_id = #{consumerId}
</if>
<if
test=
"variableDuration != null "
>
and d.variable_duration = #{variableDuration}
</if>
<if
test=
"currentDuration != null "
>
and d.current_duration = #{currentDuration}
</if>
<if
test=
"operationType != null "
>
and d.operation_type = #{operationType}
</if>
<if
test=
"operationTime != null "
>
and d.operation_time = #{operationTime}
</if>
<if
test=
"isDelete != null "
>
and d.is_delete = #{isDelete}
</if>
</where>
</select>
...
...
share-system/src/main/resources/mapper/system/IntegralLogMapper.xml
View file @
71a9eee6
...
...
@@ -4,9 +4,12 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"share.system.mapper.IntegralLogMapper"
>
<resultMap
type=
"IntegralLog"
id=
"IntegralLogResult"
>
<resultMap
type=
"IntegralLog
Vo
"
id=
"IntegralLogResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"consumerId"
column=
"consumer_id"
/>
<result
property=
"nickName"
column=
"nick_name"
/>
<result
property=
"phone"
column=
"phone"
/>
<result
property=
"avatar"
column=
"avatar"
/>
<result
property=
"variableIntegral"
column=
"variable_integral"
/>
<result
property=
"currentIntegral"
column=
"current_integral"
/>
<result
property=
"operationType"
column=
"operation_type"
/>
...
...
@@ -36,14 +39,33 @@
</sql>
<select
id=
"selectIntegralLogList"
parameterType=
"IntegralLog"
resultMap=
"IntegralLogResult"
>
<include
refid=
"selectIntegralLogVo"
/>
select i.id,
i. consumer_id,
c.nick_name,
c.phone,
c.avatar,
i.variable_integral,
i.current_integral,
i.operation_type,
i.operation_time,
i.is_delete,
i.create_by,
i.create_time,
i.update_by,
i.update_time,
i.remark
from s_integral_log i join s_consumer c on i.consumer_id = c.id
<where>
<if
test=
"consumerId != null "
>
and consumer_id = #{consumerId}
</if>
<if
test=
"variableIntegral != null "
>
and variable_integral = #{variableIntegral}
</if>
<if
test=
"currentIntegral != null "
>
and current_integral = #{currentIntegral}
</if>
<if
test=
"operationType != null "
>
and operation_type = #{operationType}
</if>
<if
test=
"operationTime != null "
>
and operation_time = #{operationTime}
</if>
<if
test=
"isDelete != null "
>
and is_delete = #{isDelete}
</if>
<if
test=
"nickName != null and nickName != ''"
>
and c.nick_name like concat('%', #{nickName},'%')
</if>
<if
test=
"phone != null and phone != ''"
>
and c.phone like concat('%', #{phone},'%')
</if>
<if
test=
"consumerId != null "
>
and i.consumer_id = #{consumerId}
</if>
<if
test=
"variableIntegral != null "
>
and i.variable_integral = #{variableIntegral}
</if>
<if
test=
"currentIntegral != null "
>
and i.current_integral = #{currentIntegral}
</if>
<if
test=
"operationType != null "
>
and i.operation_type = #{operationType}
</if>
<if
test=
"operationTime != null "
>
and i.operation_time = #{operationTime}
</if>
<if
test=
"isDelete != null "
>
and i.is_delete = #{isDelete}
</if>
</where>
</select>
...
...
share-system/src/main/resources/mapper/system/MemberProgressLogMapper.xml
View file @
71a9eee6
...
...
@@ -4,9 +4,12 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"share.system.mapper.MemberProgressLogMapper"
>
<resultMap
type=
"MemberProgressLog"
id=
"MemberProgressLogResult"
>
<resultMap
type=
"MemberProgressLog
Vo
"
id=
"MemberProgressLogResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"consumerId"
column=
"consumer_id"
/>
<result
property=
"nickName"
column=
"nick_name"
/>
<result
property=
"phone"
column=
"phone"
/>
<result
property=
"avatar"
column=
"avatar"
/>
<result
property=
"variableProgress"
column=
"variable_progress"
/>
<result
property=
"currentProgress"
column=
"current_progress"
/>
<result
property=
"operationType"
column=
"operation_type"
/>
...
...
@@ -35,15 +38,34 @@
from s_member_progress_log
</sql>
<select
id=
"selectMemberProgressLogList"
parameterType=
"MemberProgressLog"
resultMap=
"MemberProgressLogResult"
>
<include
refid=
"selectMemberProgressLogVo"
/>
<select
id=
"selectMemberProgressLogList"
parameterType=
"MemberProgressLogVo"
resultMap=
"MemberProgressLogResult"
>
select m.id,
m.consumer_id,
c.nick_name,
c.phone,
c.avatar,
m.variable_progress,
m.current_progress,
m.operation_type,
m.operation_time,
m.is_delete,
m.create_by,
m.create_time,
m.update_by,
m.update_time,
m.remark
from s_member_progress_log m join s_consumer c on m.consumer_id = c.id
<where>
<if
test=
"consumerId != null "
>
and consumer_id = #{consumerId}
</if>
<if
test=
"variableProgress != null "
>
and variable_progress = #{variableProgress}
</if>
<if
test=
"currentProgress != null "
>
and current_progress = #{currentProgress}
</if>
<if
test=
"operationType != null "
>
and operation_type = #{operationType}
</if>
<if
test=
"operationTime != null "
>
and operation_time = #{operationTime}
</if>
<if
test=
"isDelete != null "
>
and is_delete = #{isDelete}
</if>
<if
test=
"nickName != null and nickName != ''"
>
and c.nick_name like concat('%', #{nickName},'%')
</if>
<if
test=
"phone != null and phone != ''"
>
and c.phone like concat('%', #{phone},'%')
</if>
<if
test=
"consumerId != null "
>
and m.consumer_id = #{consumerId}
</if>
<if
test=
"variableProgress != null "
>
and m.variable_progress = #{variableProgress}
</if>
<if
test=
"currentProgress != null "
>
and m.current_progress = #{currentProgress}
</if>
<if
test=
"operationType != null "
>
and m.operation_type = #{operationType}
</if>
<if
test=
"operationTime != null "
>
and m.operation_time = #{operationTime}
</if>
<if
test=
"isDelete != null "
>
and m.is_delete = #{isDelete}
</if>
</where>
</select>
...
...
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