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
4ce1eda2
Commit
4ce1eda2
authored
Mar 19, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询
parent
46f8ddb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
+22
-4
MemFeedback.java
.../org/rcisoft/business/memFeedBack/entity/MemFeedback.java
+13
-0
MemFeedbackMapper.xml
.../mapper/business/memFeedBack/mapper/MemFeedbackMapper.xml
+9
-4
No files found.
src/main/java/org/rcisoft/business/memFeedBack/entity/MemFeedback.java
View file @
4ce1eda2
package
org
.
rcisoft
.
business
.
memFeedBack
.
entity
;
package
org
.
rcisoft
.
business
.
memFeedBack
.
entity
;
import
cn.afterturn.easypoi.excel.annotation.Excel
;
import
cn.afterturn.easypoi.excel.annotation.Excel
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.*
;
import
lombok.*
;
...
@@ -46,5 +47,17 @@ public class MemFeedback extends CyIdIncreEntity<MemFeedback> {
...
@@ -46,5 +47,17 @@ public class MemFeedback extends CyIdIncreEntity<MemFeedback> {
*/
*/
@Excel
(
name
=
"处理状态"
,
orderNum
=
"2"
,
width
=
20
)
@Excel
(
name
=
"处理状态"
,
orderNum
=
"2"
,
width
=
20
)
private
String
status
;
private
String
status
;
/*
* 用户昵称
*/
@TableField
(
exist
=
false
)
private
String
memNickname
;
/*
* 会员号
*/
@TableField
(
exist
=
false
)
private
String
memCode
;
}
}
src/main/resources/mapper/business/memFeedBack/mapper/MemFeedbackMapper.xml
View file @
4ce1eda2
...
@@ -36,15 +36,20 @@
...
@@ -36,15 +36,20 @@
</select>
</select>
<select
id=
"queryMemFeedbacksPaged"
resultMap=
"BaseResultMap"
>
<select
id=
"queryMemFeedbacksPaged"
resultMap=
"BaseResultMap"
>
select * from mem_feedback
select *, mi.mem_nick_name as memNickname, mi.mem_code as memCode
from mem_feedback mf
left join mem_info mi on mi.user_id = mf.create_by
where 1=1
where 1=1
and del_flag = '0'
and
mf.
del_flag = '0'
<if
test=
"entity.flag !=null and entity.flag != '' "
>
<if
test=
"entity.flag !=null and entity.flag != '' "
>
and flag = #{entity.flag}
and
mf.
flag = #{entity.flag}
</if>
</if>
<if
test=
"entity.feedbackType !=null and entity.feedbackType != '' "
>
<if
test=
"entity.feedbackType !=null and entity.feedbackType != '' "
>
and feedback_type like concat('%',#{entity.feedbackType},'%')
and feedback_type like concat('%',#{entity.feedbackType},'%')
</if>
</if>
<if
test=
"entity.memCode !=null and entity.memCode != '' "
>
and mi.mem_code like concat('%',#{entity.memCode},'%')
</if>
<if
test=
"entity.title !=null and entity.title != '' "
>
<if
test=
"entity.title !=null and entity.title != '' "
>
and title like concat('%',#{entity.title},'%')
and title like concat('%',#{entity.title},'%')
</if>
</if>
...
@@ -54,6 +59,6 @@
...
@@ -54,6 +59,6 @@
<if
test=
"entity.status !=null and entity.status != '' "
>
<if
test=
"entity.status !=null and entity.status != '' "
>
and status = #{entity.status}
and status = #{entity.status}
</if>
</if>
ORDER BY business_id DESC
ORDER BY
mf.
business_id DESC
</select>
</select>
</mapper>
</mapper>
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