Commit ea2eafda by 杨林龙

优化审核围栏查询显示

1 parent 51d68f0b
......@@ -121,7 +121,7 @@
shop.shop_level AS shopLevel,
tvd.created_by as createdBy,
app.remark as remark,
tef.fence_name as fenceName,
tvd.fence_name as fenceName,
tvd.biz_fence_type as fenceTypeId,
app.status as approvalStatus,
td.dict_label as approvalResult,
......@@ -130,12 +130,11 @@
tvd.fence_id as fenceId
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 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_user t6 ON t6.id = tvd.created_by
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'
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 tvd.id is not null
<if test="search.approvalStatus !=null and search.approvalStatus != ''">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!