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 ea2eafda
authored
Nov 10, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化审核围栏查询显示
1 parent
51d68f0b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/main/resources/mapper/ApprovalMapper.xml
src/main/resources/mapper/ApprovalMapper.xml
View file @
ea2eafd
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
shop.shop_level AS shopLevel,
shop.shop_level AS shopLevel,
tvd.created_by as createdBy,
tvd.created_by as createdBy,
app.remark as remark,
app.remark as remark,
t
ef
.fence_name as fenceName,
t
vd
.fence_name as fenceName,
tvd.biz_fence_type as fenceTypeId,
tvd.biz_fence_type as fenceTypeId,
app.status as approvalStatus,
app.status as approvalStatus,
td.dict_label as approvalResult,
td.dict_label as approvalResult,
...
@@ -130,12 +130,11 @@
...
@@ -130,12 +130,11 @@
tvd.fence_id as fenceId
tvd.fence_id as fenceId
from t_approval app
from t_approval app
left join t_electric_fence_copy tvd on app.biz_id = tvd.id and tvd.del_flag = 0
left join t_electric_fence_copy tvd on app.biz_id = tvd.id and tvd.del_flag = 0
left join t_electric_fence tef on tvd.fence_id=tef.id
left join t_trial_drive_shop shop on tvd.created_by=shop.created_by and shop.del_flag = 0
left join t_trial_drive_shop shop on tvd.created_by=shop.created_by and shop.del_flag = 0
LEFT JOIN t_user t6 ON t6.id = tvd.created_by
LEFT JOIN t_user t6 ON t6.id = tvd.created_by
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
and t6.del_flag = 0
and tvd.id is not null
and tvd.id is not null
<if
test=
"search.approvalStatus !=null and search.approvalStatus != ''"
>
<if
test=
"search.approvalStatus !=null and search.approvalStatus != ''"
>
...
...
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