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
d25738fb
Commit
d25738fb
authored
Feb 25, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了意见反馈接口
parent
062ef9c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
MemFeedback.java
.../org/rcisoft/business/memFeedBack/entity/MemFeedback.java
+7
-0
MemFeedbackServiceImpl.java
...ness/memFeedBack/service/impl/MemFeedbackServiceImpl.java
+1
-0
MemFeedbackMapper.xml
.../mapper/business/memFeedBack/mapper/MemFeedbackMapper.xml
+3
-0
No files found.
src/main/java/org/rcisoft/business/memFeedBack/entity/MemFeedback.java
View file @
d25738fb
...
...
@@ -39,5 +39,12 @@ public class MemFeedback extends CyIdIncreEntity<MemFeedback> {
private
String
content
;
/**
* @desc 处理状态 1:已处理 0:未处理
* @column status
* @default
*/
@Excel
(
name
=
"处理状态"
,
orderNum
=
"2"
,
width
=
20
)
private
String
status
;
}
src/main/java/org/rcisoft/business/memFeedBack/service/impl/MemFeedbackServiceImpl.java
View file @
d25738fb
...
...
@@ -34,6 +34,7 @@ public class MemFeedbackServiceImpl extends ServiceImpl<MemFeedbackRepository, M
@Override
public
CyPersistModel
persist
(
MemFeedback
memFeedback
){
//增加操作
memFeedback
.
setStatus
(
"0"
);
int
line
=
baseMapper
.
insert
(
memFeedback
);
log
.
debug
(
CyUserUtil
.
getAuthenUsername
()+
"新增了ID为"
+
memFeedback
.
getBusinessId
()+
"的意见反馈信息"
);
...
...
src/main/resources/mapper/business/memFeedBack/mapper/MemFeedbackMapper.xml
View file @
d25738fb
...
...
@@ -51,6 +51,9 @@
<if
test=
"entity.content !=null and entity.content != '' "
>
and content like concat('%',#{entity.content},'%')
</if>
<if
test=
"entity.status !=null and entity.status != '' "
>
and status = #{entity.status}
</if>
ORDER BY business_id DESC
</select>
</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