Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-evaluate
Overview
Overview
Details
Activity
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
base_platform_enterprise
gic-evaluate
Commits
3d9e9cd5
Commit
3d9e9cd5
authored
Aug 31, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
投诉建议查询加上企业id
parent
d0c18887
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
31 deletions
+28
-31
TabProblemMapper.xml
...te-service/src/main/resources/mapper/TabProblemMapper.xml
+28
-31
No files found.
gic-evaluate-service/src/main/resources/mapper/TabProblemMapper.xml
View file @
3d9e9cd5
...
@@ -275,38 +275,35 @@
...
@@ -275,38 +275,35 @@
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from tab_problem where enterprise_id = #{enterpriseId}
from tab_problem where enterprise_id = #{enterpriseId}
<where>
<if
test=
"null != problemIds and problemIds.length > 0"
>
<if
test=
"null != problemIds and problemIds.length > 0"
>
and problem_id in
and problem_id in
<foreach
close=
")"
collection=
"problemIds"
index=
"index"
item=
"item"
open=
"("
separator=
","
>
<foreach
close=
")"
collection=
"problemIds"
index=
"index"
item=
"item"
open=
"("
separator=
","
>
#{item}
#{item}
</foreach>
</foreach>
</if>
</if>
<if
test=
"null != storeIdList and storeIdList.size > 0"
>
<if
test=
"null != storeIdList and storeIdList.size > 0"
>
and store_id in
and store_id in
<foreach
close=
")"
collection=
"storeIdList"
index=
"index"
item=
"item"
open=
"("
separator=
","
>
<foreach
close=
")"
collection=
"storeIdList"
index=
"index"
item=
"item"
open=
"("
separator=
","
>
#{item}
#{item}
</foreach>
</foreach>
</if>
<if
test=
"search != null and search != '' "
>
and (
member_name like concat('%', #{search}, '%')
or member_phone like concat('%', #{search}, '%')
or store_name like concat('%', #{search}, '%')
or problem_content like concat('%', #{search}, '%')
)
</if>
<if
test=
"problemStatus != null "
>
and problem_status = #{problemStatus}
</if>
<if
test=
"startTime != null and startTime != '' "
>
and create_time
>
= #{startTime}
</if>
<if
test=
"endTime != null and endTime != '' "
>
and create_time
<
= #{endTime}
</if>
</if>
<if
test=
"search != null and search != '' "
>
and (
member_name like concat('%', #{search}, '%')
or member_phone like concat('%', #{search}, '%')
or store_name like concat('%', #{search}, '%')
or problem_content like concat('%', #{search}, '%')
)
</if>
<if
test=
"problemStatus != null "
>
and problem_status = #{problemStatus}
</if>
<if
test=
"startTime != null and startTime != '' "
>
and create_time
>
= #{startTime}
</if>
<if
test=
"endTime != null and endTime != '' "
>
and create_time
<
= #{endTime}
</if>
</where>
order by create_time desc
order by create_time desc
</select>
</select>
<select
id=
"countProblem"
resultType=
"int"
>
<select
id=
"countProblem"
resultType=
"int"
>
...
...
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