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 446c5b85
authored
Jun 01, 2021
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]试驾服务
1 parent
35f60216
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
src/main/resources/mapper/ApprovalMapper.xml
src/main/resources/mapper/VehicleDocMapper.xml
src/main/resources/mapper/ApprovalMapper.xml
View file @
446c5b8
...
@@ -95,6 +95,7 @@
...
@@ -95,6 +95,7 @@
t1.del_flag = 0
t1.del_flag = 0
and t5.status in (1,2,3)
and t5.status in (1,2,3)
and t5.biz_type=2
and t5.biz_type=2
and t6.del_flag = 0
and t5.id in(select max(id) from t_approval group by biz_id)
and t5.id in(select max(id) from t_approval group by biz_id)
<if
test=
"search.approvalStatus !=null and search.approvalStatus != ''"
>
<if
test=
"search.approvalStatus !=null and search.approvalStatus != ''"
>
and t5.status=#{search.approvalStatus}
and t5.status=#{search.approvalStatus}
...
@@ -132,6 +133,7 @@
...
@@ -132,6 +133,7 @@
left join t_dict_data td on app.status=td.dict_value
left join t_dict_data td on app.status=td.dict_value
where app.del_flag = 0 and app.status in (1,2,3) and td.dict_type='approval_status'
where app.del_flag = 0 and app.status in (1,2,3) and td.dict_type='approval_status'
AND APP.biz_type=1 and t6.username is not null
AND APP.biz_type=1 and t6.username is not null
and t6.del_flag = 0
<if
test=
"search.approvalStatus !=null and search.approvalStatus != ''"
>
<if
test=
"search.approvalStatus !=null and search.approvalStatus != ''"
>
and app.status=#{search.approvalStatus}
and app.status=#{search.approvalStatus}
</if>
</if>
...
...
src/main/resources/mapper/VehicleDocMapper.xml
View file @
446c5b8
...
@@ -64,6 +64,7 @@
...
@@ -64,6 +64,7 @@
WHERE
WHERE
t1.del_flag = 0
t1.del_flag = 0
and t6.username is not null
and t6.username is not null
and t6.del_flag = 0
<if
test=
"search.approvalStatus !=null and search.approvalStatus != ''"
>
<if
test=
"search.approvalStatus !=null and search.approvalStatus != ''"
>
and t5.status=#{search.approvalStatus}
and t5.status=#{search.approvalStatus}
</if>
</if>
...
...
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