Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7d20bb9f
authored
May 29, 2021
by
刘宇峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
特约店、围栏同步
1 parent
208800f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
src/main/resources/mapper/TrialDriveShopMapper.xml
src/main/resources/mapper/TrialDriveShopMapper.xml
View file @
7d20bb9
...
@@ -51,13 +51,13 @@
...
@@ -51,13 +51,13 @@
)
)
</if>
</if>
<if
test=
"area != null and area !=''"
>
<if
test=
"area != null and area !=''"
>
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{area})
;
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{area})
</if>
</if>
<if
test=
"province != null and province !=''"
>
<if
test=
"province != null and province !=''"
>
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{province})
;
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{province})
</if>
</if>
<if
test=
"city != null and city !=''"
>
<if
test=
"city != null and city !=''"
>
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{city})
;
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{city})
</if>
</if>
order by ttds.id desc
order by ttds.id desc
</select>
</select>
...
@@ -87,13 +87,13 @@
...
@@ -87,13 +87,13 @@
)
)
</if>
</if>
<if
test=
"area != null and area !=''"
>
<if
test=
"area != null and area !=''"
>
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{area})
;
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{area})
</if>
</if>
<if
test=
"province != null and province !=''"
>
<if
test=
"province != null and province !=''"
>
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{province})
;
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{province})
</if>
</if>
<if
test=
"city != null and city !=''"
>
<if
test=
"city != null and city !=''"
>
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{city})
;
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{city})
</if>
</if>
order by ttds.id desc
order by ttds.id desc
</select>
</select>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment