Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-api
Project
Project
Details
Activity
Releases
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
李伟
cust-api
Commits
7ed6eef6
Commit
7ed6eef6
authored
Feb 25, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了金币流水查询bug
parent
8f587c24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
15 deletions
+8
-15
MemGoldCoinFlowServiceImpl.java
...GoldCoinFlow/service/impl/MemGoldCoinFlowServiceImpl.java
+1
-1
MemGoldCoinFlowMapper.xml
...business/memGoldCoinFlow.mapper/MemGoldCoinFlowMapper.xml
+7
-14
No files found.
src/main/java/org/rcisoft/business/memGoldCoinFlow/service/impl/MemGoldCoinFlowServiceImpl.java
View file @
7ed6eef6
...
@@ -128,7 +128,7 @@ public class MemGoldCoinFlowServiceImpl extends ServiceImpl<MemGoldCoinFlowRepos
...
@@ -128,7 +128,7 @@ public class MemGoldCoinFlowServiceImpl extends ServiceImpl<MemGoldCoinFlowRepos
return
baseMapper
.
appQueryMemGoldCoinFlowsPaged
(
paginationUtility
,
memGoldCoinFlow
);
return
baseMapper
.
appQueryMemGoldCoinFlowsPaged
(
paginationUtility
,
memGoldCoinFlow
);
}
else
{
}
else
{
//管理端
//管理端
return
baseMapper
.
queryMemGoldCoinFlowsPaged
(
paginationUtility
,
memGoldCoinFlow
);
return
baseMapper
.
queryMemGoldCoinFlowsPaged
(
paginationUtility
,
memGoldCoinFlow
);
}
}
}
}
...
...
src/main/resources/mapper/business/memGoldCoinFlow.mapper/MemGoldCoinFlowMapper.xml
View file @
7ed6eef6
...
@@ -53,30 +53,23 @@
...
@@ -53,30 +53,23 @@
left join sys_user su on su.business_id = mgcf.target_id
left join sys_user su on su.business_id = mgcf.target_id
where 1=1
where 1=1
and mgcf.del_flag = '0'
and mgcf.del_flag = '0'
and mgcf.create_by = #{entity.targetId}
<if
test=
"entity.beginTime !=null and entity.beginTime != '' "
>
<if
test=
"entity.beginTime !=null and entity.beginTime != '' "
>
and mgcf.create_date
>
= #{entity.beginTime}
and mgcf.create_date
>
= #{entity.beginTime}
</if>
</if>
<if
test=
"entity.endTime !=null and entity.endTime != '' "
>
<if
test=
"entity.endTime !=null and entity.endTime != '' "
>
and mgcf.create_date
<
= #{entity.endTime}
and mgcf.create_date
<
= #{entity.endTime}
</if>
</if>
<if
test=
"entity.flag !=null and entity.flag != '' "
>
<if
test=
"entity.targetId !=null and entity.targetId != '' "
>
and mgcf.flag = #{entity.flag}
and mgcf.create_by = #{entity.targetId}
</if>
<if
test=
"entity.orderId !=null"
>
and mgcf.order_id like concat('%',#{entity.orderId},'%')
</if>
</if>
<if
test=
"entity.type !=null and entity.type != '' "
>
<if
test=
"entity.type !=null and entity.type != '' "
>
and type = #{entity.type}
and
mgcf.
type = #{entity.type}
</if>
</if>
<if
test=
"entity.actionType !=null and entity.actionType != '' "
>
<if
test=
"entity.actionType !=null and entity.actionType != '' "
>
and action_type = #{entity.actionType}
and mgcf.action_type = #{entity.actionType}
</if>
<if
test=
"entity.count !=null and entity.count != '' "
>
and count = #{entity.count}
</if>
<if
test=
"entity.endCount !=null and entity.endCount != '' "
>
and end_count = #{entity.endCount}
</if>
<if
test=
"entity.orderId !=null and entity.orderId != '' "
>
and order_id = #{entity.orderId}
</if>
</if>
<if
test=
"entity.userNickName !=null and entity.userNickName != '' "
>
<if
test=
"entity.userNickName !=null and entity.userNickName != '' "
>
and su.nick_name like concat('%',#{entity.userNickName},'%')
and su.nick_name like concat('%',#{entity.userNickName},'%')
...
...
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