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
8e8147df
Commit
8e8147df
authored
Feb 15, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询
parent
3d214e9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
MemTraffic.java
...va/org/rcisoft/business/memTraffic/entity/MemTraffic.java
+5
-0
MemTrafficMapper.xml
...es/mapper/business/memTraffic/mapper/MemTrafficMapper.xml
+4
-0
No files found.
src/main/java/org/rcisoft/business/memTraffic/entity/MemTraffic.java
View file @
8e8147df
...
...
@@ -77,5 +77,10 @@ public class MemTraffic extends CyIdNotDataEntity<MemTraffic> {
@TableField
(
exist
=
false
)
private
BigInteger
totalMemTraffic
;
/**
* 用户编号
*/
@TableField
(
exist
=
false
)
private
BigInteger
memCode
;
}
src/main/resources/mapper/business/memTraffic/mapper/MemTrafficMapper.xml
View file @
8e8147df
...
...
@@ -31,8 +31,12 @@
mem_traffic mt
LEFT JOIN
sys_user su ON mt.user_id = su.business_id
left join mem_info mi on mt.user_id = mi.user_id
WHERE
1=1
<if
test=
"entity.memCode !=null and entity.memCode != '' "
>
AND mi.mem_code = #{entity.memCode}
</if>
<if
test=
"entity.nickName !=null and entity.nickName != '' "
>
AND su.nick_name LIKE CONCAT('%', #{entity.nickName}, '%')
</if>
...
...
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