Commit a78a7f33 authored by 赵啸非's avatar 赵啸非

修改根据业务查询部门逻辑

parent 49013ea0
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
LEFT JOIN mortals_sys_window w ON d.id = w.deptId LEFT JOIN mortals_sys_window w ON d.id = w.deptId
LEFT JOIN mortals_sys_window_business wb ON w.id = wb.windowId LEFT JOIN mortals_sys_window_business wb ON w.id = wb.windowId
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
where 1=1 and where wb.windowId is NOT null and
<trim prefixOverrides="and" prefix=""> <trim prefixOverrides="and" prefix="">
<if test="condition.containsKey('siteBusinessIdList')"> <if test="condition.containsKey('siteBusinessIdList')">
siteBusinessId in siteBusinessId in
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
LEFT JOIN mortals_sys_window w ON d.id = w.deptId LEFT JOIN mortals_sys_window w ON d.id = w.deptId
LEFT JOIN mortals_sys_window_business wb ON w.id = wb.windowId LEFT JOIN mortals_sys_window_business wb ON w.id = wb.windowId
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
where 1=1 and where wb.windowId is NOT null and
<trim prefixOverrides="and" prefix=""> <trim prefixOverrides="and" prefix="">
<if test="condition.containsKey('idList')"> <if test="condition.containsKey('idList')">
d.id in d.id in
......
...@@ -45,7 +45,7 @@ POST {{baseUrl}}/dept/getBusinessByDept ...@@ -45,7 +45,7 @@ POST {{baseUrl}}/dept/getBusinessByDept
Content-Type: application/json Content-Type: application/json
{ {
"idList":[414] "idList":[450]
} }
###部门查看 ###部门查看
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment