Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
platform
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
王琮
platform
Commits
cc7de6e1
Commit
cc7de6e1
authored
Jun 20, 2023
by
赵桢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改%查询全部问题
parent
d4f818d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Questionnaire.xml
src/main/resources/mapper/Questionnaire.xml
+4
-4
No files found.
src/main/resources/mapper/Questionnaire.xml
View file @
cc7de6e1
...
@@ -228,8 +228,8 @@
...
@@ -228,8 +228,8 @@
<if
test=
"qnYear != null and qnYear != ''"
>
<!-- 年份 -->
<if
test=
"qnYear != null and qnYear != ''"
>
<!-- 年份 -->
AND t_record.qn_year = #{qnYear}
AND t_record.qn_year = #{qnYear}
</if>
</if>
<if
test=
"createBy != null
and createBy != ''"
>
<!-- 众创空间名称 --
>
<if
test=
"createBy != null
and createBy != ''"
>
AND t_record.create_by LIKE CONCAT('%', #{createBy},
'%')
and create_by like concat('%',replace(#{createBy},'%','\%'),
'%')
</if>
</if>
ORDER BY
ORDER BY
<if
test=
"sorting != null and sorting != ''"
>
<if
test=
"sorting != null and sorting != ''"
>
...
@@ -1039,8 +1039,8 @@
...
@@ -1039,8 +1039,8 @@
create_id as 'createId'
create_id as 'createId'
from t_record
from t_record
<where>
<where>
<if
test=
"createBy != null and createBy != ''"
>
<if
test=
"createBy != null
and createBy != ''"
>
AND create_by like concat(concat('%',#{createBy},'%')
)
and create_by like concat('%',replace(#{createBy},'%','\%'),'%'
)
</if>
</if>
<if
test=
"processStatus != null"
>
<!-- 问卷状态 -->
<if
test=
"processStatus != null"
>
<!-- 问卷状态 -->
AND process_status = #{processStatus}
AND process_status = #{processStatus}
...
...
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